Merge pull request #77 from xiaoxinzhi123/main

fix:修复handler缺少data参数
This commit is contained in:
bietiaop 2024-11-07 01:33:02 +08:00 committed by GitHub
commit b5323c8770
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -374,7 +374,7 @@ export default class MysZZZApi extends MysApi {
} }
} }
const result = await this.getData(type, data, cached); const result = await this.getData(type, data, cached);
const _data = await this.checkCode(result, type, {}); const _data = await this.checkCode(result, type, data);
if (!_data || _data.retcode !== 0) return false; if (!_data || _data.retcode !== 0) return false;
return _data.data; return _data.data;
} }