mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-24 20:06: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();
|
||||
|
||||
if (empty($groups)) {
|
||||
return [];
|
||||
}
|
||||
if (empty($groups)) return [];
|
||||
|
||||
$result = [];
|
||||
|
||||
@ -72,7 +70,6 @@ class ImActiveGroupList extends Cache
|
||||
->orderBy('total_count DESC')
|
||||
->where('receiver_type = :type:', ['type' => ImMessageModel::TYPE_GROUP])
|
||||
->betweenWhere('create_time', $startTime, $endTime)
|
||||
->andWhere('published = 1')
|
||||
->andWhere('deleted = 0')
|
||||
->limit($limit)
|
||||
->execute();
|
||||
|
@ -32,9 +32,7 @@ class ImActiveUserList extends Cache
|
||||
{
|
||||
$users = $this->findUsers($id);
|
||||
|
||||
if (empty($users)) {
|
||||
return [];
|
||||
}
|
||||
if (empty($users)) return [];
|
||||
|
||||
$result = [];
|
||||
|
||||
|
@ -32,9 +32,7 @@ class ImGroupActiveUserList extends Cache
|
||||
{
|
||||
$users = $this->findUsers($id);
|
||||
|
||||
if (empty($users)) {
|
||||
return [];
|
||||
}
|
||||
if (empty($users)) return [];
|
||||
|
||||
$result = [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user