Explorar o código

默认都使用代金券

abiao %!s(int64=5) %!d(string=hai) anos
pai
achega
79be185b5f

+ 1 - 1
go/gopath/src/fohow.com/apps/controllers/pay_controller/pay_exchange_controller.go

@@ -173,7 +173,7 @@ func (self *PayController) payExchange(oId, payWay, tradPwd, returnUrl, source s
 
 
 		wxUser := self.GetCurrentWxUser(false)
 		wxUser := self.GetCurrentWxUser(false)
 		order.Contact = address.Contact
 		order.Contact = address.Contact
-		order.PaiedPrice = total_price - totalCoupon
+		order.PaiedPrice = tp - totalCoupon
 		order.Tel = address.Tel
 		order.Tel = address.Tel
 		order.Address = fmt.Sprintf("%s%s%s%s", address.Province, address.City, address.District, address.Address)
 		order.Address = fmt.Sprintf("%s%s%s%s", address.Province, address.City, address.District, address.Address)
 		order.Source = source
 		order.Source = source