CP 空间日志分页

This commit is contained in:
2025-11-22 11:12:27 +08:00
parent d40d71ab68
commit 7413753d63
2 changed files with 5 additions and 3 deletions

View File

@@ -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']);
}