fix: 修复阿里云发送短信验证码失败的bug

pull/470/head
xiaojunnuo 2025-07-23 11:33:02 +08:00
parent f7b7d3d65e
commit 2e6d03ff00
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export class AliyunClient {
} }
checkRet(ret: any) { checkRet(ret: any) {
if (ret.Code != null) { if (ret.Code != null && ret.Code !== "OK" && ret.Message !== "OK") {
throw new Error("执行失败:" + ret.Message); throw new Error("执行失败:" + ret.Message);
} }
} }