兼容网宿CDN接口使用result作为失败返回值的场景

This commit is contained in:
Hanada 2025-06-18 16:43:53 +08:00
parent 486ef4bcd5
commit 5b5e52cb8b

View File

@ -452,6 +452,9 @@ class wangsu implements DeployInterface
} elseif (isset($result['message'])) {
throw new Exception($result['message']);
} elseif (isset($result['result'])) {
throw new Exception($result['result']);
} else {
throw new Exception('请求失败');
}