소스 검색

默认都使用代金券

abiao 5 년 전
부모
커밋
79be185b5f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      go/gopath/src/fohow.com/apps/controllers/pay_controller/pay_exchange_controller.go

+ 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)
 		order.Contact = address.Contact
-		order.PaiedPrice = total_price - totalCoupon
+		order.PaiedPrice = tp - totalCoupon
 		order.Tel = address.Tel
 		order.Address = fmt.Sprintf("%s%s%s%s", address.Province, address.City, address.District, address.Address)
 		order.Source = source