|
@@ -536,14 +536,17 @@ public class PageServiceImpl implements PageService {
|
|
|
// 商品详情
|
|
|
ProductDetailInfoPo productDetail = shopMapper.getProductDetailInfo(productId);
|
|
|
//非资质机构商品详情展示普通机构商品详情,游客和普通机构要进判断
|
|
|
- if (null == identity || 4 == identity) {
|
|
|
- String chose = product.getProductDetailChose();
|
|
|
- if (StringUtils.isNotEmpty(chose) && "2".equals(chose)) {
|
|
|
- //将商品详情展示为普通机构商品详情
|
|
|
- String info = null == productDetail.getDetailInfo2() ? "若要查看更多产品信息,请注册机构会员,如有疑问请联系客服。" : productDetail.getDetailInfo2();
|
|
|
- productDetail.setDetailInfo(info);
|
|
|
- }
|
|
|
- }
|
|
|
+// if (null == identity || 4 == identity) {
|
|
|
+// String chose = product.getProductDetailChose();
|
|
|
+// log.info("身份identity===================>"+identity+"ProductDetail===================》"+chose);
|
|
|
+// if (StringUtils.isNotEmpty(chose) && "2".equals(chose)) {
|
|
|
+// //将商品详情展示为普通机构商品详情
|
|
|
+// String info = null == productDetail.getDetailInfo2() ? "若要查看更多产品信息,请注册机构会员,如有疑问请联系客服。" : productDetail.getDetailInfo2();
|
|
|
+// log.info("DetailInfo2参数================================》"+info);
|
|
|
+// productDetail.setDetailInfo(info);
|
|
|
+// }
|
|
|
+// }
|
|
|
+ log.info("-------------------》productDetail参数"+productDetail.toString());
|
|
|
product.setProductDetail(productDetail);
|
|
|
// 相关参数
|
|
|
List<ProductParameterPo> parametersList = shopMapper.getProductParameters(productId);
|