mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 15:00:52 +00:00
fix: 修改京东云获取域名
This commit is contained in:
parent
fb162f5905
commit
9134764227
@ -287,7 +287,14 @@ class Jdoss extends BaseUpload
|
||||
|
||||
public function getDomian(string $name, string $region = null)
|
||||
{
|
||||
|
||||
try {
|
||||
$res = $this->app()->getBucketWebsite([
|
||||
'Bucket' => $name
|
||||
]);
|
||||
return $res['DomainName'] ?? [];
|
||||
} catch (\Throwable $e) {
|
||||
return $this->setError($e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
public function bindDomian(string $name, string $domain, string $region = null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user