1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-23 20:00:27 +08:00
2020-08-22 19:47:57 +08:00

42 lines
677 B
PHP

<?php
namespace App\Http\Desktop\Services;
use App\Caches\ImActiveGroupList;
use App\Caches\ImActiveUserList;
use App\Caches\ImNewGroupList;
use App\Caches\ImNewUserList;
trait ImStatTrait
{
public function getActiveGroups()
{
$cache = new ImActiveGroupList();
return $cache->get();
}
public function getActiveUsers()
{
$cache = new ImActiveUserList();
return $cache->get();
}
public function getNewGroups()
{
$cache = new ImNewGroupList();
return $cache->get();
}
public function getNewUsers()
{
$cache = new ImNewUserList();
return $cache->get();
}
}