feat(timer): 新增并发数/触发节点/触发时间三字段及幂等分发

Scheme 定义 concurrency(nullable)/trigger_node_id/last_trigger_time 三字段,Model 声明属性,v2.3.0 分发代码幂等 ALTER 保证升级自动同步。

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
augushong
2026-07-25 21:57:14 +08:00
parent 8dce4ab48a
commit 236a343fa9
3 changed files with 97 additions and 0 deletions

View File

@@ -13,6 +13,9 @@ use app\common\model\TimeModel;
* @property string $last_execute_node 最后执行节点ID
* @property int $last_execute_time 最后执行时间戳
* @property int $manual_trigger 手动触发标记:0=未触发,1=已触发 0:未触发,1:已触发
* @property int|null $concurrency 并发数:NULL=继承代码默认
* @property string|null $trigger_node_id 手动触发目标节点ID
* @property int|null $last_trigger_time 手动触发设置时间戳,用于TTL自动复位
* @property int $create_time 创建时间
*/
class SystemTimerConfig extends TimeModel