|
@@ -632,7 +632,7 @@ public class PageServiceImpl implements PageService {
|
|
|
product.setShop(shop);
|
|
|
}
|
|
|
// 商品可见度:3:所有人可见,2:普通机构可见,1:会员机构可见,4:仅医美机构可见
|
|
|
- Integer visibility = product.getVisibility();
|
|
|
+ /*Integer visibility = product.getVisibility();
|
|
|
if (null != userId && userId > 0) {
|
|
|
// 会员机构类型:1医美,2生美
|
|
|
Integer clubType = 0;
|
|
@@ -657,7 +657,7 @@ public class PageServiceImpl implements PageService {
|
|
|
}
|
|
|
} else if (2 == visibility || 1 == visibility || 4 == visibility) {
|
|
|
return ResponseJson.success(0, "没有权限查看该商品,userId为空", product);
|
|
|
- }
|
|
|
+ }*/
|
|
|
// 商品不处于已删除/待审核/审核未通过的状态
|
|
|
if (0 != product.getValidFlag()) {
|
|
|
// 数据库获取基本价格信息
|