cb270a88 by 冯轩

Merge branch 'fix/2024-05-pen-test' into feature/uat-tmp

2 parents 3b8a6905 a89c8e28
......@@ -1917,12 +1917,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'))
......@@ -1963,11 +1963,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!