问题描述 这里写描述 我做了一个定时任务,用来每天减少用户的day值。 程序代码或配置 任务类: class DailyTask { public function onWorkerStart() { new Crontab('0 0 * * *', function () { $data = Admin::where('day', '>', 0)->...
问题描述 我看了webman/push的插件的描述,比如说 var connection = new Push({ url: 'ws://127.0.0.1:3131', // websocket地址 app_key: '<app_key,在config/plugin/webman/push/app.php里获取>', auth: '/plugin/webman/push/auth...