init xiaoxiang project

This commit is contained in:
2026-04-15 18:12:30 +08:00
commit f539f1bece
160 changed files with 981970 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import json
import newsetting
tent = newsetting.All_Setting('183.6.7.91',33016,'tk_test')
sql = """
select * from category_detail_log where created_at > '2026-3-29'
"""
a1 = tent.get_shoppingmalls(sql)
for index,b in enumerate(a1):
with open(f'./down/data_{index}.json','w',encoding='utf-8') as f:
f.write(str(b))