作者 赵彬吉

update

@@ -285,8 +285,9 @@ class WebTraffic extends Command @@ -285,8 +285,9 @@ class WebTraffic extends Command
285 ->where('project_id', $project_id)->where('status', Category::STATUS_ACTIVE)->pluck('route','id')->toArray(); 285 ->where('project_id', $project_id)->where('status', Category::STATUS_ACTIVE)->pluck('route','id')->toArray();
286 286
287 //已发布单页面 287 //已发布单页面
288 - $data['urls_page'] = DB::connection('custom_mysql')->table('gl_web_custom_template')  
289 - ->where('project_id', $project_id)->where('status', BCustomTemplate::STATUS_ACTIVE)->pluck('url', 'id')->toArray(); 288 + $data['urls_page'] = [];
  289 +// $data['urls_page'] = DB::connection('custom_mysql')->table('gl_web_custom_template')
  290 +// ->where('project_id', $project_id)->where('url', '<>', '404')->where('status', BCustomTemplate::STATUS_ACTIVE)->pluck('url', 'id')->toArray();
290 291
291 //已发布产品详情页 292 //已发布产品详情页
292 $data['urls_details'] = DB::connection('custom_mysql')->table('gl_product') 293 $data['urls_details'] = DB::connection('custom_mysql')->table('gl_product')