mirror of
https://github.com/netcccyun/dnsmgr.git
synced 2026-03-07 05:57:23 +08:00
兼容网宿CDN接口使用result作为失败返回值的场景
This commit is contained in:
parent
486ef4bcd5
commit
5b5e52cb8b
@ -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('请求失败');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user