无法更新的页面增加[]

一次更新数量改为100
hotfix/远程访问多媒体中心
LiaoYijun 7 years ago
parent 280f58bbe4
commit 41c85cfeba

@ -205,7 +205,7 @@ class Welcome extends CI_Controller {
$http_host = 'http://www.chinahighlights.com/';
$https_host = 'https://www.chinahighlights.com/';
$data['all_information'] =
$this->Information_model->search_all_text($http_host, 50);
$this->Information_model->search_all_text($http_host, 100);
echo 'count: '.count($data['all_information']).'<br/>';
if (empty($data['all_information'])) {
echo 'nothing transform to https';
@ -214,7 +214,7 @@ class Welcome extends CI_Controller {
if (empty($item->ic_url) || empty($item->ic_type) ||
empty($item->ic_seo_keywords) || empty($item->ic_seo_title) || empty($item->ic_seo_description)) {
echo '<span style="color: red;">'.$item->ic_title .' has null value too many.</span> <br/>';
echo '<span style="color: red;">['.$item->ic_title .'] has null value too many.</span> <br/>';
continue;
} else {
echo $item->ic_url.' | '.$item->ic_title.'<br/>';

Loading…
Cancel
Save