mod: 数据请求
This commit is contained in:
@ -136,6 +136,8 @@ class Api {
|
||||
|
||||
// 关注的up动态
|
||||
// https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all
|
||||
// https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all?timezone_offset=-480&type=video&page=1&features=itemOpusStyle
|
||||
// https://api.bilibili.com/x/polymer/web-dynamic/v1/feed/all?host_mid=548196587&offset=&page=1&features=itemOpusStyle
|
||||
static const String followDynamic = '/x/polymer/web-dynamic/v1/feed/all';
|
||||
|
||||
// 获取稍后再看
|
||||
|
||||
@ -10,7 +10,8 @@ class DynamicsHttp {
|
||||
var res = await Request().get(Api.followDynamic, data: {
|
||||
'type': type ?? 'all',
|
||||
'page': page ?? 1,
|
||||
'offest': page == 1 ? '' : offset,
|
||||
'timezone_offset': '-480',
|
||||
'offset': page == 1 ? '' : offset,
|
||||
'features': 'itemOpusStyle'
|
||||
});
|
||||
if (res.data['code'] == 0) {
|
||||
|
||||
Reference in New Issue
Block a user