正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
| 10 | namespace App\Http\Logic\Bside\SeoSetting; | 10 | namespace App\Http\Logic\Bside\SeoSetting; |
| 11 | 11 | ||
| 12 | use App\Http\Logic\Bside\BaseLogic; | 12 | use App\Http\Logic\Bside\BaseLogic; |
| 13 | -use App\Models\SeoSetting\KeywordUrl; | 13 | +use App\Models\Project\DeployOptimize; |
| 14 | use App\Models\WebSetting\WebSetting; | 14 | use App\Models\WebSetting\WebSetting; |
| 15 | 15 | ||
| 16 | class DomainSettingLogic extends BaseLogic | 16 | class DomainSettingLogic extends BaseLogic |
| @@ -42,7 +42,7 @@ class DomainSettingLogic extends BaseLogic | @@ -42,7 +42,7 @@ class DomainSettingLogic extends BaseLogic | ||
| 42 | //保存数据 | 42 | //保存数据 |
| 43 | $this->param['domain'] = str_replace('www','blog',$this->param['domain']); | 43 | $this->param['domain'] = str_replace('www','blog',$this->param['domain']); |
| 44 | $id = $this->model->addReturnId(['domain'=>$this->param['domain'],'project_id'=>$this->user['project_id'],'belong_to'=>2,'status'=>1]); | 44 | $id = $this->model->addReturnId(['domain'=>$this->param['domain'],'project_id'=>$this->user['project_id'],'belong_to'=>2,'status'=>1]); |
| 45 | - $projectModel = new Project(); | 45 | + $projectModel = new DeployOptimize(); |
| 46 | $projectModel->edit(['domain'=>$id],['project_id'=>$this->user['project_id']]); | 46 | $projectModel->edit(['domain'=>$id],['project_id'=>$this->user['project_id']]); |
| 47 | }else{ | 47 | }else{ |
| 48 | $this->model->edit(['domain'=>$this->param['domain']],['project_id'=>$this->user['project_id']]); | 48 | $this->model->edit(['domain'=>$this->param['domain']],['project_id'=>$this->user['project_id']]); |
-
请 注册 或 登录 后发表评论