historyConList static method

Future<DataResult> historyConList(
  1. int page
)

获取消费历史列表

Implementation

static Future<DataResult> historyConList(int page) async {
  Map other = {'pageIndex': page};
  var res = await BaseDao.fromBaseEncrypt(other, Address.historyConList());
  if (res.result) {
    var entity = HistoryConEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}