setName('balance-wages') ->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/RoomWages')->statistics_room_last_week_earnings(1); model('api/RoomWages')->statistics_guild_last_week_earnings(1); echo '结算工资监控!'.PHP_EOL;; } }