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
d8f23fe9
authored
2023-01-07 18:20:54 +0800
by
王聪
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/fsm-full' into 'feature/uat-tmp'
Feature/fsm full See merge request !7
2 parents
dc40a618
ea52342a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
d8f23fe
...
...
@@ -3284,8 +3284,9 @@ def fsm_compare(application_id, application_entity, uniq_seq, ocr_res_id, is_ca=
'isCms'
:
is_cms
}
try
:
compare_log
.
info
(
"request java fsm api, url:{0}, body:{1}"
.
format
(
url
,
json
.
dumps
(
body
)))
resp
=
requests
.
post
(
url
,
data
=
body
)
compare_log
.
info
(
resp
.
text
)
compare_log
.
info
(
"response from fsm api, resp:{0}"
.
format
(
resp
.
text
)
)
except
Exception
as
e
:
compare_log
.
error
(
"fsm full request to java error, url:{0}, param:{1}, errorMsg:{2}"
.
format
(
url
,
json
.
dumps
(
body
),
traceback
.
format_exc
()))
...
...
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