소스 검색

1.文案修改

yuanliang 1 년 전
부모
커밋
e113e3d5ae

+ 2 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/TenantAlbumCategoryServiceImpl.java

@@ -161,7 +161,8 @@ public class TenantAlbumCategoryServiceImpl extends ServiceImpl<TenantAlbumCateg
         if (names.size() != values.size()) {
             TenantAlbumCategory albumCategory = this.getById(tenantAlbumCategory.getId());
             ETenantAlbumCategoryType categoryType = albumCategory.getCategoryType();
-            throw new BizException(ETenantAlbumCategoryType.CATEGORY_TYPE.equals(categoryType) ? "类型不能有重复" : "级别不能有重复");
+            throw new BizException(ETenantAlbumCategoryType.CATEGORY_TYPE.equals(categoryType) ? "类型不允许有重复" :
+                    "级别不允许有重复");
         }
 
         // 校验是否存在引用删除