add to config file
This commit is contained in:
@@ -23,6 +23,7 @@ from app.config import Config
|
||||
|
||||
|
||||
class MyProductsService(BaseService):
|
||||
START_URL_PATTERN = Config.START_URL_PATTERN
|
||||
|
||||
@staticmethod
|
||||
def process_provision_actions(data):
|
||||
@@ -219,9 +220,7 @@ class MyProductsService(BaseService):
|
||||
}
|
||||
return ResponseHelper.success(data=response_data)
|
||||
|
||||
internal_url = str(random.randint(100000, 999999)) + ".devprov.mermsemr.com"
|
||||
# INSERT_NEW_PRODUCT = "INSERT INTO members_products (member_id ,product_id,status,internal_url) VALUES (%s, %s, %s, %s)"
|
||||
# val_insert = (member_id, product_id,6,internal_url)
|
||||
internal_url = str(random.randint(100000, 999999)) + MyProductsService.START_URL_PATTERN # ".devprov.mermsemr.com"
|
||||
status = 6
|
||||
subscription = MembersProducts.create_subscription(member_id, product_id, status, internal_url)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user