e6de9f63 by 冯轩

Merge branch 'feature/portal-reocr' into feature/uat-tmp

2 parents 183adc9e 629427cf
...@@ -2288,8 +2288,8 @@ class InvoiceQueryInfoView(GenericView): ...@@ -2288,8 +2288,8 @@ class InvoiceQueryInfoView(GenericView):
2288 url, json.dumps(body), traceback.format_exc())) 2288 url, json.dumps(body), traceback.format_exc()))
2289 2289
2290 class DocReOcrView(GenericView, DocHandler): 2290 class DocReOcrView(GenericView, DocHandler):
2291 permission_classes = [IsAuthenticated] 2291 # permission_classes = [IsAuthenticated]
2292 authentication_classes = [OAuth2AuthenticationWithUser] 2292 # authentication_classes = [OAuth2AuthenticationWithUser]
2293 2293
2294 # required_scopes = ['write'] 2294 # required_scopes = ['write']
2295 2295
...@@ -2344,8 +2344,8 @@ class DocReOcrView(GenericView, DocHandler): ...@@ -2344,8 +2344,8 @@ class DocReOcrView(GenericView, DocHandler):
2344 return response.ok() 2344 return response.ok()
2345 2345
2346 class BatchReOcrView(GenericView, DocHandler): 2346 class BatchReOcrView(GenericView, DocHandler):
2347 permission_classes = [IsAuthenticated] 2347 # permission_classes = [IsAuthenticated]
2348 authentication_classes = [OAuth2AuthenticationWithUser] 2348 # authentication_classes = [OAuth2AuthenticationWithUser]
2349 2349
2350 # 现有文件批量重新识别接口 2350 # 现有文件批量重新识别接口
2351 @use_args(batch_reocr_args, location='data') 2351 @use_args(batch_reocr_args, location='data')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!