Merge branch 'master' of http://47.244.231.31:8099/zhl/globalso-v6
正在显示
3 个修改的文件
包含
8 行增加
和
3 行删除
| @@ -48,7 +48,7 @@ class Demo extends Command | @@ -48,7 +48,7 @@ class Demo extends Command | ||
| 48 | protected $description = 'demo'; | 48 | protected $description = 'demo'; |
| 49 | 49 | ||
| 50 | public function handle(){ | 50 | public function handle(){ |
| 51 | - $this->synchronizationFile('/upload/m/file/2024-07/tongli-haiyuan-keywords.pdf'); | 51 | +// $this->synchronizationFile('/upload/m/file/2024-07/tongli-haiyuan-keywords.pdf'); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | public function synchronizationFile($path_name){ | 54 | public function synchronizationFile($path_name){ |
| @@ -174,6 +174,7 @@ class OptimizeController extends BaseController | @@ -174,6 +174,7 @@ class OptimizeController extends BaseController | ||
| 174 | 'gl_project.is_translate AS is_translate', | 174 | 'gl_project.is_translate AS is_translate', |
| 175 | 'gl_project.is_translate_tag AS is_translate_tag', | 175 | 'gl_project.is_translate_tag AS is_translate_tag', |
| 176 | 'gl_project.is_upgrade AS is_upgrade', | 176 | 'gl_project.is_upgrade AS is_upgrade', |
| 177 | + 'gl_project.site_status AS site_status', | ||
| 177 | 'gl_project_online_check.id AS online_check_id', | 178 | 'gl_project_online_check.id AS online_check_id', |
| 178 | 'gl_project_online_check.question AS question', | 179 | 'gl_project_online_check.question AS question', |
| 179 | 'gl_project_online_check.go_question AS go_question', | 180 | 'gl_project_online_check.go_question AS go_question', |
| @@ -220,6 +221,9 @@ class OptimizeController extends BaseController | @@ -220,6 +221,9 @@ class OptimizeController extends BaseController | ||
| 220 | if(isset($this->map['title']) && !empty($this->map['title'])){ | 221 | if(isset($this->map['title']) && !empty($this->map['title'])){ |
| 221 | $query = $query->where('gl_project.title','like','%'.$this->map['title'].'%'); | 222 | $query = $query->where('gl_project.title','like','%'.$this->map['title'].'%'); |
| 222 | } | 223 | } |
| 224 | + if(isset($this->map['site_status'])){ | ||
| 225 | + $query = $query->where('gl_project.site_status',$this->map['site_status']); | ||
| 226 | + } | ||
| 223 | if(isset($this->map['ai_video']) && !empty($this->map['ai_video'])){ | 227 | if(isset($this->map['ai_video']) && !empty($this->map['ai_video'])){ |
| 224 | $query = $query->where('gl_project_deploy_optimize.ai_video',$this->map['ai_video']); | 228 | $query = $query->where('gl_project_deploy_optimize.ai_video',$this->map['ai_video']); |
| 225 | } | 229 | } |
| @@ -48,7 +48,6 @@ class CNoticeController extends BaseController | @@ -48,7 +48,6 @@ class CNoticeController extends BaseController | ||
| 48 | $url = $request->input('url', []); | 48 | $url = $request->input('url', []); |
| 49 | $language = $request->input('language', []); | 49 | $language = $request->input('language', []); |
| 50 | $is_sitemap = intval($request->input('is_sitemap', 0)); | 50 | $is_sitemap = intval($request->input('is_sitemap', 0)); |
| 51 | - | ||
| 52 | //获取项目所在服务器 | 51 | //获取项目所在服务器 |
| 53 | $project_model = new Project(); | 52 | $project_model = new Project(); |
| 54 | $project_info = $project_model->read(['id'=>$project_id],['serve_id']); | 53 | $project_info = $project_model->read(['id'=>$project_id],['serve_id']); |
| @@ -106,8 +105,10 @@ class CNoticeController extends BaseController | @@ -106,8 +105,10 @@ class CNoticeController extends BaseController | ||
| 106 | 'is_sitemap' => $is_sitemap | 105 | 'is_sitemap' => $is_sitemap |
| 107 | ]; | 106 | ]; |
| 108 | http_post($c_url, json_encode($param)); | 107 | http_post($c_url, json_encode($param)); |
| 108 | +// $shell = 'curl -X POST ' . escapeshellarg($c_url) . ' -H "Content-Type: application/json"' . | ||
| 109 | +// ' -d ' . escapeshellarg(json_encode($param)) . ' > /dev/null 2>&1 &'; | ||
| 110 | +// shell_exec($shell); | ||
| 109 | } | 111 | } |
| 110 | - | ||
| 111 | $this->response('更新中请稍后, 更新完成将会发送站内信通知更新结果!'); | 112 | $this->response('更新中请稍后, 更新完成将会发送站内信通知更新结果!'); |
| 112 | } | 113 | } |
| 113 | 114 |
-
请 注册 或 登录 后发表评论