Bug3: 解耦积分奖励与佣金发放,报单订单只要推荐人存在即触发积分, 不再依赖 brokeragePrice > 0;grantFrozenPointsByBrokerage 移至 佣金判断之前独立执行。 Bug1: 定时任务手动触发返回真实结果 —— 补充 fsgx_release_frozen_points 到 taskName 映射;runNow() try/catch 后抛出异常;控制器捕获并返回 fail;修复 SystemTimer listener catch 块运算符优先级 bug。 Bug5: PointsReleaseServices 每日释放同步写入 eb_user_bill,使管理 后台积分日志页面可见;UserPointServices::pointRecord $status 数组 补充 hjf_frozen_direct/hjf_frozen_umbrella/frozen_points_release 等 fsgx 类型映射,防止未知类型报错。 Bug2: hjfMember.js getTeamData 改为 POST 与路由匹配;loadTeamData 字段映射 total/totalLevel/order_count → 界面展示字段。 Bug4: 新增 HjfPatchMissingRewards 命令(hjf:patch-rewards),支持 扫描全量/指定订单补发缺失积分奖励,支持 --dry-run 预览;注册命令 到 config/console.php。 Made-with: Cursor
30 lines
1.4 KiB
PHP
30 lines
1.4 KiB
PHP
<?php
|
||
// +----------------------------------------------------------------------
|
||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||
// +----------------------------------------------------------------------
|
||
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
|
||
// +----------------------------------------------------------------------
|
||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||
// +----------------------------------------------------------------------
|
||
// | Author: liu21st <liu21st@gmail.com>
|
||
// +----------------------------------------------------------------------
|
||
|
||
// +----------------------------------------------------------------------
|
||
// | 控制台配置
|
||
// +----------------------------------------------------------------------
|
||
return [
|
||
// 执行用户(Windows下无效)
|
||
'user' => null,
|
||
// 指令定义
|
||
'commands' => [
|
||
'make:dao' => \crmeb\command\Dao::class,
|
||
'make:service' => \crmeb\command\Service::class,
|
||
'install' => \crmeb\command\Install::class,
|
||
'clear:cache' => \app\command\ClearCache::class,
|
||
'reset:password' => \app\command\ResetAdminPwd::class,
|
||
'holiday_gift_push_task' => \app\command\HolidayGiftPushTask::class,
|
||
'hjf:release-points' => \app\command\HjfReleasePoints::class,
|
||
'hjf:patch-rewards' => \app\command\HjfPatchMissingRewards::class,
|
||
],
|
||
];
|