videoListInfo static method

Future<DataResult> videoListInfo(
  1. int page,
  2. String? userId
)

获取zb小视频信息

Implementation

static Future<DataResult> videoListInfo(int page, String? userId) async {
  Map other = {'pageIndex': page, 'userId': userId};
  var res = await BaseDao.fromBaseJson(other, Address.videoListInfo());
  if (res.result) {
    var entity = VideoListEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}