diff --git a/app/data/command/OrderClean.php b/app/data/command/OrderClean.php index 03a237b19..78a267584 100644 --- a/app/data/command/OrderClean.php +++ b/app/data/command/OrderClean.php @@ -6,7 +6,6 @@ use app\data\model\ShopOrder; use app\data\model\ShopOrderItem; use app\data\service\OrderService; use think\admin\Command; -use think\admin\Exception; use think\console\Input; use think\console\Output; use think\Model; @@ -26,10 +25,10 @@ class OrderClean extends Command /** * 业务指令执行 - * @param Input $input - * @param Output $output + * @param \think\console\Input $input + * @param \think\console\Output $output * @return void - * @throws Exception + * @throws \think\admin\Exception */ protected function execute(Input $input, Output $output) { @@ -39,7 +38,8 @@ class OrderClean extends Command /** * 自动取消30分钟未支付的订单 - * @throws Exception + * @return void + * @throws \think\admin\Exception */ private function _autoCancelOrder() { @@ -60,7 +60,8 @@ class OrderClean extends Command /** * 自动清理已经取消的订单 - * @throws Exception + * @return void + * @throws \think\admin\Exception */ private function _autoRemoveOrder() { diff --git a/app/data/command/UserAgent.php b/app/data/command/UserAgent.php index fd18ac27d..5c4ac539b 100644 --- a/app/data/command/UserAgent.php +++ b/app/data/command/UserAgent.php @@ -25,8 +25,8 @@ class UserAgent extends Command } /** - * @param Input $input - * @param Output $output + * @param \think\console\Input $input + * @param \think\console\Output $output * @return void * @throws \think\admin\Exception * @throws \think\db\exception\DataNotFoundException diff --git a/app/data/command/UserAmount.php b/app/data/command/UserAmount.php index 3bfa15ef5..106e68d6d 100644 --- a/app/data/command/UserAmount.php +++ b/app/data/command/UserAmount.php @@ -6,7 +6,6 @@ use app\data\model\DataUser; use app\data\service\UserBalanceService; use app\data\service\UserRebateService; use think\admin\Command; -use think\admin\Exception; use think\console\Input; use think\console\Output; @@ -24,10 +23,11 @@ class UserAmount extends Command } /** - * @param Input $input - * @param Output $output + * @param \think\console\Input $input + * @param \think\console\Output $output * @return void - * @throws Exception + * @throws \think\admin\Exception + * @throws \think\db\exception\DbException */ protected function execute(Input $input, Output $output) { diff --git a/app/data/command/UserTransfer.php b/app/data/command/UserTransfer.php index da5c36071..d932c8a3c 100644 --- a/app/data/command/UserTransfer.php +++ b/app/data/command/UserTransfer.php @@ -28,10 +28,11 @@ class UserTransfer extends Command /** * 执行微信提现操作 - * @param Input $input - * @param Output $output + * @param \think\console\Input $input + * @param \think\console\Output $output * @return void * @throws \think\admin\Exception + * @throws \think\db\exception\DbException */ protected function execute(Input $input, Output $output) { diff --git a/app/data/command/UserUpgrade.php b/app/data/command/UserUpgrade.php index c2ceac0c6..30779265c 100644 --- a/app/data/command/UserUpgrade.php +++ b/app/data/command/UserUpgrade.php @@ -23,10 +23,10 @@ class UserUpgrade extends Command } /** - * @param Input $input - * @param Output $output + * @param \think\console\Input $input + * @param \think\console\Output $output * @return void - * @throws Exception + * @throws \think\admin\Exception */ protected function execute(Input $input, Output $output) {