修改--解决结果为NULL的问题
This commit is contained in:
parent
0915176b7b
commit
3cf569af9a
|
|
@ -64,11 +64,10 @@ public class OcrRecogServiceImpl implements IOcrRecogService {
|
|||
log.info("获得data:{}",idCardVo);
|
||||
ajax.put("data",idCardVo);
|
||||
} catch (Exception e) {
|
||||
log.error("调用大模型失败:{}",e);
|
||||
ajax.put("601", "调用大模型服务出错");
|
||||
e.printStackTrace();
|
||||
log.error("调用服务失败:{}",e);
|
||||
ajax.put("601", "调用服务出错");
|
||||
}
|
||||
if (idCardVo != null) {
|
||||
if (idCardVo.getData() != null) {
|
||||
char ifComplete = '否';
|
||||
if (idCardVo.getCode() == 20000) {
|
||||
ifComplete = '是';
|
||||
|
|
|
|||
Loading…
Reference in New Issue