Commit 783704c4 by guojuxing

页面装修错误提示文案改动

parent 0126f2c7
......@@ -52,7 +52,7 @@ public class AppletWechatMenuApiServiceImpl implements AppletWechatMenuApiServic
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "菜单内容错误");
}
if (WeChatMenuTypeEnum.isNeedMenuCode(dto.getMenuType()) && StringUtils.isBlank(dto.getMenuCode())) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "链接配置code不能为空");
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "链接配置不能为空");
}
if (WeChatMenuTypeEnum.OUT_LINK.getCode() == dto.getMenuType().intValue()) {
if (StringUtils.isBlank(dto.getMenuUrl())) {
......@@ -132,7 +132,7 @@ public class AppletWechatMenuApiServiceImpl implements AppletWechatMenuApiServic
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "菜单内容错误");
}
if (WeChatMenuTypeEnum.isNeedMenuCode(dto.getMenuType()) && StringUtils.isBlank(dto.getMenuCode())) {
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "链接配置code不能为空");
return ServiceResponse.failure(ErrorCode.PARAMETER_ERROR.getCode(), "链接配置不能为空");
}
if (WeChatMenuTypeEnum.OUT_LINK.getCode() == dto.getMenuType().intValue()) {
if (StringUtils.isBlank(dto.getMenuUrl())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment