Commit 28f9f414fc345e761571d7e1501834185b5fb4da

Authored by lixi
1 parent feb3f321

1

testcase/hg/createTradingOrder/test_createTradingOrder.py
@@ -27,9 +27,9 @@ if len(cmd_list)!=0: @@ -27,9 +27,9 @@ if len(cmd_list)!=0:
27 # print("请求次数{}".format(cmd_list[2])) 27 # print("请求次数{}".format(cmd_list[2]))
28 28
29 29
30 -if data!="None": 30 +if d!="None":
31 for i in range(int(cmd_list[1])): 31 for i in range(int(cmd_list[1])):
32 - body = data 32 + body = d
33 print("创建订单body",body) 33 print("创建订单body",body)
34 re = hg.post(url = create.url, headers = create.header, json = body) 34 re = hg.post(url = create.url, headers = create.header, json = body)
35 print(re.json()) 35 print(re.json())