code point

This commit is contained in:
CHIEFSOFT\ameye
2025-01-21 13:13:47 -05:00
parent 00d7277139
commit aec13f9d7a
+32
View File
@@ -851,6 +851,38 @@ def subscription_start(current_user):
myproduct_data = []
return jsonify(myproduct_data=myproduct_data)
@app.route("/panel/settings")
def test_settings():
settings_data = {
"external_links": [
{
"facebook": "" ,
"twitter": "" ,
"google": "" ,
"other_web": "" ,
"linkedin": "" ,
}
],
"personal": [
{
"firstname": "" ,
"lastname": "",
"phone": "",
"email": "",
"account_name": "",
"country": "",
"username": "",
"address": "",
"state": "",
"city": "",
"postal_code": ""
},
],
}
return jsonify(settings_data=settings_data)
def myproduct_detail(member_id ,product_id):
FIND_PRODUCT= "SELECT uid,product_id,name,description,banner,status FROM products WHERE product_id='"+product_id+"'"
with connection: