MOD:去掉校验
Showing
1 changed file
with
4 additions
and
4 deletions
| ... | @@ -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') | ... | ... |
-
Please register or sign in to post a comment