变更网宿check方法调用的API接口以避免产品未开通导致验证失败

This commit is contained in:
Hanada 2025-06-18 16:40:00 +08:00
parent 5aab54c79e
commit 486ef4bcd5

View File

@ -24,7 +24,7 @@ class wangsu implements DeployInterface
public function check()
{
if (empty($this->username) || empty($this->apiKey)) throw new Exception('必填参数不能为空');
$this->request('/cdn/certificates');
$this->request('/api/ssl/certificate');
return true;
}