rechargeList static method
获取充值列表 type: 0 充值列表 1 余额不足提醒 2 通话中余额不足倒计时, codeType: 0 PayPal 1 ios 2 google
Implementation
static Future<DataResult> rechargeList(String type, String? codeType) async {
Map other = {'type': type, 'codeType': codeType};
var res = await BaseDao.fromBaseJson(other, RechargeUrl.rechargeList());
if (res.result) {
var entity = RechargeListEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}