Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
629427cf
authored
2025-09-04 14:54:13 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:去掉校验
1 parent
05c41c9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/apps/doc/views.py
src/apps/doc/views.py
View file @
629427c
...
...
@@ -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'
)
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment