|
|
|
|
@ -119,11 +119,11 @@ class HomeController extends CommonController
|
|
|
|
|
->where('model_type', 'App\Admin')->where('model_id', $userId)->count();
|
|
|
|
|
|
|
|
|
|
if (is_mobile() || empty($tongji)) {
|
|
|
|
|
$jumpDp = 0;
|
|
|
|
|
if ($dp) $jumpDp = 1;
|
|
|
|
|
return view($this->bladePath . ".mobile_home", ['jump_dp' => $jumpDp]);
|
|
|
|
|
return view($this->bladePath . ".mobile_home");
|
|
|
|
|
} else {
|
|
|
|
|
return view($this->bladePath . ".home", compact('project_id', 'projects', 'counts', 'lies', 'saleList', 'orderList'));
|
|
|
|
|
$jump_dp = 0;
|
|
|
|
|
if ($dp) $jump_dp = 1;
|
|
|
|
|
return view($this->bladePath . ".home", compact('jump_dp', 'project_id', 'projects', 'counts', 'lies', 'saleList', 'orderList'));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|