|
@@ -538,9 +538,10 @@ public class PageServiceImpl implements PageService {
|
|
|
//非资质机构商品详情展示普通机构商品详情
|
|
|
if (2 != identity) {
|
|
|
String chose = product.getProductDetailChose();
|
|
|
- if(StringUtils.isNotEmpty(chose)&&"2".equals(chose)){
|
|
|
+ if (StringUtils.isNotEmpty(chose) && "2".equals(chose)) {
|
|
|
//将商品详情展示为普通机构商品详情
|
|
|
- productDetail.setDetailInfo(productDetail.getDetailInfo2());
|
|
|
+ String info = null == productDetail.getDetailInfo2() ? "若要查看更多产品信息,请注册机构会员,如有疑问请联系客服。" : productDetail.getDetailInfo2();
|
|
|
+ productDetail.setDetailInfo(info);
|
|
|
}
|
|
|
}
|
|
|
product.setProductDetail(productDetail);
|