|
...
|
...
|
@@ -35,7 +35,7 @@ class Temp extends Command |
|
|
|
|
|
|
|
public function handle()
|
|
|
|
{
|
|
|
|
|
|
|
|
$this->domain_rewrite_https();
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
...
|
...
|
@@ -50,7 +50,7 @@ class Temp extends Command |
|
|
|
$buildModel = new DeployBuild();
|
|
|
|
$serverIpModel = new ServersIp();
|
|
|
|
$domainCreateTaskModel = new DomainCreateTask();
|
|
|
|
$list = $domainModel->select(['id', 'domain', 'project_id'])->where('status', '=', 1)->where('project_id', '>', 0)->get();
|
|
|
|
$list = $domainModel->select(['id', 'domain', 'project_id'])->where('status', '=', 1)->where('project_id', '>', 0)->where('is_https', 0)->get();
|
|
|
|
foreach ($list as $v) {
|
|
|
|
$project_info = $projectModel->read(['id' => $v['project_id']], ['serve_id']);
|
|
|
|
if (!$project_info) {
|
...
|
...
|
|