e6de9f63 by 冯轩

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

2 parents 183adc9e 629427cf
......@@ -2288,8 +2288,8 @@ class InvoiceQueryInfoView(GenericView):
url, json.dumps(body), traceback.format_exc()))
class DocReOcrView(GenericView, DocHandler):
permission_classes = [IsAuthenticated]
authentication_classes = [OAuth2AuthenticationWithUser]
# permission_classes = [IsAuthenticated]
# authentication_classes = [OAuth2AuthenticationWithUser]
# required_scopes = ['write']
......@@ -2344,8 +2344,8 @@ class DocReOcrView(GenericView, DocHandler):
return response.ok()
class BatchReOcrView(GenericView, DocHandler):
permission_classes = [IsAuthenticated]
authentication_classes = [OAuth2AuthenticationWithUser]
# permission_classes = [IsAuthenticated]
# authentication_classes = [OAuth2AuthenticationWithUser]
# 现有文件批量重新识别接口
@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!