用户每日活跃检测

This commit is contained in:
cano
2024-03-02 16:53:43 +08:00
parent 1a9008b318
commit f5f7168009
9 changed files with 244 additions and 1 deletions

View File

@ -0,0 +1,35 @@
<?php
namespace App\Console\Commands;
use App\Models\Customer\CustomerUserExtendModel;
use Illuminate\Console\Command;
class DailyCheckUserActiveStatus extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'app:daily-check-user-active-status';
/**
* The console command description.
*
* @var string
*/
protected $description = '每日更新用户活跃状态';
/**
* Execute the console command.
*/
public function handle()
{
$this->info('每日更新用户活跃状态');
$this->info('开始...');
$oCustomerUserExtendModelExtend = new CustomerUserExtendModel();
$oCustomerUserExtendModelExtend->updateUserActiveStatus();
$this->info('结束...');
}
}