629427cf by 冯轩

MOD:去掉校验

1 parent 05c41c9d
...@@ -2082,8 +2082,8 @@ class InvoiceQueryInfoView(GenericView): ...@@ -2082,8 +2082,8 @@ class InvoiceQueryInfoView(GenericView):
2082 url, json.dumps(body), traceback.format_exc())) 2082 url, json.dumps(body), traceback.format_exc()))
2083 2083
2084 class DocReOcrView(GenericView, DocHandler): 2084 class DocReOcrView(GenericView, DocHandler):
2085 permission_classes = [IsAuthenticated] 2085 # permission_classes = [IsAuthenticated]
2086 authentication_classes = [OAuth2AuthenticationWithUser] 2086 # authentication_classes = [OAuth2AuthenticationWithUser]
2087 2087
2088 # required_scopes = ['write'] 2088 # required_scopes = ['write']
2089 2089
...@@ -2138,8 +2138,8 @@ class DocReOcrView(GenericView, DocHandler): ...@@ -2138,8 +2138,8 @@ class DocReOcrView(GenericView, DocHandler):
2138 return response.ok() 2138 return response.ok()
2139 2139
2140 class BatchReOcrView(GenericView, DocHandler): 2140 class BatchReOcrView(GenericView, DocHandler):
2141 permission_classes = [IsAuthenticated] 2141 # permission_classes = [IsAuthenticated]
2142 authentication_classes = [OAuth2AuthenticationWithUser] 2142 # authentication_classes = [OAuth2AuthenticationWithUser]
2143 2143
2144 # 现有文件批量重新识别接口 2144 # 现有文件批量重新识别接口
2145 @use_args(batch_reocr_args, location='data') 2145 @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!