mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-22 14:59:14 +08:00
修改指令名称
This commit is contained in:
parent
a38ac4f690
commit
0da3305ee5
@ -17,7 +17,7 @@ class UserUpgrade extends Command
|
|||||||
{
|
{
|
||||||
protected function configure()
|
protected function configure()
|
||||||
{
|
{
|
||||||
$this->setName('xdata:UserLevel');
|
$this->setName('xdata:UserUpgrade');
|
||||||
$this->setDescription('批量重新计算用户等级');
|
$this->setDescription('批量重新计算用户等级');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ class UserRebate extends Controller
|
|||||||
*/
|
*/
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
|
|
||||||
$this->title = '用户返利记录';
|
$this->title = '用户返利记录';
|
||||||
// 统计所有返利
|
// 统计所有返利
|
||||||
$this->rebate = UserUpgradeService::instance()->syncRebate(0);
|
$this->rebate = UserUpgradeService::instance()->syncRebate(0);
|
||||||
|
@ -121,7 +121,7 @@ class UserUpgrade extends Controller
|
|||||||
*/
|
*/
|
||||||
public function sync()
|
public function sync()
|
||||||
{
|
{
|
||||||
$this->_queue('重新计算所有会员等级', 'xdata:UserLevel');
|
$this->_queue('重新计算所有会员等级', 'xdata:UserUpgrade');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user