Commit 68742fef authored by liguangyu06's avatar liguangyu06
Browse files

用例新增:优化

parent 99ec4d96
......@@ -37,7 +37,7 @@ request_body = commonFuc().get_business_data(module, "payload15")
# 发送请求
result = requests.post(url, json=request_body, headers=headers)
result = json.loads(result.content)
print(result)
# 生成随机数
set_random = random.randint(0, len(result["data"]["list"]) - 1)
# 获取补货设置信息
......
......@@ -10,7 +10,6 @@ from common.common_func import commonFuc
from air_case.cmdc_login.多采商城登录.多采商城登录 import CmdcMaiiLogin
import random
import requests
import datetime
import json
module = "cmdc_trade"
......
Supports Markdown
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