@@ -261,6 +261,13 @@ func (this *RenewUpgrade) RenewUpgradeCreateOrder() {
}
log.Println("price", totalfee)
+ tmp := float64(totalfee) * 0.000001
+ if tmp < 1 {
+ if tmp != 0 {
+ totalfee = 1
+ }
+ log.Println("price", totalfee)
//创建订单
tradeno, prepayid, payStr := "", "", ""