|
@@ -366,11 +366,13 @@ public class AlbumInfoServiceImpl extends SuperServiceImpl<AlbumInfoMapper, Albu
|
|
|
//专辑详情动作标记
|
|
|
long count = albumVersions.stream().filter(e -> e.getState() == 2).count();
|
|
|
List<String> actionFlag = new ArrayList<>();
|
|
|
- if (albumInfo.getState() == 1 && count > 0 && albumInfo.getOwnerId().equals(userId)) {
|
|
|
+ //专辑负责人
|
|
|
+ //&& albumInfo.getOwnerId().equals(userId))
|
|
|
+ if (albumInfo.getState() == 1 && count > 0) {
|
|
|
actionFlag.add("edit");
|
|
|
actionFlag.add("transfer");
|
|
|
actionFlag.add("close");
|
|
|
- } else if (albumInfo.getState() == 0 && count > 0 && albumInfo.getOwnerId().equals(userId)) {
|
|
|
+ } else if (albumInfo.getState() == 0 && count > 0) {
|
|
|
actionFlag.add("edit");
|
|
|
actionFlag.add("transfer");
|
|
|
actionFlag.add("open");
|