From 38596b03540250dd7de85c49f53ece5dd6bfe5b7 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期四, 10 十一月 2022 13:19:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into huacheng_test --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java index fd102e6..4ca605c 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java @@ -79,7 +79,7 @@ if (StrUtil.isNotBlank(detail)) { String result = checkService.checkMessageBy(detail, openid, appId); if (StrUtil.isNotBlank(result)) { - return R.fail(Constants.NOTICE_FAIL, "填写内容存在 " + result + " 违规信息"); + return R.fail(501, "填写内容存在 " + result + " 违规信息"); } } @@ -87,7 +87,7 @@ String photoPathList = comActEasyPhotoVO.getPhotoPathList(); if (StrUtil.isNotBlank(photoPathList)) { if (!checkService.checkImageBy(photoPathList, appId)) { - return R.fail(Constants.NOTICE_FAIL, "上传图片存在违规信息"); + return R.fail(501, "上传图片存在违规信息"); } } LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); @@ -184,7 +184,7 @@ if (StrUtil.isNotBlank(comment)) { String result = checkService.checkMessageBy(comment, openid, appId); if (StrUtil.isNotBlank(result)) { - return R.fail(Constants.NOTICE_FAIL, "填写内容存在 " + result + " 违规信息"); + return R.fail(501, "填写内容存在 " + result + " 违规信息"); } } comActEasyPhotoCommentDTO.setUserId(this.getUserId()); @@ -235,7 +235,7 @@ if (StrUtil.isNotBlank(msg)) { String result = checkService.checkMessageBy(msg, this.getLoginUserInfo().getOpenid(),this.getAppId()); if (StrUtil.isNotBlank(result)) { - return R.fail(Constants.NOTICE_FAIL, "填写内容存在 " + result + " 违规信息"); + return R.fail(501, "填写内容存在 " + result + " 违规信息"); } } LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); @@ -323,7 +323,7 @@ if (StrUtil.isNotBlank(msg)) { String result = checkService.checkMessageBy(msg, this.getLoginUserInfo().getOpenid(),this.getAppId()); if (StrUtil.isNotBlank(result)) { - return R.fail(Constants.NOTICE_FAIL, "填写内容存在 " + result + " 违规信息"); + return R.fail(501, "填写内容存在 " + result + " 违规信息"); } } LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); @@ -353,7 +353,7 @@ if (StrUtil.isNotBlank(msg)) { String result = checkService.checkMessageBy(msg, this.getLoginUserInfo().getOpenid(),this.getAppId()); if (StrUtil.isNotBlank(result)) { - return R.fail(Constants.NOTICE_FAIL, "填写内容存在 " + result + " 违规信息"); + return R.fail(501, "填写内容存在 " + result + " 违规信息"); } } LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); -- Gitblit v1.7.1