xuzhiheng 5 years ago
parent
commit
81463ecfe5
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/jfw/modules/subscribepay/src/service/vipRenewUpgrade.go

+ 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)
 
 		//创建订单