正在显示
2 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -53,6 +53,7 @@ class ProjectController extends BaseController | @@ -53,6 +53,7 @@ class ProjectController extends BaseController | ||
| 53 | //类型 | 53 | //类型 |
| 54 | if(isset($this->map['type'])){ | 54 | if(isset($this->map['type'])){ |
| 55 | $map['type'] = $this->searchType($this->map['type']); | 55 | $map['type'] = $this->searchType($this->map['type']); |
| 56 | + $map['extend_type'] = 0;//排除未续费项目 | ||
| 56 | } | 57 | } |
| 57 | $filed = ['id', 'title', 'mysql_id' ,'channel','cooperate_date' ,'type', 'created_at']; | 58 | $filed = ['id', 'title', 'mysql_id' ,'channel','cooperate_date' ,'type', 'created_at']; |
| 58 | $lists = $project->formatQuery($map)->select($filed)->with('payment')->with('deploy_build') | 59 | $lists = $project->formatQuery($map)->select($filed)->with('payment')->with('deploy_build') |
| @@ -132,7 +132,7 @@ class RenewProjectController extends BaseController | @@ -132,7 +132,7 @@ class RenewProjectController extends BaseController | ||
| 132 | * @time :2023/8/18 14:33 | 132 | * @time :2023/8/18 14:33 |
| 133 | */ | 133 | */ |
| 134 | public function notHaveRenewItems(Project $project){ | 134 | public function notHaveRenewItems(Project $project){ |
| 135 | - $this->map['type'] = $project::TYPE_FIVE;//未续费网站 | 135 | + $this->map['extend_type'] = $project::TYPE_FIVE;//未续费网站 |
| 136 | $lists = $project->where($this->map)->with('payment')->with('deploy_build') | 136 | $lists = $project->where($this->map)->with('payment')->with('deploy_build') |
| 137 | ->with('deploy_optimize')->with('online_check') | 137 | ->with('deploy_optimize')->with('online_check') |
| 138 | ->with('project_after')->paginate($this->row, ['*'], 'page', $this->page); | 138 | ->with('project_after')->paginate($this->row, ['*'], 'page', $this->page); |
-
请 注册 或 登录 后发表评论