作者 李宇航

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

Master server



查看合并请求 !920
@@ -79,6 +79,9 @@ class KeywordController extends BaseController @@ -79,6 +79,9 @@ class KeywordController extends BaseController
79 if(!empty($map['keyword_title'])){ 79 if(!empty($map['keyword_title'])){
80 $map['keyword_title'] = ['like','%'.$map['keyword_title'].'%']; 80 $map['keyword_title'] = ['like','%'.$map['keyword_title'].'%'];
81 } 81 }
  82 + if(empty($map['is_video_keyword'])){
  83 + unset($map['is_video_keyword']);
  84 + }
82 $map['route'] = ['<>','']; 85 $map['route'] = ['<>',''];
83 $map['project_id'] = $this->user['project_id']; 86 $map['project_id'] = $this->user['project_id'];
84 $map['deleted_at'] = null; 87 $map['deleted_at'] = null;
@@ -277,6 +277,7 @@ class UserLoginLogic @@ -277,6 +277,7 @@ class UserLoginLogic
277 $info['service_duration'] = $project['deploy_build']['service_duration'] ?? 0; 277 $info['service_duration'] = $project['deploy_build']['service_duration'] ?? 0;
278 $info['is_comment'] = $project['deploy_build']['is_comment'] ?? 0; 278 $info['is_comment'] = $project['deploy_build']['is_comment'] ?? 0;
279 $info['remain_day'] = $project['remain_day'] ?? 0; 279 $info['remain_day'] = $project['remain_day'] ?? 0;
  280 + $info['project_created_at'] = $project['created_at'];
280 $info['type'] = $project['type'] ?? 1; 281 $info['type'] = $project['type'] ?? 1;
281 if($info['is_customized'] == 1){ 282 if($info['is_customized'] == 1){
282 $info['is_visualization'] = json_decode($project['is_visualization']); 283 $info['is_visualization'] = json_decode($project['is_visualization']);
@@ -292,6 +293,7 @@ class UserLoginLogic @@ -292,6 +293,7 @@ class UserLoginLogic
292 $is_amp = $amp_info ? $amp_info['amp_status'] : 0; 293 $is_amp = $amp_info ? $amp_info['amp_status'] : 0;
293 } 294 }
294 $info['is_amp'] = $is_amp; 295 $info['is_amp'] = $is_amp;
  296 + $info['is_three_code'] = $project['is_three_code'] ?? 0;
295 return $info; 297 return $info;
296 } 298 }
297 299