hotfix/paypal-note
LMR 2 years ago
parent ec13581dfa
commit 416bdfa0c8

@ -571,7 +571,7 @@ class Information extends CI_Controller
} else { } else {
return false; return false;
} }
break; // break;
case 'delete': case 'delete':
if (is_file($html_file_mobile)) { if (is_file($html_file_mobile)) {
unlink($html_file_mobile); unlink($html_file_mobile);
@ -1041,7 +1041,8 @@ class Information extends CI_Controller
array( array(
'tips_right_a' => $tips_right_a, 'tips_right_a' => $tips_right_a,
'tips_right_b' => $tips_right_b, 'tips_right_b' => $tips_right_b,
'tips_right_c' => $tips_right_c), 'tips_right_c' => $tips_right_c
),
true true
); );
echo $tips_right_list_content; echo $tips_right_list_content;
@ -1214,7 +1215,8 @@ class Information extends CI_Controller
} }
//使用正则匹配出价格标签,返回一个价格数组 //使用正则匹配出价格标签,返回一个价格数组
private function price_pregmatch($content) { private function price_pregmatch($content)
{
$price_array = array(); $price_array = array();
$temp_array = array(); $temp_array = array();
$result = false; $result = false;
@ -1240,7 +1242,8 @@ class Information extends CI_Controller
case 'EC': case 'EC':
$cli_grade = '7003'; $cli_grade = '7003';
break; break;
default :$cli_grade = '7001'; default:
$cli_grade = '7001';
} }
$person_size = (!empty($price_array[2]) && is_numeric($price_array[2])) ? $price_array[2] : 2; //人等1,2-5,6-9,10默认2人等 $person_size = (!empty($price_array[2]) && is_numeric($price_array[2])) ? $price_array[2] : 2; //人等1,2-5,6-9,10默认2人等
//为了兼容以前的人等方式,把算数人等转换为单数 25=>2 //为了兼容以前的人等方式,把算数人等转换为单数 25=>2
@ -1644,7 +1647,8 @@ class Information extends CI_Controller
array( array(
'tips_right_a' => $tips_right_a, 'tips_right_a' => $tips_right_a,
'tips_right_b' => $tips_right_b, 'tips_right_b' => $tips_right_b,
'tips_right_c' => $tips_right_c), 'tips_right_c' => $tips_right_c
),
true true
); );
@ -2292,10 +2296,10 @@ class Information extends CI_Controller
case 'rule_show_tips': //显示广告 case 'rule_show_tips': //显示广告
$data = $this->recommends_and_tips_model->tips_detail($recommand->ir_pointer_it_id); $data = $this->recommends_and_tips_model->tips_detail($recommand->ir_pointer_it_id);
return array($recommand->ir_name => $data); return array($recommand->ir_name => $data);
break; //break;
case 'rule_no_show': //不显示 case 'rule_no_show': //不显示
return array($recommand->ir_name => false); return array($recommand->ir_name => false);
break; //break;
default: //'rule_parent'://继承上级规则则留空,程序会循环一遍分组的规则 default: //'rule_parent'://继承上级规则则留空,程序会循环一遍分组的规则
return false; return false;
} }
@ -2568,7 +2572,7 @@ class Information extends CI_Controller
break; break;
default: default:
return false; return false;
break; //break;
} }
$content = GET_HTTP($url); $content = GET_HTTP($url);

Loading…
Cancel
Save