rechargeOrder static method

Future<DataResult> rechargeOrder(
  1. String? listId, {
  2. dynamic req,
})

充值统一下单

Implementation

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