xuzhiheng 5 lat temu
rodzic
commit
81463ecfe5

+ 7 - 7
src/jfw/modules/subscribepay/src/service/vipRenewUpgrade.go

@@ -268,13 +268,13 @@ func (this *RenewUpgrade) RenewUpgradeCreateOrder() {
 				totalfee = totalfee + lengPrice                                                                                   //已购+新增延长时间价格 + 升级差价 = 最终价格
 			}
 		}
-		log.Println("price", totalfee)
-		tmp := float64(totalfee) * 0.000001
-		if tmp < 1 {
-			if tmp != 0 {
-				totalfee = 1
-			}
-		}
+		//		log.Println("price", totalfee)
+		//		tmp := float64(totalfee) * 0.000001
+		//		if tmp < 1 {
+		//			if tmp != 0 {
+		//				totalfee = 1
+		//			}
+		//		}
 		log.Println("price", totalfee)
 
 		//创建订单