mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: cdn test
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -203,6 +203,15 @@ class _SettingPageState extends State<SettingPage> {
|
||||
),
|
||||
),
|
||||
),
|
||||
// TextButton(
|
||||
// onPressed: () async {
|
||||
// await LoginUtils.onLogout();
|
||||
// _isLogin.value = false;
|
||||
// SmartDialog.dismiss();
|
||||
// Get.back();
|
||||
// },
|
||||
// child: const Text('仅登出'),
|
||||
// ),
|
||||
TextButton(
|
||||
onPressed: () async {
|
||||
SmartDialog.showLoading();
|
||||
|
||||
@@ -59,9 +59,6 @@ class _SelectDialogState<T> extends State<SelectDialog<T>> {
|
||||
..options.headers['referer'] = 'https://www.bilibili.com/';
|
||||
if (isLogin) {
|
||||
dio.interceptors.add(Request.cookieManager);
|
||||
dio.options.headers['env'] = 'prod';
|
||||
dio.options.headers['app-key'] = 'android64';
|
||||
dio.options.headers['x-bili-aurora-zone'] = 'sh001';
|
||||
dio.options.headers['x-bili-mid'] = mid;
|
||||
dio.options.headers['x-bili-aurora-eid'] =
|
||||
IdUtils.genAuroraEid(mid);
|
||||
|
||||
Reference in New Issue
Block a user