629427cf by 冯轩

MOD:去掉校验

1 parent 05c41c9d
......@@ -2082,8 +2082,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']
......@@ -2138,8 +2138,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!