mirror of https://github.com/certd/certd
fix: 修复阿里云发送短信验证码失败的bug
parent
f7b7d3d65e
commit
2e6d03ff00
|
@ -35,7 +35,7 @@ export class AliyunClient {
|
|||
}
|
||||
|
||||
checkRet(ret: any) {
|
||||
if (ret.Code != null) {
|
||||
if (ret.Code != null && ret.Code !== "OK" && ret.Message !== "OK") {
|
||||
throw new Error("执行失败:" + ret.Message);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue