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
e0ef1178
authored
2025-07-02 17:17:11 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
e13dc92e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/apps/doc/views.py
src/apps/doc/views.py
View file @
e0ef117
...
...
@@ -683,7 +683,8 @@ class UploadDocView(GenericView, DocHandler):
if
keyword
in
document_name
:
classify_1
=
classify_1_tmp
break
elif
'微信支付交易明细证明'
in
document_name
or
'微信流水'
in
document_name
:
if
classify_1
==
0
and
(
'微信支付交易明细证明'
in
document_name
or
'微信流水'
in
document_name
):
classify_1
=
12
self
.
running_log
.
info
(
'[weixin bs process] [doc_id={0}]'
.
format
(
doc
.
id
))
...
...
@@ -1241,7 +1242,8 @@ class DocView(DocGenericView, DocHandler):
if
keyword
in
document_name
:
classify_1
=
classify_1_tmp
break
elif
'微信支付交易明细证明'
in
document_name
or
'微信流水'
in
document_name
:
if
classify_1
==
0
and
(
'微信支付交易明细证明'
in
document_name
or
'微信流水'
in
document_name
):
classify_1
=
12
self
.
running_log
.
info
(
'[weixin bs process] [doc_id={0}]'
.
format
(
doc
.
id
))
...
...
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