My product data

This commit is contained in:
CHIEFSOFT\ameye
2025-06-29 21:13:35 -04:00
parent 56405531d8
commit 7778b3ce20
4 changed files with 117 additions and 2 deletions
+20
View File
@@ -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()