rechargeInCheck static method
充值内购检查是否成功
Implementation
static Future<DataResult> rechargeInCheck(String? token, String? sign,
{String? productID}) async {
Map other = {
'baseStr': token,
'signature': sign ?? '',
'code': productID ?? '',
};
var res = await BaseDao.fromBaseJson(other, RechargeUrl.rechargeInCheck());
if (res.result) {
var entity = RechargeEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}