Ver Fonte

Merge branch 'sit-three-categories' of http://8.152.195.41:3000/alien/alien_cloud into sit-three-categories

dujian há 3 meses atrás
pai
commit
f2021a71b8

+ 1 - 1
alien-store/src/main/java/shop/alien/store/service/impl/StoreInfoServiceImpl.java

@@ -4865,7 +4865,7 @@ public class StoreInfoServiceImpl extends ServiceImpl<StoreInfoMapper, StoreInfo
                     .ne("a.store_status", 0); // 过滤禁用的店铺
             
             // 排除当前店铺
-            queryWrapper.ne("a.id", storeId);
+            queryWrapper.eq("a.id", storeId);
             
             // 过期时间判断
             Date currentDate = new Date();

+ 1 - 0
alien-store/src/main/java/shop/alien/store/service/impl/StoreOfficialAlbumServiceImpl.java

@@ -236,6 +236,7 @@ public class StoreOfficialAlbumServiceImpl extends ServiceImpl<StoreOfficialAlbu
             List<StoreImg> imgList = storeImgService.getByCover(storeId, 4);
             StoreOfficialAlbumImgVo result = new StoreOfficialAlbumImgVo();
             result.setImgList(imgList);
+            return result;
         }
 
         // 默认返回空结果