fix:修复handler缺少data参数

This commit is contained in:
liangho-ng 2024-11-07 00:35:32 +08:00
parent 5871f0d082
commit b7ac8afa18

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;
} }