setName('statistics-guild-last-week-earnings') ->setDescription('统计上周公会流水'); // } /** * 清理过期装扮 * @param Input $input * @param Output $output * @return int|void|null * @throws \think\Exception * @throws \think\exception\PDOException */ protected function execute(Input $input, Output $output) { model('api/GuildSubsidy')->statistics_guild_last_week_earnings(0); echo '统计上周公会流水!'.PHP_EOL; } }