任务配置
异步任务组件的配置写在component.php
中,样式如下:
'task' => [
'open_task' => true, // 是否开启异步任务模块
'task_path' => '/app/task/', // 任务文件路径
],
异步任务组件的配置写在component.php
中,样式如下:
'task' => [
'open_task' => true, // 是否开启异步任务模块
'task_path' => '/app/task/', // 任务文件路径
],