feat(shopro_huifu): 添加分账配置提交功能和接收方绑定机制 - 实现 shouldDeferWalletUntilGatewaySplitResolves 方法,确保分销/区域结算事件早于 split_timing 时等待分账结束再入钱包 - 新增 SyncSplitReceivers 命令用于提交商户分账配置并绑定已审核通过的汇付号为分账接收方 - 扩展 HuifuClient 添加 submitMerchantSplitConfig 接口实现 v2/merchant/split/config 调用 - 创建 HuifuMerchantSplitService 处理主商户分账配置提交和进件子户绑定为分账接收方逻辑 - 在进件成功后自动调用 split/config 接口绑定分账接收方 - 添加数据库表结构升级脚本,增加分账绑定状态相关字段 - 注册新的命令行工具到应用配置中 ```
43 行
1.9 KiB
PHP
43 行
1.9 KiB
PHP
<?php
|
|
|
|
// +----------------------------------------------------------------------
|
|
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
|
// +----------------------------------------------------------------------
|
|
// | Author: yunwuxin <448901948@qq.com>
|
|
// +----------------------------------------------------------------------
|
|
|
|
return [
|
|
'app\admin\command\Crud',
|
|
'app\admin\command\Menu',
|
|
'app\admin\command\Install',
|
|
'app\admin\command\Min',
|
|
'app\admin\command\Addon',
|
|
'app\admin\command\Api',
|
|
'addons\shopro_huifu\command\CompensateQuery',
|
|
'addons\shopro_huifu\command\SplitRetry',
|
|
'addons\shopro_huifu\command\VerifyInstall',
|
|
'addons\shopro_huifu\command\RepairMenu',
|
|
'addons\shopro_huifu\command\InstallFull',
|
|
'addons\shopro_huifu\command\TestPayConnection',
|
|
'addons\shopro_huifu\command\ProbeWechatOnboarding',
|
|
'addons\shopro_huifu\command\QuerySplitConfig',
|
|
'addons\shopro_huifu\command\SyncSplitReceivers',
|
|
'addons\shopro_huifu\command\DiagnoseFreezeFlow',
|
|
'addons\shopro_huifu\command\OnboardPoll',
|
|
'addons\shopro_huifu\command\OnboardAutoSubmit',
|
|
'addons\shopro_huifu\command\ImportBankBranch',
|
|
'addons\shopro_wechat_trade\command\InitOrderPath',
|
|
'addons\shopro_wechat_trade\command\ProbeOrderPath',
|
|
'addons\shopro_wechat_trade\command\BackfillShipping',
|
|
'addons\shopro_wechat_trade\command\RetryFailed',
|
|
'addons\shopro_wechat_trade\command\ResyncShipping',
|
|
'addons\shopro_wechat_trade\command\ConfirmOrders',
|
|
'addons\shopro_wechat_trade\command\VerifyInstall',
|
|
'addons\shopro_wechat_trade\command\InstallFull',
|
|
'addons\shopro_aliyun_express\command\InstallFull',
|
|
];
|