historyCallList static method

Future<DataResult> historyCallList(
  1. int page
)

获取历史列表

Implementation

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