|
@@ -397,6 +397,7 @@ class Index extends Api
|
|
|
$whereOr["party_id"] = $search;
|
|
|
$whereOr["party_name"] = ["like","%$search%"];
|
|
|
//$where['is_online'] = 1;
|
|
|
+ $where['is_close'] = 0;
|
|
|
$where['status'] = 1;
|
|
|
$partyList = \app\common\model\Party::field("id,party_logo,party_id,party_name,party_type")
|
|
|
->where($where)
|
|
@@ -447,8 +448,8 @@ class Index extends Api
|
|
|
}
|
|
|
/*$mod = intval($gKey)%5;
|
|
|
$pVal["party_type_color"] = $mod == 0?5:$mod;*/
|
|
|
- $pVal["party_type_color"] = 1;
|
|
|
- $pVal["type_name"] = '普通房';
|
|
|
+ $gVal["party_type_color"] = 1;
|
|
|
+ $gVal["type_name"] = '普通房';
|
|
|
$gVal['member_list'] = $userData;
|
|
|
$gVal['online_num'] = count($userData);
|
|
|
unset($gVal['guildmember']);
|