列出更多ta评论数据

hotfix/远程访问多媒体中心
尹诚诚 8 years ago
parent 16c6ee0c7d
commit 361be4f5b5

@ -18,7 +18,7 @@ class Index extends CI_Controller {
$this->permission->is_admin(); $this->permission->is_admin();
$data = array(); $data = array();
$data['city'] = $city; $data['city'] = $city;
$data['ta_review_list'] = $this->Tripadvisor_Review_model->search(30, $data['city']); $data['ta_review_list'] = $this->Tripadvisor_Review_model->search(200, $data['city']);
$this->load->view('bootstrap3/header', $data); $this->load->view('bootstrap3/header', $data);
$this->load->view('welcome'); $this->load->view('welcome');
$this->load->view('bootstrap3/footer'); $this->load->view('bootstrap3/footer');

@ -99,6 +99,9 @@ class Tripadvisor_Review_model extends CI_Model {
} }
public function find_group($city, $start_date, $end_date) { public function find_group($city, $start_date, $end_date) {
if($city=='Panda'){
$city='chengdu';
}
$sql = " $sql = "
SELECT top 100 GRI_No SELECT top 100 GRI_No
,coli_id ,coli_id

Loading…
Cancel
Save