diff --git a/modules/file/src/main/java/com/bonus/file/upload/service/LocalSysFileServiceImpl.java b/modules/file/src/main/java/com/bonus/file/upload/service/LocalSysFileServiceImpl.java index 759d875..1d2bf49 100644 --- a/modules/file/src/main/java/com/bonus/file/upload/service/LocalSysFileServiceImpl.java +++ b/modules/file/src/main/java/com/bonus/file/upload/service/LocalSysFileServiceImpl.java @@ -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("人脸识别失败,请重试"); } }