spno
This commit is contained in:
parent
5ddfa665e5
commit
4bb6479f5f
|
@ -190,12 +190,12 @@ func (a *Approve) handleRefundAlipay(staff *model.StaffInfo, data *model.Approva
|
|||
|
||||
cli := config.GetAliPayClient("batiao")
|
||||
var req alipay.FundTransUniTransfer
|
||||
req.Remark = data.SpNo
|
||||
req.Remark = "报销_" + data.SpNo
|
||||
req.OutBizNo = fmt.Sprintf("BX%s%s", data.SpNo, butil.CutTail(data.Username, 12))
|
||||
req.TransAmount = cast.ToString(data.RefundAmount)
|
||||
req.ProductCode = "TRANS_ACCOUNT_NO_PWD"
|
||||
req.BizScene = "DIRECT_TRANSFER"
|
||||
req.OrderTitle = data.RefundRemark + "报销"
|
||||
req.OrderTitle = data.RefundRemark
|
||||
payee := new(alipay.PayeeInfo)
|
||||
req.PayeeInfo = payee
|
||||
payee.IdentityType = "ALIPAY_USER_ID"
|
||||
|
|
Loading…
Reference in New Issue