zhijiezhao 3 lat temu
rodzic
commit
2166dc1408

+ 2 - 2
src/main/java/com/caimei365/commodity/service/impl/PageServiceImpl.java

@@ -535,8 +535,8 @@ public class PageServiceImpl implements PageService {
         product.setImageList(imageList);
         // 商品详情
         ProductDetailInfoPo productDetail = shopMapper.getProductDetailInfo(productId);
-        //非资质机构商品详情展示普通机构商品详情
-        if (null == identity || 2 != identity) {
+        //非资质机构商品详情展示普通机构商品详情,游客和普通机构要进判断
+        if (null == identity || 4 == identity) {
             String chose = product.getProductDetailChose();
             if (StringUtils.isNotEmpty(chose) && "2".equals(chose)) {
                 //将商品详情展示为普通机构商品详情