My product data
This commit is contained in:
@@ -12,6 +12,7 @@ from app.api.services import (
|
||||
CustomerConsentService,
|
||||
NotificationCallbackService,
|
||||
AuthorizationService,
|
||||
MyProductsService,
|
||||
)
|
||||
from app.utils.logger import logger
|
||||
from app.api.middlewares import enforce_json, require_auth
|
||||
@@ -116,6 +117,25 @@ def merms_products():
|
||||
return response
|
||||
|
||||
|
||||
# Health Check Endpoint
|
||||
@api.route("/panel/myproduct/dash", methods=["POST"])
|
||||
def myproduct_dash():
|
||||
data = request.get_json()
|
||||
response = MyProductsService.process_request(data)
|
||||
return response
|
||||
|
||||
|
||||
# Health Check Endpoint
|
||||
@api.route("/test", methods=["GET"])
|
||||
def test_check():
|
||||
|
||||
data = {"uid": "ok", "token":"jjjfjfjfjfjjf"}
|
||||
logger.info(f"Member Actions Error: {action_data}")
|
||||
response = AccountService.process_action_request(data)
|
||||
#response = ProductsService.process_request(data)
|
||||
return {"status": "ok"}, 200
|
||||
|
||||
|
||||
# # EligibilityCheck Endpoint
|
||||
# @api.route("/EligibilityCheck", methods=["POST"])
|
||||
# @jwt_required()
|
||||
|
||||
Reference in New Issue
Block a user