This commit is contained in:
jiangyong27 2024-09-27 12:38:30 +08:00
parent 5ddfa665e5
commit 4bb6479f5f
1 changed files with 2 additions and 2 deletions

View File

@ -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"