转账功能优化

This commit is contained in:
Dev
2026-10-10 14:52:18 +08:00
parent 5f3dc03137
commit 2541fc1dfb
4 changed files with 219 additions and 52 deletions
+6
View File
@@ -28,6 +28,12 @@ return [
'notify_url' => Env::get('app.url') . '/api/order/payNotify',
// 新版商家转账(用户确认模式)转账场景ID:1005=佣金报酬
'transfer_scene_id' => Env::get('wechat.transfer_scene_id', '1005'),
// 转账场景报备信息:必须与 transfer_scene_id 严格对应,否则报「未传入完整且对应的转账场景报备信息」
// 1005(佣金报酬) 固定传两条:岗位类型 + 报酬说明;info_type ≤15 字符,info_content ≤32 字符,且 info_type 不可重复
'transfer_scene_report_infos' => [
['info_type' => '岗位类型', 'info_content' => '平台接单用户'],
['info_type' => '报酬说明', 'info_content' => '用户提现'],
],
// 新版商家转账结果回调地址(公网可访问、HTTPS、不带参数)
'transfer_notify_url' => Env::get('app.url') . '/api/account/transferNotify',
// 免确认收款授权结果回调地址(公网可访问、HTTPS、不带参数)