挚友
This commit is contained in:
@@ -285,4 +285,14 @@ class User extends BaseCom
|
||||
$reslut = model('UserWallet')->give_coin($this->uid, $give_uid, $coin);
|
||||
return V($reslut['code'], $reslut['msg'], $reslut['data']);
|
||||
}
|
||||
|
||||
//挚友列表
|
||||
public function get_friend_list()
|
||||
{
|
||||
$user_id = input('user_id', 0);//用户id
|
||||
$page = input('page', 1);
|
||||
$page_limit = input('page_limit', 30);
|
||||
$reslut = model('User')->get_friend_list($user_id, $page, $page_limit);
|
||||
return V($reslut['code'], $reslut['msg'], $reslut['data']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user