合并分支 'lyh-server' 到 'master'
gx脚本更新关键词前后缀 查看合并请求 !2236
正在显示
1 个修改的文件
包含
6 行增加
和
0 行删除
| @@ -435,6 +435,12 @@ class ProjectLogic extends BaseLogic | @@ -435,6 +435,12 @@ class ProjectLogic extends BaseLogic | ||
| 435 | NoticeLog::createLog(NoticeLog::TYPE_INIT_KEYWORD_COMMENT, ['project_id' => $param['id']]); | 435 | NoticeLog::createLog(NoticeLog::TYPE_INIT_KEYWORD_COMMENT, ['project_id' => $param['id']]); |
| 436 | } | 436 | } |
| 437 | } | 437 | } |
| 438 | + if(isset($param['tag_page_version']) && $param['tag_page_version'] == 1){ | ||
| 439 | + $project_info = $this->model->read(['id'=>$param['id']],'tag_page_version'); | ||
| 440 | + if($project_info['tag_page_version'] == 2){ | ||
| 441 | + $this->fail('新版聚合页开启后不允许关闭,如需关闭,请联系管理员'); | ||
| 442 | + } | ||
| 443 | + } | ||
| 438 | if($param['type'] == Project::TYPE_FIVE){ | 444 | if($param['type'] == Project::TYPE_FIVE){ |
| 439 | $param['extend_type'] = Project::TYPE_FIVE; | 445 | $param['extend_type'] = Project::TYPE_FIVE; |
| 440 | unset($param['type']); | 446 | unset($param['type']); |
-
请 注册 或 登录 后发表评论