Commit fca4d96f authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent d29594bd
......@@ -32,7 +32,8 @@ result = json.loads(result.content)
super_random = random.randint(0, len(result["data"]["list"]) - 1)
# 获取超发配置信息
strsQuery = result["data"]["list"][super_random]["productCode"]
materialCode = result["data"]["list"][super_random]["materialCode"]
materialCode = (result["data"]["list"][super_random]["materialCode"] if result["data"]["list"][super_random][
"materialCode"] else "")
productLineCode = (result["data"]["list"][super_random]["productLineCode"] if result["data"]["list"][super_random][
"productLineCode"] else "")
......
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