|
@@ -74,8 +74,8 @@ class Resource extends Main
|
|
# 资源评论列表
|
|
# 资源评论列表
|
|
public function getReviewList()
|
|
public function getReviewList()
|
|
{
|
|
{
|
|
- $data['type'] = Dever::input('type', 'is_numeric', '类型');
|
|
|
|
- $data['type_id'] = Dever::input('type_id', 'is_numeric', '类型ID');
|
|
|
|
|
|
+ $where['type'] = Dever::input('type', 'is_numeric', '类型');
|
|
|
|
+ $where['type_id'] = Dever::input('type_id', 'is_numeric', '类型ID');
|
|
# 每页10条
|
|
# 每页10条
|
|
$set['num'] = 10;
|
|
$set['num'] = 10;
|
|
$data = Dever::db('review', 'place')->select($where, $set);
|
|
$data = Dever::db('review', 'place')->select($where, $set);
|