zhangxinlei1996 5 жил өмнө
parent
commit
37b1465783

+ 4 - 0
core/src/qfw/manage/vipOrder.go

@@ -369,6 +369,10 @@ func (v *VipOrder) VipOrderDetail(order_code string) error {
 					} else if util.IntAll(filterMap["cycleunit"]) == -1 {
 					} else if util.IntAll(filterMap["cycleunit"]) == -1 {
 						subscription_cycle = "不延期"
 						subscription_cycle = "不延期"
 					}
 					}
+					//升级续费后的根据 不延期 cycleunit,cyclecount=0,0
+					if util.IntAll(filterMap["cycleunit"]) == 0 && util.IntAll(filterMap["cyclecount"]) == 0 {
+						subscription_cycle = "不延期"
+					}
 				}
 				}
 				if util.ObjToString((*res)["pay_way"]) == "trial" {
 				if util.ObjToString((*res)["pay_way"]) == "trial" {
 					(filterMap)["subscription_cycle"] = "7天"
 					(filterMap)["subscription_cycle"] = "7天"