Commit 08dc74cb authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent 4a774e58
......@@ -35,10 +35,8 @@ request_body = commonFuc().get_business_data(module, "payload5")
# 发送请求
result = requests.post(url, json=request_body, headers=headers)
result = json.loads(result.content)
# print(result)
# 获取分类数量
result = {"total": len(result["data"]["list"])}
# 获取缺货商品数量
result = {"total": result["data"]["total"]}
# 数据库操作
mysql_handle = mySql()
# 获取conf.ini文件中配置的数据库信息
......
Supports Markdown
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