mod: 屏蔽推广视频、登录获取access_key
This commit is contained in:
@ -67,7 +67,9 @@ class VideoHttp {
|
||||
if (res.data['code'] == 0) {
|
||||
List<RecVideoItemAppModel> list = [];
|
||||
for (var i in res.data['data']['items']) {
|
||||
list.add(RecVideoItemAppModel.fromJson(i));
|
||||
if (i['card_goto'] != 'ad_av') {
|
||||
list.add(RecVideoItemAppModel.fromJson(i));
|
||||
}
|
||||
}
|
||||
return {'status': true, 'data': list};
|
||||
} else {
|
||||
|
@ -69,6 +69,7 @@ class WebviewController extends GetxController {
|
||||
await SetCookie.onSet(tCookies, HttpString.tUrl);
|
||||
await UserHttp.userInfo();
|
||||
var result = await UserHttp.userInfo();
|
||||
UserHttp.thirdLogin();
|
||||
print('网页登录: $result');
|
||||
if (result['status'] && result['data'].isLogin) {
|
||||
SmartDialog.showToast('登录成功');
|
||||
|
Reference in New Issue
Block a user