修改指令名称

This commit is contained in:
邹景立 2021-03-15 18:22:12 +08:00
parent a38ac4f690
commit 0da3305ee5
3 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,7 @@ class UserUpgrade extends Command
{
protected function configure()
{
$this->setName('xdata:UserLevel');
$this->setName('xdata:UserUpgrade');
$this->setDescription('批量重新计算用户等级');
}

View File

@ -29,7 +29,6 @@ class UserRebate extends Controller
*/
public function index()
{
$this->title = '用户返利记录';
// 统计所有返利
$this->rebate = UserUpgradeService::instance()->syncRebate(0);

View File

@ -121,7 +121,7 @@ class UserUpgrade extends Controller
*/
public function sync()
{
$this->_queue('重新计算所有会员等级', 'xdata:UserLevel');
$this->_queue('重新计算所有会员等级', 'xdata:UserUpgrade');
}
/**