Merge branch 'feature/portal-reocr' into feature/uat-tmp
Showing
1 changed file
with
4 additions
and
4 deletions
... | @@ -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') | ... | ... |
-
Please register or sign in to post a comment