duxin 2 сар өмнө
parent
commit
6609df7459

+ 1 - 1
internal/logic/product/bigmember/price.go

@@ -96,7 +96,7 @@ func (p jyBigProduct) GetPrice() (price int64, err error) {
 		}
 
 		finalAccountCount := gconv.Int64(count - 1)
-		if gconv.String(re.Map()["code"]) != "dyh001" {
+		if gconv.String(re.Map()["product_code"]) != "dyh001" {
 			//套餐
 			//获取套餐id 校验是否存在升级服务
 			/*comboData, _ := g.DB().GetOne(context.Background(), fmt.Sprintf(`SELECT s_servers FROM bigmember_combo WHERE id =%d `, filter.ComboId))