a89c8e28 by 冯轩

MOD:bug

1 parent fe02ac2d
......@@ -1895,12 +1895,12 @@ class GoView(GenericView):
return response.error_msg(msg='识别错误')
class InvoiceExcelView(GenericView):
permission_classes = [IsAuthenticated]
authentication_classes = [OAuth2AuthenticationWithUser]
#permission_classes = [IsAuthenticated]
#authentication_classes = [OAuth2AuthenticationWithUser]
# 下载发票excel
@use_args(invoice_download_args, location='data')
def post(self, request, args):
@use_args(invoice_download_args, location='querystring')
def get(self, request, args):
application_ids = args.get('application_ids')
application_entity = args.get('application_entity')
self.running_log.info('[InvoiceExcelView] [user_role={0}] '.format('111222333'))
......@@ -1941,11 +1941,11 @@ class InvoiceExcelView(GenericView):
url, json.dumps(body), traceback.format_exc()))
class InvoiceQueryInfoView(GenericView):
permission_classes = [IsAuthenticated]
authentication_classes = [OAuth2AuthenticationWithUser]
#permission_classes = [IsAuthenticated]
#authentication_classes = [OAuth2AuthenticationWithUser]
@use_args(invoice_download_args, location='data')
def post(self, request, args):
@use_args(invoice_download_args, location='querystring')
def get(self, request, args):
application_ids = args.get('application_ids')
application_entity = args.get('application_entity')
self.running_log.info('[InvoiceExcelView] [user_role={0}] '.format('111222333'))
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!