918035ec by 周伟奇

wb rebuild off

1 parent 9ef3c37d
...@@ -168,8 +168,8 @@ class Command(BaseCommand, LoggerMixin): ...@@ -168,8 +168,8 @@ class Command(BaseCommand, LoggerMixin):
168 # loop.close() 168 # loop.close()
169 169
170 # 整合excel文件 170 # 整合excel文件
171 wb.save(src_excel_path) 171 # wb.save(src_excel_path)
172 wb.rebuild(role_summary) 172 # wb.rebuild(role_summary)
173 wb.save(excel_path) 173 wb.save(excel_path)
174 except Exception as e: 174 except Exception as e:
175 doc.status = DocStatus.PROCESS_FAILED.value 175 doc.status = DocStatus.PROCESS_FAILED.value
......
...@@ -88,8 +88,10 @@ priority_doc_args = { ...@@ -88,8 +88,10 @@ priority_doc_args = {
88 88
89 89
90 class UploadDocView(GenericView, DocHandler): 90 class UploadDocView(GenericView, DocHandler):
91 permission_classes = [IsAuthenticated] 91 permission_classes = []
92 authentication_classes = [OAuth2AuthenticationWithUser] 92 authentication_classes = []
93 # permission_classes = [IsAuthenticated]
94 # authentication_classes = [OAuth2AuthenticationWithUser]
93 # required_scopes = ['write'] 95 # required_scopes = ['write']
94 96
95 # 上传(接收)文件接口 97 # 上传(接收)文件接口
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!