web contents
This commit is contained in:
@@ -4,18 +4,11 @@ from app.api.services import (
|
||||
RegisterService,
|
||||
AccountService,
|
||||
ProductsService,
|
||||
EligibilityCheckService,
|
||||
SelectOfferService,
|
||||
ProvideLoanService,
|
||||
LoanStatusService,
|
||||
RepaymentService,
|
||||
CustomerConsentService,
|
||||
NotificationCallbackService,
|
||||
AuthorizationService,
|
||||
MyProductsService,
|
||||
ContactService,
|
||||
OfficeAuthService,
|
||||
OfficeDashboardService
|
||||
OfficeDashboardService, WebContentsService
|
||||
)
|
||||
from app.utils.logger import logger
|
||||
from app.api.middlewares import enforce_json, require_auth
|
||||
@@ -199,7 +192,7 @@ def mycalendar_dash():
|
||||
def test_check():
|
||||
|
||||
data = {"uid": "ok", "token":"jjjfjfjfjfjjf"}
|
||||
logger.info(f"Member Actions Error: {action_data}")
|
||||
logger.info(f"Member Actions Error: {data}")
|
||||
response = AccountService.process_action_request(data)
|
||||
#response = ProductsService.process_request(data)
|
||||
return {"status": "ok"}, 200
|
||||
@@ -244,7 +237,14 @@ def get_subscription_office():
|
||||
|
||||
|
||||
#=====================================================
|
||||
@api.route('/web/contents', methods=['GET'])
|
||||
# @token_required
|
||||
def get_web_contents():
|
||||
# Call the dashboard service
|
||||
result = WebContentsService.get_web_contents_data()
|
||||
return jsonify(result)
|
||||
|
||||
#===================================================
|
||||
# # EligibilityCheck Endpoint
|
||||
# @api.route("/EligibilityCheck", methods=["POST"])
|
||||
# @jwt_required()
|
||||
|
||||
Reference in New Issue
Block a user