Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -201,13 +201,13 @@ class ProjectController extends BaseController | @@ -201,13 +201,13 @@ class ProjectController extends BaseController | ||
| 201 | */ | 201 | */ |
| 202 | public function searchChannel(&$query){ | 202 | public function searchChannel(&$query){ |
| 203 | if(isset($this->map['zone_id']) && !empty($this->map['zone_id'])){ | 203 | if(isset($this->map['zone_id']) && !empty($this->map['zone_id'])){ |
| 204 | - $query->where('gl_project.channel','like','%"zone_id": "'.$this->map['channel_id'].'"%'); | 204 | + $query->where('gl_project.channel','like','%"zone_id": "'.$this->map['zone_id'].'"%'); |
| 205 | } | 205 | } |
| 206 | if(isset($this->map['channel_id']) && !empty($this->map['channel_id'])){ | 206 | if(isset($this->map['channel_id']) && !empty($this->map['channel_id'])){ |
| 207 | $query->where('gl_project.channel','like','%"channel_id": "'.$this->map['channel_id'].'"%'); | 207 | $query->where('gl_project.channel','like','%"channel_id": "'.$this->map['channel_id'].'"%'); |
| 208 | } | 208 | } |
| 209 | if(isset($this->map['user_id']) && !empty($this->map['user_id'])){ | 209 | if(isset($this->map['user_id']) && !empty($this->map['user_id'])){ |
| 210 | - $query->where('gl_project.channel','like','%"user_id": "'.$this->map['channel_id'].'"%'); | 210 | + $query->where('gl_project.channel','like','%"user_id": "'.$this->map['user_id'].'"%'); |
| 211 | } | 211 | } |
| 212 | return $query; | 212 | return $query; |
| 213 | } | 213 | } |
-
请 注册 或 登录 后发表评论