Commit 373d812a authored by xupeng's avatar xupeng

审核结算状态修改

parent 5c7d300e
......@@ -552,7 +552,7 @@ def GuildSettlementAdd(db, data):
first_sta = 1
try:
url = "http://106.55.103.148:8787/api/guild/editSettlementLog"
json = {'id': guild_data.work_id, 'status': 2}
json = {'id': guild_data.work_id, 'status': 1}
res = requests.post(url=url, json=json)
if res.status_code != 200:
return 400, {"msg": "业务请求失败"}
......@@ -571,7 +571,7 @@ def GuildSettlementAdd(db, data):
if guild_data.status == 1:
try:
url = "http://106.55.103.148:8787/api/guild/editSettlementLog"
json = {'id': guild_data.work_id, 'status': 1}
json = {'id': guild_data.work_id, 'status': 2}
res = requests.post(url=url, json=json)
if res.status_code != 200:
return 400, {"msg": "业务请求失败"}
......
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