mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +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(
|
TextButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
SmartDialog.showLoading();
|
SmartDialog.showLoading();
|
||||||
|
|||||||
@@ -59,9 +59,6 @@ class _SelectDialogState<T> extends State<SelectDialog<T>> {
|
|||||||
..options.headers['referer'] = 'https://www.bilibili.com/';
|
..options.headers['referer'] = 'https://www.bilibili.com/';
|
||||||
if (isLogin) {
|
if (isLogin) {
|
||||||
dio.interceptors.add(Request.cookieManager);
|
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-mid'] = mid;
|
||||||
dio.options.headers['x-bili-aurora-eid'] =
|
dio.options.headers['x-bili-aurora-eid'] =
|
||||||
IdUtils.genAuroraEid(mid);
|
IdUtils.genAuroraEid(mid);
|
||||||
|
|||||||
Reference in New Issue
Block a user