abiao пре 3 година
родитељ
комит
471d08009d

+ 1 - 0
go/gopath/src/fohow.com/apps/controllers/balance_controller/balance_controller.go

@@ -218,6 +218,7 @@ func (self *BalanceController) TakeCash() {
 		o.AccountName = user.AccountName
 		o.BankAccount = user.BankAccount
 		o.BankName = user.BankName
+		o.Fee = fee
 		o.Count = amount - fee //实际提现金额扣取手续费
 		o.Save()
 	}

+ 1 - 0
go/gopath/src/fohow.com/apps/models/balance_model/takecash.go

@@ -32,6 +32,7 @@ type TakeCashOrder struct {
 	OrderId    string    `orm:"column(order_id)"                                    json:"order_id"`     // varchar(64)
 	TradeNo    string    `orm:"column(trade_no);null"                               json:"trade_no"`     // varchar(64)
 	Count      int64     `orm:"column(count);null"                                  json:"count"`        // bigint(20)
+	Fee        int64     `orm:"column(fee);null"                                    json:"fee"`          // bigint(20)
 	State      int64     `orm:"column(pay_state);null"                              json:"pay_state"`    // tinyint(1)
 	RealState  int64     `orm:"column(real_state);null"                              json:"-"`           // tinyint(1)
 	AuditState int64     `orm:"column(audit_state);null"                            json:"audit_state"`  // tinyint(1)