diff --git a/soul-api/.gitignore b/soul-api/.gitignore new file mode 100644 index 00000000..9468ac3f --- /dev/null +++ b/soul-api/.gitignore @@ -0,0 +1,4 @@ +tmp/ +soul-api +server.exe +soul-api.exe diff --git a/soul-api/internal/wechat/transfer.go b/soul-api/internal/wechat/transfer.go index e2b72356..6c9f58e5 100644 --- a/soul-api/internal/wechat/transfer.go +++ b/soul-api/internal/wechat/transfer.go @@ -172,6 +172,13 @@ func InitiateTransferByFundApp(params FundAppTransferParams) (*FundAppTransferRe TransferRemark: params.Remark, NotifyUrl: params.NotifyURL, } + // 1005=佣金报酬:微信要求同时传 transfer_scene_report_infos,岗位类型与报酬说明分开两条 + if params.TransferSceneId == "1005" { + req.TransferSceneReportInfos = []fundAppRequest.TransferSceneReportInfo{ + {InfoType: "岗位类型", InfoContent: "会员"}, + {InfoType: "报酬说明", InfoContent: "提现"}, + } + } if req.NotifyUrl == "" && cfg.WechatTransferURL != "" { req.NotifyUrl = cfg.WechatTransferURL } diff --git a/soul-api/tmp/main.exe b/soul-api/tmp/main.exe index fb0eb91f..4eb67294 100644 Binary files a/soul-api/tmp/main.exe and b/soul-api/tmp/main.exe differ