hyperf / xxl-job-incubator

MIT License
39 stars 7 forks source link

xxl-job-admin 如何能查看到 调度备注 中的 msg? #10

Open wangyouworld opened 1 year ago

wangyouworld commented 1 year ago

xxl-job-admin 中 调度日志菜单中,调度备注列下,点击查看:

任务触发类型:手动触发 调度机器:192.168.1.22 执行器-注册方式:自动注册 执行器-地址列表:[http://192.168.199.137:9501/php-xxl-job/] 路由策略:第一个 阻塞处理策略:单机串行 任务超时时间:0 失败重试次数:0

触发调度<<<<<<<<<<< 触发调度: address:http://192.168.199.137:9501/php-xxl-job/ code:200 msg:null —————————— msg 是 null,我如何才能返回 msg,现在是 null。 我尝试

use Hyperf\XxlJob\Responses\RunResponse;
return new RunResponse(200, ‘success’);

不行,看来没这功能。

hyperf 版本是2.2, 及 "hyperf/xxl-job-incubator": "~0.1.3"