Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -174,7 +174,7 @@ def upload_file_for_ocr( | ... | @@ -174,7 +174,7 @@ def upload_file_for_ocr( |
| 174 | 174 | ||
| 175 | # 如果 status=9000,返回提示信息 | 175 | # 如果 status=9000,返回提示信息 |
| 176 | status = result.get("status") | 176 | status = result.get("status") |
| 177 | - if status == 9000 or status == "9000": | 177 | + if status == 90000 or status == "90000": |
| 178 | chmCode = result.get("chmCode", "") | 178 | chmCode = result.get("chmCode", "") |
| 179 | chmId = result.get("chmId", "") | 179 | chmId = result.get("chmId", "") |
| 180 | return f"图文识别成功,请确认是否使用该运单编号:{chmCode} ,运单ID:{chmId}" | 180 | return f"图文识别成功,请确认是否使用该运单编号:{chmCode} ,运单ID:{chmId}" | ... | ... |
-
Please register or login to post a comment