mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-25 12:09:09 +08:00
Merge branch 'koogua/v1.4.5'
This commit is contained in:
commit
fffb2c4e8e
@ -33,9 +33,7 @@ class ImActiveGroupList extends Cache
|
|||||||
{
|
{
|
||||||
$groups = $this->findGroups();
|
$groups = $this->findGroups();
|
||||||
|
|
||||||
if (empty($groups)) {
|
if (empty($groups)) return [];
|
||||||
return [];
|
|
||||||
}
|
|
||||||
|
|
||||||
$result = [];
|
$result = [];
|
||||||
|
|
||||||
@ -72,7 +70,6 @@ class ImActiveGroupList extends Cache
|
|||||||
->orderBy('total_count DESC')
|
->orderBy('total_count DESC')
|
||||||
->where('receiver_type = :type:', ['type' => ImMessageModel::TYPE_GROUP])
|
->where('receiver_type = :type:', ['type' => ImMessageModel::TYPE_GROUP])
|
||||||
->betweenWhere('create_time', $startTime, $endTime)
|
->betweenWhere('create_time', $startTime, $endTime)
|
||||||
->andWhere('published = 1')
|
|
||||||
->andWhere('deleted = 0')
|
->andWhere('deleted = 0')
|
||||||
->limit($limit)
|
->limit($limit)
|
||||||
->execute();
|
->execute();
|
||||||
|
@ -32,9 +32,7 @@ class ImActiveUserList extends Cache
|
|||||||
{
|
{
|
||||||
$users = $this->findUsers($id);
|
$users = $this->findUsers($id);
|
||||||
|
|
||||||
if (empty($users)) {
|
if (empty($users)) return [];
|
||||||
return [];
|
|
||||||
}
|
|
||||||
|
|
||||||
$result = [];
|
$result = [];
|
||||||
|
|
||||||
|
@ -32,9 +32,7 @@ class ImGroupActiveUserList extends Cache
|
|||||||
{
|
{
|
||||||
$users = $this->findUsers($id);
|
$users = $this->findUsers($id);
|
||||||
|
|
||||||
if (empty($users)) {
|
if (empty($users)) return [];
|
||||||
return [];
|
|
||||||
}
|
|
||||||
|
|
||||||
$result = [];
|
$result = [];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user