| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- declare (strict_types=1);
- namespace app\command;
- use app\controller\api\cron\CommissionCron;
- use think\console\Command;
- use think\console\Input;
- use think\console\Output;
- /**
- * Class PensionTasks
- * @package app\command
- * @author: php迷途小书童
- * @created: 2021/3/19 9:14
- */
- class CommissionCronTask extends Command
- {
- /**
- * @var string
- */
- private $appid;
- /**
- * @var string
- */
- private $appKey;
- /**
- * @var string
- */
- private $secretKey;
- /**
- * @var string
- */
- private $url;
- protected function configure()
- {
- // 指令配置
- $this->setName('CommissionCronTask')
- ->setDescription('the CommissionCronTask command');
- }
- protected function execute(Input $input, Output $output)
- {
- $commissionCron = new CommissionCron();
- $commissionCron->platform_income_detail_get();
- }
- }
|