fix(fsgx): 积分释放定时任务、佣金轮巡与 UniApp 体验
- PointsReleaseServices: 使用 Db::table 查询与更新,构造函数注入 UserDao;日志与账单独立 try/catch\n- SystemTimer: implement_timer 捕获后重新抛出异常,便于 run_now 返回错误\n- SystemTimerServices / 控制器: runNow 返回任务结果并在 API 中带回 result\n- StoreOrderCreateServices: 报单佣金位次修正与多件轮巡\n- UniApp: 佣金记录跳转 type=2、余额提现免手续费展示、状态页与资产页头部渐变与提现页一致\n- docs: 增加 fsgx-issues-0328-1 问题跟踪 Made-with: Cursor
This commit is contained in:
@@ -119,8 +119,8 @@ class SystemTimer extends AuthController
|
||||
return $this->fail('定时任务标识不存在');
|
||||
}
|
||||
try {
|
||||
$this->services->runNow($mark);
|
||||
return $this->success('任务已触发并执行成功');
|
||||
$result = $this->services->runNow($mark);
|
||||
return $this->success('任务已触发并执行成功', ['result' => $result]);
|
||||
} catch (\Throwable $e) {
|
||||
return $this->fail($e->getMessage());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user