yangdamao 2 năm trước cách đây
mục cha
commit
390b809896

+ 4 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/goods/service/impl/GoodsServiceImpl.java

@@ -1152,6 +1152,10 @@ public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements
 //        String domainH5 = "https://h.xyyxt.net";
         String domain = "https://zzyxt.gdzzkj.net/";
         String domainH5 = "https://h.gdzzkj.net";
+        if (ObjectUtils.isNotNull(bo.getTenantId()) && "867735392558919680".equals(bo.getTenantId())){
+            domain = "https://web.xyyxt.net/";
+            domainH5 = "https://h.xyyxt.net";
+        }
         GoodsVo goods = baseMapper.queryGoodsByIdTenant(bo.getGoodsId(), bo.getTenantId());
         if (ObjectUtils.isNull(goods)) {
             throw new CustomException("商品不存在!");