CP 空间日志分页
This commit is contained in:
@@ -26,8 +26,10 @@ class UserCp extends BaseCom
|
||||
//Cp 空间
|
||||
public function cpZone()
|
||||
{
|
||||
$page = input('page', 1);
|
||||
$page_limit = input('page_limit', 15);
|
||||
$user_id = input('user_id', 0);
|
||||
$reslut = model('UserCp')->cpZone($user_id);
|
||||
$reslut = model('UserCp')->cpZone($user_id, $page, $page_limit);
|
||||
return V($reslut['code'], $reslut['msg'], $reslut['data']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user