添加图片转码
This commit is contained in:
parent
560222739d
commit
7f01cb37d9
|
@ -796,20 +796,6 @@ public class ArtificerServiceImpl extends ServiceImpl<ArtificerDao, Artificer> i
|
|||
//对比
|
||||
log.error("---------res----------:"+res);
|
||||
|
||||
faceMain.runFlag();
|
||||
if(res == null){
|
||||
faceMain.delRunFlag();
|
||||
return Result.error("对比接口调用失败!");
|
||||
}
|
||||
|
||||
//判断是否调用成功
|
||||
Integer errorCode = res.getInt("error_code");
|
||||
String errorMsg = res.getString("error_msg");
|
||||
if(errorCode != 0){
|
||||
faceMain.delRunFlag();
|
||||
return Result.error("对比失败:" + errorMsg + ",错误码为:" + errorCode + "!");
|
||||
}
|
||||
|
||||
//保存结果
|
||||
org.json.JSONObject result = res.getJSONObject("result");
|
||||
log.error("---------result----------:"+result);
|
||||
|
|
Loading…
Reference in New Issue