作者 李宇航

合并分支 'lyh-server' 到 'master'

变更数据



查看合并请求 !3138
@@ -63,6 +63,7 @@ class OnlineController extends BaseController @@ -63,6 +63,7 @@ class OnlineController extends BaseController
63 'gl_project.title AS title', 63 'gl_project.title AS title',
64 'gl_project.channel AS channel', 64 'gl_project.channel AS channel',
65 'gl_project.type AS type', 65 'gl_project.type AS type',
  66 + 'gl_project.post_id AS post_id',
66 'gl_project.created_at AS created_at', 67 'gl_project.created_at AS created_at',
67 'gl_project.is_upgrade AS is_upgrade', 68 'gl_project.is_upgrade AS is_upgrade',
68 'gl_project_online_check.id AS online_check_id', 69 'gl_project_online_check.id AS online_check_id',
@@ -197,6 +197,7 @@ class OptimizeController extends BaseController @@ -197,6 +197,7 @@ class OptimizeController extends BaseController
197 'gl_project.level AS level', 197 'gl_project.level AS level',
198 'gl_project.channel AS channel', 198 'gl_project.channel AS channel',
199 'gl_project.company AS company', 199 'gl_project.company AS company',
  200 + 'gl_project.post_id AS post_id',
200 'gl_project.type AS type', 201 'gl_project.type AS type',
201 'gl_project.created_at AS created_at', 202 'gl_project.created_at AS created_at',
202 'gl_project.is_language AS is_language', 203 'gl_project.is_language AS is_language',
@@ -96,6 +96,7 @@ class ProjectController extends BaseController @@ -96,6 +96,7 @@ class ProjectController extends BaseController
96 'gl_project.title AS title', 96 'gl_project.title AS title',
97 'gl_project.channel AS channel', 97 'gl_project.channel AS channel',
98 'gl_project.company AS company', 98 'gl_project.company AS company',
  99 + 'gl_project.post_id AS post_id',
99 'gl_project.type AS type', 100 'gl_project.type AS type',
100 'gl_project.project_type AS project_type', 101 'gl_project.project_type AS project_type',
101 'gl_project.extend_type AS extend_type', 102 'gl_project.extend_type AS extend_type',
@@ -32,7 +32,7 @@ class RenewProjectController extends BaseController @@ -32,7 +32,7 @@ class RenewProjectController extends BaseController
32 */ 32 */
33 public function lists(Project $project){ 33 public function lists(Project $project){
34 $map = $this->searchParam($this->map); 34 $map = $this->searchParam($this->map);
35 - $filed = ['id', 'title', 'type' ,'mysql_id' ,'channel','cooperate_date' ,'type', 'remain_day' ,'created_at','delete_status']; 35 + $filed = ['id', 'title', 'type' , 'post_id','mysql_id' ,'channel','cooperate_date' ,'type', 'remain_day' ,'created_at','delete_status'];
36 $lists = $project->formatQuery($map)->select($filed)->with('payment')->with('deploy_build') 36 $lists = $project->formatQuery($map)->select($filed)->with('payment')->with('deploy_build')
37 ->with('deploy_optimize')->with('online_check')->paginate($this->row, ['*'], 'page', $this->page); 37 ->with('deploy_optimize')->with('online_check')->paginate($this->row, ['*'], 'page', $this->page);
38 if(!empty($lists)){ 38 if(!empty($lists)){