正在显示
3 个修改的文件
包含
2 行增加
和
7 行删除
| @@ -147,11 +147,7 @@ class ComController extends BaseController | @@ -147,11 +147,7 @@ class ComController extends BaseController | ||
| 147 | } | 147 | } |
| 148 | 148 | ||
| 149 | public function ceshi(){ | 149 | public function ceshi(){ |
| 150 | - $data = DB::table('gl_customer_visit') | ||
| 151 | - ->select('country',DB::raw('COUNT(*) as ip'),DB::raw('SUM(depth) as pv')) | ||
| 152 | - ->groupBy('country')->where(['domain'=>'http://lxl.petuu.shop/']) | ||
| 153 | - ->orderBy('ip','desc')->limit(10)->get()->toArray(); | ||
| 154 | - return $data; | 150 | + |
| 155 | } | 151 | } |
| 156 | 152 | ||
| 157 | /** | 153 | /** |
| @@ -48,7 +48,6 @@ class CountLogic extends BaseLogic | @@ -48,7 +48,6 @@ class CountLogic extends BaseLogic | ||
| 48 | 'company'=>$this->project['company'], | 48 | 'company'=>$this->project['company'], |
| 49 | 'scheme'=>$this->project['deploy_build']['plan'], | 49 | 'scheme'=>$this->project['deploy_build']['plan'], |
| 50 | 'service_duration'=>$this->project['deploy_build']['service_duration'], | 50 | 'service_duration'=>$this->project['deploy_build']['service_duration'], |
| 51 | - 'domain'=>$this->project['deploy_build']['test_domain'] | ||
| 52 | ]; | 51 | ]; |
| 53 | return $this->success($data); | 52 | return $this->success($data); |
| 54 | } | 53 | } |
| @@ -28,7 +28,7 @@ class DeptUserLogic extends BaseLogic | @@ -28,7 +28,7 @@ class DeptUserLogic extends BaseLogic | ||
| 28 | $rs = $this->dept_user_add(); | 28 | $rs = $this->dept_user_add(); |
| 29 | } | 29 | } |
| 30 | if ($rs === false) { | 30 | if ($rs === false) { |
| 31 | - $this->fail('部门添加成员失败'); | 31 | + $this->fail('error'); |
| 32 | } | 32 | } |
| 33 | return $this->success(); | 33 | return $this->success(); |
| 34 | } | 34 | } |
-
请 注册 或 登录 后发表评论