userPointExchangeHistoryList static method

Future<DataResult> userPointExchangeHistoryList({
  1. required int num,
  2. int size = 20,
})

积分兑换历史

Implementation

static Future<DataResult> userPointExchangeHistoryList(
    {required int num, int size = 20}) async {
  var res = await BaseDao.fromBaseEncryptV3(
    {
      'num': num,
      'size': size,
    },
    Address.userPointExchangeHistoryList(),
  );
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}