数据库里面的数据如下:

控制器的写法如下:

model的写法如下:


ob
["simple":protected] => bool(false)
["items":protected] => ob
["items":protected] => array(0) {
}
}
["currentPage":protected] => int(1)
["lastPage":protected] => int(0)
["total":protected] => int(0)
["listRows":protected] => int(4)
["hasMore":protected] => bool(false)
["options":protected] => array(6) {
["var_page"] => string(4) "page"
["path"] => string(21) "/admin/user/list.html"
["query"] => array(0) {
}
["fragment"] => string(0) ""
["type"] => string(9) "bootstrap"
["list_rows"] => int(15)
}
}
修改databa
最佳答案