正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -111,10 +111,9 @@ class RenewProjectController extends BaseController | @@ -111,10 +111,9 @@ class RenewProjectController extends BaseController | ||
| 111 | if(!empty($this->map['title'])){ | 111 | if(!empty($this->map['title'])){ |
| 112 | $this->map['title'] = ['like', '%'.$this->map['title'].'%']; | 112 | $this->map['title'] = ['like', '%'.$this->map['title'].'%']; |
| 113 | } | 113 | } |
| 114 | - $lists = $project->where($this->map)->with('payment')->with('deploy_build') | 114 | + $lists = $project->formatQuery($this->map)->with('payment')->with('deploy_build') |
| 115 | ->with('deploy_optimize')->with('online_check') | 115 | ->with('deploy_optimize')->with('online_check') |
| 116 | ->with('project_after')->paginate($this->row, ['*'], 'page', $this->page); | 116 | ->with('project_after')->paginate($this->row, ['*'], 'page', $this->page); |
| 117 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($this->map, true) . PHP_EOL, FILE_APPEND); | ||
| 118 | if(!empty($lists)){ | 117 | if(!empty($lists)){ |
| 119 | $lists = $lists->toArray(); | 118 | $lists = $lists->toArray(); |
| 120 | $manageModel = new Manage(); | 119 | $manageModel = new Manage(); |
-
请 注册 或 登录 后发表评论