挚友列表
This commit is contained in:
@@ -973,8 +973,8 @@ class User extends Model
|
|||||||
$no_cp = [];
|
$no_cp = [];
|
||||||
if($relation){
|
if($relation){
|
||||||
foreach ($relation as $k => $v){
|
foreach ($relation as $k => $v){
|
||||||
$no_cp['relation_name'][$k] = $v['name'];
|
$no_cp[$k]['relation_name'] = $v['name'];
|
||||||
$no_cp['relation_list'][$k] = $this->relation_card($v['id'],$user_id);
|
$no_cp[$k]['relation_list'] = $this->relation_card($v['id'],$user_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$return_data['no_cp'] = $no_cp;
|
$return_data['no_cp'] = $no_cp;
|
||||||
|
|||||||
Reference in New Issue
Block a user