favVideo static method
获取zb喜欢小视频信息
Implementation
static Future<DataResult> favVideo(String? id, String? type) async {
Map other = {'videoId': id, 'type': type};
var res = await BaseDao.fromBaseJson(other, Address.favVideo());
if (res.result) {
var entity = TokenEntity.fromJson(res.data);
return DataResult(entity, true);
}
return res;
}