Commit 8bd7c2434422cc8b43dbaf0477998f5ea23eb21f
1 parent
892f2078
修改hd
Showing
2 changed files
with
1 additions
and
2 deletions
commons/MySession.py
... | ... | @@ -176,7 +176,7 @@ class mysession(requests.Session): |
176 | 176 | if "UAP_refreshToken" in kwargs["headers"].keys(): |
177 | 177 | kwargs["headers"]["UAP_refreshToken"] = self.re.json()["data"]["refreshToken"] |
178 | 178 | if "UAP_firmId" in kwargs["headers"].keys(): |
179 | - kwargs["headers"]["UAP_firmId"] = self.re.json()["data"]["user"]["firmId"] | |
179 | + kwargs["headers"]["UAP_firmId"] = str(self.re.json()["data"]["user"]["firmId"]) | |
180 | 180 | if "Host" in kwargs["headers"].keys(): |
181 | 181 | kwargs["headers"]["Host"]=host |
182 | 182 | log.info("{}\n{}\n".format(url, kwargs)) | ... | ... |
testcase/hg/tradingOrder/test_listFixedPaid.py