添加图片转码

This commit is contained in:
yangjun 2024-07-09 18:01:16 +08:00
parent 560222739d
commit 7f01cb37d9
1 changed files with 0 additions and 14 deletions

View File

@ -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);