人脸识别错误提示优化

This commit is contained in:
15856 2025-02-10 15:27:15 +08:00
parent 978a5d8f3c
commit 43904ad51f
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ import java.util.regex.Pattern;
/**
* 本地文件存储
*
*
* @author zys
*/
@Primary
@ -62,7 +62,7 @@ public class LocalSysFileServiceImpl implements ISysFileService {
/**
* 本地文件上传接口
*
*
* @return 访问地址
* @throws Exception
*/
@ -469,7 +469,7 @@ public class LocalSysFileServiceImpl implements ISysFileService {
: R.fail(FaceStatusCodeReturn.faceStatusCodeReturn(Integer.parseInt(code)));
} catch (Exception e) {
log.error("上传文件失败", e);
return R.fail(e.getMessage());
return R.fail("人脸识别失败,请重试");
}
}