作者 lyh

Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6 into lyh-server

@@ -227,7 +227,8 @@ class RankDataController extends BaseController @@ -227,7 +227,8 @@ class RankDataController extends BaseController
227 $rand = array_rand($ips, 3); 227 $rand = array_rand($ips, 3);
228 foreach ($rand as $val) { 228 foreach ($rand as $val) {
229 $rand_key = array_rand($ips[$val], 1); 229 $rand_key = array_rand($ips[$val], 1);
230 - $urls[] = 'http://' . $ips[$val][$rand_key] . '/search/?q=' . $param['keyword']; 230 + // https://www.quanqiusou.cn/search/?ip=64.34.204.224&q=China%20Bollard
  231 + $urls[] = 'https://www.quanqiusou.cn/search/?ip=' . $ips[$val][$rand_key] . '&q=' . $param['keyword'];
231 } 232 }
232 $data['urls'] = $urls; 233 $data['urls'] = $urls;
233 $this->response('success',Code::SUCCESS,$data); 234 $this->response('success',Code::SUCCESS,$data);
@@ -556,7 +556,7 @@ class InquiryForwardLogic extends BaseLogic @@ -556,7 +556,7 @@ class InquiryForwardLogic extends BaseLogic
556 556
557 //周统计 557 //周统计
558 $last_week_day = date('Y-m-d', strtotime('-1 week')); 558 $last_week_day = date('Y-m-d', strtotime('-1 week'));
559 - $week_manage_ids = ForwardCount::select('manage_id')->where('created_at', '>', $last_week_day . ' +1 day')->where('count', '>', 0)->orderBy('manage_id', 'asc')->distinct()->pluck('manage_id')->toArray(); 559 + $week_manage_ids = ForwardCount::select('manage_id')->where('created_at', '>', date('Y-m-d', strtotime($last_week_day . ' +1 day')))->where('count', '>', 0)->orderBy('manage_id', 'asc')->distinct()->pluck('manage_id')->toArray();
560 560
561 $data_week = []; 561 $data_week = [];
562 $data_week_total = []; 562 $data_week_total = [];
@@ -554,7 +554,7 @@ class RankDataLogic extends BaseLogic @@ -554,7 +554,7 @@ class RankDataLogic extends BaseLogic
554 $without_project_ids = []; //不用处理排名的项目 554 $without_project_ids = []; //不用处理排名的项目
555 $without_extension_project_ids = [658]; //是否达标只统计主词的 555 $without_extension_project_ids = [658]; //是否达标只统计主词的
556 $extension_project_ids = [354]; //扩展词也到达标的 556 $extension_project_ids = [354]; //扩展词也到达标的
557 - $compliance_project_ids = [2163,257,823,1750,497,1006]; //直接达标处理的 557 + $compliance_project_ids = [2163,257,823,1750,497,1006,2663]; //直接达标处理的
558 $ceaseProjectId = [354, 378, 649, 1226, 1283, 1703, 1893, 2066, 2250,2193,2399,1685, 3931,2273,3647,1934];//暂停的项目 558 $ceaseProjectId = [354, 378, 649, 1226, 1283, 1703, 1893, 2066, 2250,2193,2399,1685, 3931,2273,3647,1934];//暂停的项目
559 $uptimeProjectId = [1434,1812,276,2414,2974];//按上线时间统计的项目 559 $uptimeProjectId = [1434,1812,276,2414,2974];//按上线时间统计的项目
560 //一个项目多个api_no 560 //一个项目多个api_no