code point
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user