更新测试推荐信息

hotfix/paypal-note
Jimmy Liow 2 years ago
parent 3ceeeefeaa
commit cebc4de0d2

@ -990,9 +990,7 @@ class Information extends CI_Controller
$tipsRightList = [];
for ($i=1; $i <= 36; $i++) {
$key = 'List Tips Right '.$i;
if (array_key_exists($key, $recommand_information) &&
$recommand_information[$key] != false) {
var_dump($recommand_information[$key]);
if (array_key_exists($key, $recommand_information) && $recommand_information[$key]) {
$tipsRightList[] = $recommand_information[$key];
}
}
@ -1001,6 +999,9 @@ class Information extends CI_Controller
$secondList = array_slice($tipsRightList, 12, 12);
$thirdList = array_slice($tipsRightList, 24, 12);
echo 'COUNT: '.COUNT($tipsRightList);
echo '1 COUNT: '.COUNT($firstList);
echo '2 COUNT: '.COUNT($secondList);
echo '3 COUNT: '.COUNT($thirdList);
$tips_right_list_content = $this->load->view(
'mobile_first/ah-tips-right-list',

Loading…
Cancel
Save