Bladeren bron

修改提示

(cherry picked from commit c1fb8e0760e06e20b9ad35d05157cd7619739377)
liujc 1 jaar geleden
bovenliggende
commit
855a57cd44

+ 2 - 2
cooleshow-user/user-admin/src/main/java/com/yonge/cooleshow/admin/controller/TenantAlbumController.java

@@ -197,7 +197,7 @@ public class TenantAlbumController {
             List<Long> musicIds = album.getMusicSheetData().stream().flatMap(o -> o.getMusicSheetList().stream().map(m -> m.getId())).collect(Collectors.toList());
             Set<Long> musicSet = new HashSet<>(musicIds);
             if (musicSet.size() < musicIds.size()) {
-                throw new BizException("不予许添加相同的曲目");
+                throw new BizException("不添加相同的曲目");
             }
         }
 
@@ -246,7 +246,7 @@ public class TenantAlbumController {
                     .stream().map(TenantAlbumVo.MusicObject::getId)).collect(Collectors.toList());
             Set<Long> musicSet = new HashSet<>(musicIds);
             if (musicSet.size() < musicIds.size()) {
-                throw new BizException("不予许添加相同的曲目");
+                throw new BizException("不添加相同的曲目");
             }
         }