9af4935a by 周伟奇

open upload

1 parent 7b3eb559
......@@ -416,8 +416,7 @@ class Command(BaseCommand, LoggerMixin):
else:
try:
# 5.上传至EDMS
# self.edms.upload(excel_path, doc, business_type)
print('upload pass')
self.edms.upload(excel_path, doc, business_type)
except Exception as e:
doc.status = DocStatus.UPLOAD_FAILED.value
doc.save()
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!