Merge branch 'fix/2024-05-pen-test' into feature/uat-tmp
Showing
1 changed file
with
8 additions
and
8 deletions
... | @@ -1917,12 +1917,12 @@ class GoView(GenericView): | ... | @@ -1917,12 +1917,12 @@ class GoView(GenericView): |
1917 | return response.error_msg(msg='识别错误') | 1917 | return response.error_msg(msg='识别错误') |
1918 | 1918 | ||
1919 | class InvoiceExcelView(GenericView): | 1919 | class InvoiceExcelView(GenericView): |
1920 | permission_classes = [IsAuthenticated] | 1920 | #permission_classes = [IsAuthenticated] |
1921 | authentication_classes = [OAuth2AuthenticationWithUser] | 1921 | #authentication_classes = [OAuth2AuthenticationWithUser] |
1922 | 1922 | ||
1923 | # 下载发票excel | 1923 | # 下载发票excel |
1924 | @use_args(invoice_download_args, location='data') | 1924 | @use_args(invoice_download_args, location='querystring') |
1925 | def post(self, request, args): | 1925 | def get(self, request, args): |
1926 | application_ids = args.get('application_ids') | 1926 | application_ids = args.get('application_ids') |
1927 | application_entity = args.get('application_entity') | 1927 | application_entity = args.get('application_entity') |
1928 | self.running_log.info('[InvoiceExcelView] [user_role={0}] '.format('111222333')) | 1928 | self.running_log.info('[InvoiceExcelView] [user_role={0}] '.format('111222333')) |
... | @@ -1963,11 +1963,11 @@ class InvoiceExcelView(GenericView): | ... | @@ -1963,11 +1963,11 @@ class InvoiceExcelView(GenericView): |
1963 | url, json.dumps(body), traceback.format_exc())) | 1963 | url, json.dumps(body), traceback.format_exc())) |
1964 | 1964 | ||
1965 | class InvoiceQueryInfoView(GenericView): | 1965 | class InvoiceQueryInfoView(GenericView): |
1966 | permission_classes = [IsAuthenticated] | 1966 | #permission_classes = [IsAuthenticated] |
1967 | authentication_classes = [OAuth2AuthenticationWithUser] | 1967 | #authentication_classes = [OAuth2AuthenticationWithUser] |
1968 | 1968 | ||
1969 | @use_args(invoice_download_args, location='data') | 1969 | @use_args(invoice_download_args, location='querystring') |
1970 | def post(self, request, args): | 1970 | def get(self, request, args): |
1971 | application_ids = args.get('application_ids') | 1971 | application_ids = args.get('application_ids') |
1972 | application_entity = args.get('application_entity') | 1972 | application_entity = args.get('application_entity') |
1973 | self.running_log.info('[InvoiceExcelView] [user_role={0}] '.format('111222333')) | 1973 | self.running_log.info('[InvoiceExcelView] [user_role={0}] '.format('111222333')) | ... | ... |
-
Please register or sign in to post a comment