lookVideo static method

Future<DataResult> lookVideo(
  1. String? id
)

获取zb查看小视频信息

Implementation

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