subscription layer
This commit is contained in:
@@ -8,7 +8,9 @@ from app.api.services import (
|
||||
MyProductsService,
|
||||
ContactService,
|
||||
OfficeAuthService,
|
||||
OfficeDashboardService, WebContentsService
|
||||
OfficeDashboardService,
|
||||
WebContentsService,
|
||||
SubscriptionService
|
||||
)
|
||||
from app.utils.logger import logger
|
||||
from app.api.middlewares import enforce_json, require_auth
|
||||
@@ -183,6 +185,12 @@ def myproduct_settings_values():
|
||||
response = MyProductsService.process_settings_values(data)
|
||||
return response
|
||||
|
||||
@api.route("/panel/subscription/products", methods=["POST"])
|
||||
def subscription_products():
|
||||
data = request.get_json()
|
||||
logger.info(f"Route Subscription Product Data ==>>>> {data}")
|
||||
response = SubscriptionService.subscription_available_products(data)
|
||||
return response
|
||||
|
||||
|
||||
# /panel/myproduct/subscription
|
||||
|
||||
Reference in New Issue
Block a user