|
...
|
...
|
@@ -21,6 +21,7 @@ use App\Models\Com\City; |
|
|
|
use App\Models\Com\UpdateLog;
|
|
|
|
use App\Models\Devops\ServerConfig;
|
|
|
|
use App\Models\Domain\DomainInfo;
|
|
|
|
use App\Models\Domain\DomainInfo as DomainInfoModel;
|
|
|
|
use App\Models\HomeCount\Count;
|
|
|
|
use App\Models\Inquiry\InquirySet;
|
|
|
|
use App\Models\Manage\BelongingGroup;
|
|
...
|
...
|
@@ -1074,6 +1075,11 @@ class ProjectController extends BaseController |
|
|
|
]);
|
|
|
|
$projectModel->edit(['site_status'=>$this->map['site_status']],['id'=>$this->param['id']]);
|
|
|
|
//TODO::通知C端
|
|
|
|
$domainModel = new DomainInfoModel();
|
|
|
|
$domainInfo = $domainModel->read(['project_id'=>$this->param['id']]);
|
|
|
|
if($domainInfo !== false){
|
|
|
|
http_get('https://'.$domainInfo['domain'].'/api/stop_or_start_website/');
|
|
|
|
}
|
|
|
|
$this->response('success');
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|