export const NetDiskAuthorization_Lanzouyx = function () { // 目前uuid可生成,userId可以通过请求获取到,暂不需要获取本地存储的 return; // if (window.location.hostname !== "www.ilanzou.com") { // return; // } // // 没在设置中开启直链获取就不获取鉴权信息 // if (!GM_getValue("lanzouyx-static-enable")) { // return; // } // const uuid = unsafeWindow.localStorage.getItem("uuid"); // let diskVueX = unsafeWindow.localStorage.getItem("disk-vuex"); // let diskPCVueX = unsafeWindow.localStorage.getItem("disk-pc-vuex")!; // if (utils.isNotNull(uuid)) { // log.success("获取蓝奏云优享生成的uuid:", uuid); // GM_setValue("lanzouyx-uuid", uuid); // } // if (utils.isNotNull(diskVueX)) { // diskVueX = utils.toJSON(diskVueX); // let userId = diskVueX?.["admin"]?.["account"]?.["info"]?.["userId"]; // if (userId != null) { // log.success("获取蓝奏云优享已登录用户的userId:", userId); // GM_setValue("lanzouyx-userId", userId); // } // } // if (utils.isNotNull(diskPCVueX)) { // diskPCVueX = utils.toJSON(diskPCVueX); // let userId = diskVueX?.["common"]?.["accountInfo"]?.["userId"]; // if (userId != null) { // log.success("获取蓝奏云优享已登录用户的userId:", userId); // GM_setValue("lanzouyx-userId", userId); // } // } // // 目前uuid可生成,userId可以通过请求获取到,暂不需要获取本地存储的 // return; // if (window.location.hostname !== "www.ilanzou.com") { // return; // } // // 没在设置中开启直链获取就不获取鉴权信息 // if (!GM_getValue("lanzouyx-static-enable")) { // return; // } // const uuid = unsafeWindow.localStorage.getItem("uuid"); // let diskVueX = unsafeWindow.localStorage.getItem("disk-vuex"); // let diskPCVueX = unsafeWindow.localStorage.getItem("disk-pc-vuex"); // if (utils.isNotNull(uuid)) { // log.success("获取蓝奏云优享生成的uuid:", uuid); // GM_setValue("lanzouyx-uuid", uuid); // } // if (utils.isNotNull(diskVueX)) { // diskVueX = utils.toJSON(diskVueX); // let userId = diskVueX?.["admin"]?.["account"]?.["info"]?.["userId"]; // if (userId != null) { // log.success("获取蓝奏云优享已登录用户的userId:", userId); // GM_setValue("lanzouyx-userId", userId); // } // } // if (utils.isNotNull(diskPCVueX)) { // diskPCVueX = utils.toJSON(diskPCVueX); // let userId = diskVueX?.["common"]?.["accountInfo"]?.["userId"]; // if (userId != null) { // log.success("获取蓝奏云优享已登录用户的userId:", userId); // GM_setValue("lanzouyx-userId", userId); // } // } };