dongchangxi 9 months ago
parent
commit
071e95f9ce
  1. 3
      tools/cal_weight.py

3
tools/cal_weight.py

@ -148,6 +148,9 @@ def main(action, pid, sizes,orderId=0): @@ -148,6 +148,9 @@ def main(action, pid, sizes,orderId=0):
res = requests.post(url,data=arrParams)
print('res:', res.text)
#删除目录
shutil.rmtree(os.path.join(config.workdir, action, pid))
if __name__ == '__main__':
sizes = (90, 120, 150, 180)

Loading…
Cancel
Save