|
@@ -77,7 +77,7 @@ class Resource extends Main
|
|
|
$where['type'] = Dever::input('type', 'is_numeric', '类型');
|
|
|
$where['type_id'] = Dever::input('type_id', 'is_numeric', '类型ID');
|
|
|
# 每页10条
|
|
|
- $set['num'] = 10;
|
|
|
+ $set['num'] = Dever::input('num', 'is_numeric', '分页条数', 3);
|
|
|
$data = Dever::db('review', 'place')->select($where, $set);
|
|
|
if ($data) {
|
|
|
foreach ($data as &$v) {
|