Przeglądaj źródła

增加券的使用

abiao 3 lat temu
rodzic
commit
2afd96dfbe

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

@@ -257,7 +257,7 @@ func (self *PayController) payExchange(oId, payWay, returnUrl, source, remark st
 
 		//抵扣佣金
 		paiedCash := int64(0)
-		userLeftBalanceCash := balance_model.GetUserTotalBalance(wxUId)
+		userLeftBalanceCash := balance_model.GetCashTotalBalance(wxUId)
 		if userLeftBalanceCash > int64(0) {
 			if userLeftBalanceCash < total_weixin && total_weixin > 0 {
 				paiedCash = userLeftBalanceCash