rechargeCancel static method

Future<DataResult> rechargeCancel(
  1. String? orderId
)

充值取消上报

Implementation

static Future<DataResult> rechargeCancel(String? orderId) async {
  Map other = {'orderId': orderId ?? ''};
  var res = await BaseDao.fromBaseJson(other, RechargeUrl.rechargeCancel());
  if (res.result) {
    var entity = RechargeEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}