作者 lyh

gx

@@ -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);