From 0da3305ee54c4822390a6473df20d4063c7208b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 15 Mar 2021 18:22:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8C=87=E4=BB=A4=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/data/command/UserUpgrade.php | 2 +- app/data/controller/UserRebate.php | 1 - app/data/controller/UserUpgrade.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/data/command/UserUpgrade.php b/app/data/command/UserUpgrade.php index 4e2c30267..738372301 100644 --- a/app/data/command/UserUpgrade.php +++ b/app/data/command/UserUpgrade.php @@ -17,7 +17,7 @@ class UserUpgrade extends Command { protected function configure() { - $this->setName('xdata:UserLevel'); + $this->setName('xdata:UserUpgrade'); $this->setDescription('批量重新计算用户等级'); } diff --git a/app/data/controller/UserRebate.php b/app/data/controller/UserRebate.php index 99edfc341..2bfd19136 100644 --- a/app/data/controller/UserRebate.php +++ b/app/data/controller/UserRebate.php @@ -29,7 +29,6 @@ class UserRebate extends Controller */ public function index() { - $this->title = '用户返利记录'; // 统计所有返利 $this->rebate = UserUpgradeService::instance()->syncRebate(0); diff --git a/app/data/controller/UserUpgrade.php b/app/data/controller/UserUpgrade.php index 8593696a9..626fded99 100644 --- a/app/data/controller/UserUpgrade.php +++ b/app/data/controller/UserUpgrade.php @@ -121,7 +121,7 @@ class UserUpgrade extends Controller */ public function sync() { - $this->_queue('重新计算所有会员等级', 'xdata:UserLevel'); + $this->_queue('重新计算所有会员等级', 'xdata:UserUpgrade'); } /**