init xiaoxiang project
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import json
|
||||
from newsetting import All_Setting
|
||||
tent2 = All_Setting(host='183.6.7.91', port=33016, db='tk_test')
|
||||
sql3 = f"SELECT show_contents FROM product_data"
|
||||
result = tent2.get_shoppingmalls(sql3)
|
||||
print(result)
|
||||
for i in result:
|
||||
da23 = i[0]
|
||||
print(da23)
|
||||
|
||||
with open('a11.json','r',encoding='utf-8') as f:
|
||||
data_json=json.load(f)
|
||||
print(data_json)
|
||||
Reference in New Issue
Block a user