|
...
|
...
|
@@ -10,7 +10,7 @@ |
|
|
|
namespace App\Http\Logic\Bside\SeoSetting;
|
|
|
|
|
|
|
|
use App\Http\Logic\Bside\BaseLogic;
|
|
|
|
use App\Models\SeoSetting\KeywordUrl;
|
|
|
|
use App\Models\Project\DeployOptimize;
|
|
|
|
use App\Models\WebSetting\WebSetting;
|
|
|
|
|
|
|
|
class DomainSettingLogic extends BaseLogic
|
|
...
|
...
|
@@ -42,7 +42,7 @@ class DomainSettingLogic extends BaseLogic |
|
|
|
//保存数据
|
|
|
|
$this->param['domain'] = str_replace('www','blog',$this->param['domain']);
|
|
|
|
$id = $this->model->addReturnId(['domain'=>$this->param['domain'],'project_id'=>$this->user['project_id'],'belong_to'=>2,'status'=>1]);
|
|
|
|
$projectModel = new Project();
|
|
|
|
$projectModel = new DeployOptimize();
|
|
|
|
$projectModel->edit(['domain'=>$id],['project_id'=>$this->user['project_id']]);
|
|
|
|
}else{
|
|
|
|
$this->model->edit(['domain'=>$this->param['domain']],['project_id'=>$this->user['project_id']]);
|
...
|
...
|
|