xuzhiheng 5 лет назад
Родитель
Сommit
57a8712730

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/vipsubscribe/js/common.js

@@ -157,7 +157,7 @@ function getsubVipOrderPrice(area,industry,t,price){
 				var industry_Price= price.buyerClassPrice  * industryNum;
 				var city_Price = price.cityPrice *citysCountMap[i];
 				thisPrice = (industry_Price + city_Price) * t[0];
-				if(t[1]==1) thisPrice *= 10 //年的价格是月价格的10倍
+				// if(t[1]==1) thisPrice *= 10 //年的价格是月价格的10倍
 			}
 		}
     	final_price += thisPrice;

+ 5 - 5
src/jfw/modules/subscribepay/src/entity/subscribeVip.go

@@ -461,17 +461,17 @@ func (this *vipSubscribeStruct) GetSubVipPrice(area *map[string]interface{}, ind
 			} else { //多城市
 				if industryNum == 0 || industryNum == 1 { //多城市 单行业
 					thisPrice = cityCount * getSetMealPrice(2, industryNum, unit) * count
-				} else { //多行业 多行业
+				} else { //多城市 多行业
 					//industryPrice := SubVipPrice.BuyerClassPrice * industryNum
 					//cityPrice := SubVipPrice.CityPrice * cityCount
 					//thisPrice = (industryPrice + cityPrice) * count
 					if cityCount > SubVipPrice.CityMaxCount {
 						pCount++
 					} else {
-						thisPrice = getSetMealPrice(2, industryNum, unit) * cityCount * count;
-						if unit == 1 { //年
-							thisPrice *= 10
-						}
+						thisPrice = getSetMealPrice(2, industryNum, unit) * cityCount * count
+						//						if unit == 1 { //年
+						//							thisPrice *= 10
+						//						}
 					}
 				}
 			}

+ 1 - 1
src/web/staticres/vipsubscribe/js/common.js

@@ -173,7 +173,7 @@ function getsubVipOrderPriceBybuyset(buyset, t, price) {
                     buyset.areacount++;
                 } else {
                     thisPrice = getSetMealPrice(2, buyset.buyerclasscount, t[1], price) * buyset.citys[i] * t[0];
-                    if (t[1] === 1) thisPrice *= 10 //年的价格是月价格的10倍
+                    // if (t[1] === 1) thisPrice *= 10 //年的价格是月价格的10倍
                 }
 
             }