feat: 对接越南AlinPay支付网关(代收+代付)

- 新增 AlinPay 网关核心类:签名/验签/代收/代付/查询/账户接口
- 新增 alinPay trait:充值发起 + 代收回调结算(事务+行锁)
- 修改 admin/agent Report:提现审批自动路由 ALIN_VN 发起代付
- 新增 Pcapi:银行卡提现申请 + 越南银行列表接口
- 修改 Crypto:代付回调/订单查询/账户查询入口
- 新增越南区 area_list(id=3) + alinPay pay_list 配置
- DDL: user_withdraw 表增加 pay_channel/ext 字段
This commit is contained in:
li
2026-03-12 22:24:49 +08:00
parent e633c8e27d
commit 79123e079f
9 changed files with 997 additions and 13 deletions
+16
View File
@@ -281,6 +281,13 @@ return [
'default_wt_agent' => 566,
'limit_agent' => [87, 1371],
],
'3' => [
'name' => '越南',
'pay' => 'alinPay',
'default_agent' => 0, // TODO: 魔尊需填入越南区总代理ID
'default_wt_agent' => 0, // TODO: 魔尊需填入越南区委托代理ID
'limit_agent' => [], // TODO: 魔尊需填入允许充值的代理ID列表
],
],
'limit_list' => [
@@ -343,5 +350,14 @@ return [
'1' => '在線繳費'
]
],
'alinPay' => [//越南AlinPay
'online_order_fac' => 'alin_online_order',//越南
'notify_url' => 'https://api.g7g7.top/order/alin_recharge_callback',//代收回调地址
'payment_notify_url' => 'https://api.g7g7.top/crypto/alin_payment_callback',//代付回调地址
'callback_url' => '',
'type' => [
'11' => '越南代收'
]
],
]
];