fix: 过🐎适配

This commit is contained in:
bietiaop 2024-08-23 21:16:18 +08:00 committed by GitHub
parent 73ecf94c95
commit 071b1f82d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -279,7 +279,7 @@ export default class MysZZZApi extends MysApi {
})) || res;
}
}
if (code === '0') {
if (Number(res.retcode) === 0) {
return res;
}
throw new MysError(code, this.uid, res);