|
@@ -39,9 +39,9 @@ def getAttachDealInterface(_data,_type,path="",restry=1,kwargs={},url=interface_
|
|
|
_json.update(kwargs)
|
|
|
|
|
|
|
|
|
- _json["timeout"] = timeout+100
|
|
|
+ _json["timeout"] = timeout
|
|
|
with requests.Session() as sess:
|
|
|
- _resp = sess.post(url,data=_json,timeout=timeout)
|
|
|
+ _resp = sess.post(url,data=_json,timeout=timeout+100)
|
|
|
|
|
|
if _resp.status_code==200:
|
|
|
_result = json.loads(_resp.content.decode())
|