提现修复

fix/release
mofangmin 1 year ago
parent 2758e69aca
commit 30fb5f8e01
  1. 5
      modules/pay/eanipay/base.go

@ -5,7 +5,6 @@ import (
"errors"
"fmt"
"net/http"
"server/common"
"server/modules/pay/base"
"server/modules/pay/values"
"server/pb"
@ -134,7 +133,6 @@ func (s *Sub) PackWithdrawReq() interface{} {
Description: "BW",
NotifyUrl: values.GetWithdrawCallback(values.EaniPay),
}
if r.PayType == common.WithdrawTypeBank {
send.PayoutMethod.Type = "BANK_ACCOUNT"
send.PayoutMethod.Mode = "IMPS"
send.PayoutMethod.BankCode = r.PayCode
@ -144,9 +142,6 @@ func (s *Sub) PackWithdrawReq() interface{} {
send.PayoutMethod.PayeePhone = r.Phone
send.PayoutMethod.PayeeEmail = r.Email
send.PayoutMethod.PayeeAddress = r.Address
} else {
return nil
}
s.Base.ReqData = send
return send
}

Loading…
Cancel
Save