|
|
|
@ -985,10 +985,16 @@ class Information extends CI_Controller
|
|
|
|
|
|
|
|
|
|
public function test_recommand()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
$information = $this->Information_model->Detail($this->input->get('is_id'));
|
|
|
|
|
$recommand_information = $this->recommand_information($information);
|
|
|
|
|
var_dump($recommand_information);
|
|
|
|
|
$tipsRightList = [];
|
|
|
|
|
for ($i=0; $i < 36; $i++) {
|
|
|
|
|
$key = 'List Tips Right '.i;
|
|
|
|
|
if (array_key_exists($key, $recommand_information)) {
|
|
|
|
|
$tipsRightList[] = $recommand_information[$key];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
var_dump($tipsRightList);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function test_feedback()
|
|
|
|
|