query_add_agreement.php 579 B

1234567891011121314151617181920212223242526
  1. <?php
  2. declare (strict_types = 1);
  3. namespace app\command;
  4. use think\console\Command;
  5. use think\console\Input;
  6. use think\console\input\Argument;
  7. use think\console\input\Option;
  8. use think\console\Output;
  9. class query_add_agreement extends Command
  10. {
  11. protected function configure()
  12. {
  13. // 指令配置
  14. $this->setName('query_add_agreement')
  15. ->setDescription('the query_add_agreement command');
  16. }
  17. protected function execute(Input $input, Output $output)
  18. {
  19. // 指令输出
  20. $output->writeln('query_add_agreement');
  21. }
  22. }