Administrator 4 years ago
parent
commit
eacf73b5e3

+ 1 - 1
src/main/resources/config/dev/application-dev.yml

@@ -54,7 +54,7 @@ logging:
 caimei:
   siteEnv: 0 #网站环境,(2:正式环境,1:测试环境,0:开发环境)
   # spiServer: https://spi-b.caimei365.com
-  spiServer: https://spi-b.caimei365.com
+  spiServer: http://192.168.2.68:8008
   imageDomain: https://img-b.caimei365.com
   wwwDomain: https://www-b.caimei365.com
 

+ 1 - 1
src/main/resources/static/js/supplier-center/shop/release.js

@@ -191,7 +191,7 @@ var releaseContainer = new Vue({
                     _this.GoodsImagesList = _this.EchoGoodsImagesListFn(data.imageList);
                     _this.classificationTwoList = data.smallTypeName;
                     _this.classificationThreeList = data.tinyTypeName;
-                    if(data.commodityType !=null){
+                    if(data.commodityType !=null||data.commodityType != ''){
                         _this.releaseParams.commodityType = data.commodityType;
                         _this.GetFistClassFn(_this.releaseParams.commodityTyp);
                     }

+ 2 - 1
src/main/resources/templates/supplier-center/shop/preview.html

@@ -36,7 +36,8 @@
                     <p class="info-p classly">
                         <span>所属分类:</span>
                         <span>{{shopInfo.firstClassifyName}}</span> >
-                        <span>{{shopInfo.twoClassifyName}}</span> >
+                        <span v-if="shopInfo.threeClassifyName!=''">{{shopInfo.twoClassifyName}}</span> >
+                        <span v-else>{{shopInfo.twoClassifyName}}</span>
                         <span>{{shopInfo.threeClassifyName}}</span>
                     </p>
                     <p class="info-p name">{{shopInfo.aliasName}}</p>