rechargeFailLog static method
充值失败上报
Implementation
static Future<DataResult> rechargeFailLog(
String? token, String? sign, String? orderId, String? errorMsg) async {
Map other = {
'baseStr': token,
'signature': sign ?? '',
'orderId': orderId ?? '',
'errorMsg': errorMsg
};
var res = await BaseDao.fromBaseJson(other, RechargeUrl.rechargeFailLog());
if (res.result) {
var entity = RechargeEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}