Commit 43867c56 by xuxu

字段名调整

parent 4bf1ef4f
......@@ -32,7 +32,7 @@ def phone(app):
ent_company_mobile_sql='insert into ent_company_mobile (\
server_id, \
mobile, \
enterprise ) values ("%s","%s","%s")'\
company_name ) values ("%s","%s","%s")'\
%(id,phone,company)
getData(ent_company_mobile_sql)
if True:
......
......@@ -53,8 +53,8 @@ def recommend_function(select_data):
for product_item in product_result_data:
data = {
"id":product_item['product_id'],
"name":product_item['product'],
"describe":product_item['product_describe'],
"name":product_item['product_name'],
"describe":product_item['product_description'],
"price":product_item['product_price']
}
product_result.append(data)
......@@ -66,8 +66,8 @@ def recommend_function(select_data):
for product_item in product_result_data:
data = {
"id":product_item['product_id'],
"name":product_item['product'],
"describe":product_item['product_describe'],
"name":product_item['product_name'],
"describe":product_item['product_description'],
"price":product_item['product_price']
}
product_result.append(data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment