Task.php 926 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace app\command;
  3. // +----------------------------------------------------------------------
  4. // | [ WE CAN DO IT MORE SIMPLE ]
  5. // +----------------------------------------------------------------------
  6. // | Copyright (c) 2018-2020 rights reserved.
  7. // +----------------------------------------------------------------------
  8. // | Author: TABLE ME
  9. // +----------------------------------------------------------------------
  10. // | Date: 2020-09-08 16:19
  11. // +----------------------------------------------------------------------
  12. use app\model\system\Product;
  13. use library\utils\Qiniu;
  14. use think\console\Command;
  15. use think\console\Input;
  16. use think\console\Output;
  17. class Task extends Command
  18. {
  19. protected function configure()
  20. {
  21. // 指令配置
  22. $this->setName('Task')
  23. ->setDescription('任务执行期');
  24. }
  25. protected function execute(Input $input, Output $output)
  26. {
  27. }
  28. }