|
@@ -72,7 +72,12 @@ public function createBtSite($domain, $ssl_open, $ssl_auto, $ssl_auto_day, $ssl_ |
|
@@ -72,7 +72,12 @@ public function createBtSite($domain, $ssl_open, $ssl_auto, $ssl_auto_day, $ssl_ |
72
|
// $bt->SaveFileBody($host, '');
|
72
|
// $bt->SaveFileBody($host, '');
|
73
|
|
73
|
|
74
|
$result = BtSites::createBtSite($host, $result['siteId'], $ssl_open, $ssl_status, $ssl_auto, $ssl_auto_day);
|
74
|
$result = BtSites::createBtSite($host, $result['siteId'], $ssl_open, $ssl_status, $ssl_auto, $ssl_auto_day);
|
75
|
- return $result->toArray();
|
75
|
+ $site = $result->toArray();
|
|
|
76
|
+ unset($site['id']);
|
|
|
77
|
+ unset($site['created_at']);
|
|
|
78
|
+ unset($site['updated_at']);
|
|
|
79
|
+ unset($site['is_del']);
|
|
|
80
|
+ return $site;
|
76
|
}
|
81
|
}
|
77
|
|
82
|
|
78
|
/**
|
83
|
/**
|