rechargePpCheck static method

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

充值ppy检查是否成功

Implementation

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