|
|
|
@ -1105,7 +1105,7 @@ class Information extends CI_Controller
|
|
|
|
|
//读取备用节点
|
|
|
|
|
if (empty($data) && !empty($recommand->ir_urls)) {//查不到信息并且备选urls不为空,则随机选一条
|
|
|
|
|
$url_array = explode("\n", $recommand->ir_urls);
|
|
|
|
|
$data = $this->Information_model->Detail($url_array[rand(0, count($url_array) - 1)]);
|
|
|
|
|
$data = $this->Information_model->Detail(trim($url_array[rand(0, count($url_array) - 1)]));
|
|
|
|
|
}
|
|
|
|
|
if (!empty($data)) {
|
|
|
|
|
$exclude_ids[] = $data->is_id;
|
|
|
|
|