Commit de5c4ba9 by 李杨杨

三方平台返回400时对重发服务响应200

1 parent ad851a9a
This file is too large to display.
......@@ -809,7 +809,15 @@ def recv_data():
detail = 'unreachable'
else:
thrid_code = status_code
try:
detail = json.loads(message)['Detail']
except:
detail = ''
if thrid_code == 400:
thrid_code = 200
detail = 'thrid_code:400, ' + detail
result.setdefault('code', thrid_code)
result.setdefault('message', detail)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!