From 0fcd9b625f729c438cb4945ef6b7443739df62ab Mon Sep 17 00:00:00 2001 From: Ember Date: Thu, 29 Aug 2024 23:49:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=B4=E5=83=8F=E5=8E=8B?= =?UTF-8?q?=E7=BC=A9=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/single.js | 4 ++-- rapidlinks/快速链接/index.html | 2 +- resources/c语言/index.html | 4 ++-- resources/javappt/index.html | 4 ++-- resources/习概课本/index.html | 4 ++-- resources/公路交通ppt/index.html | 4 ++-- resources/大化/index.html | 4 ++-- resources/大物活页/index.html | 4 ++-- resources/孙子兵法/index.html | 4 ++-- resources/工图习题/index.html | 4 ++-- resources/数值分析/index.html | 4 ++-- resources/数值分析期中/index.html | 4 ++-- resources/数值分析课本/index.html | 4 ++-- resources/新通用教师用书1/index.html | 4 ++-- resources/概率论/index.html | 4 ++-- resources/概率论习题/index.html | 4 ++-- resources/概率论课本/index.html | 4 ++-- resources/毛概复习指南/index.html | 4 ++-- resources/画法几何ppt/index.html | 4 ++-- resources/线性代数/index.html | 4 ++-- resources/计组课本/index.html | 4 ++-- resources/软测测验/index.html | 4 ++-- resources/食品安全/index.html | 4 ++-- resources/马原课本/index.html | 4 ++-- resources/高数/index.html | 4 ++-- resources/高数习题/index.html | 4 ++-- strategy/二食堂/index.html | 4 ++-- strategy/学分绩点是什么/index.html | 4 ++-- strategy/宿舍规格/index.html | 4 ++-- strategy/工管综测/index.html | 4 ++-- strategy/星级/index.html | 4 ++-- strategy/群/index.html | 4 ++-- strategy/软金特分流/index.html | 4 ++-- 33 files changed, 65 insertions(+), 65 deletions(-) diff --git a/js/single.js b/js/single.js index d0399cd..dd033c5 100644 --- a/js/single.js +++ b/js/single.js @@ -170,14 +170,14 @@ if (!email) { } const avatarUrl = `https://download.xn--xhq44jb2fzpc.com/user/${email}/avatar`; -const defaultAvatarUrl = "https://download.xn--xhq44jb2fzpc.com/avatar/default.png"; +const defaultAvatarUrl = "https://download.xn--xhq44jb2fzpc.com/avatar/default.png?x-oss-process=style/avatar_comp"; try { const response = await fetchNoCache(avatarUrl); const timestamp = new Date().getTime(); if (response.ok) { // 保证头像实时更新 - document.getElementById('avatar').src = `${avatarUrl}?timestamp=${timestamp}`; + document.getElementById('avatar').src = `${avatarUrl}?timestamp=${timestamp}?x-oss-process=style/avatar_comp`; document.getElementById('avatar').style.display = "block"; console.log("Avatar updated."); } else if (response.status === 404) { diff --git a/rapidlinks/快速链接/index.html b/rapidlinks/快速链接/index.html index c03e897..d269f27 100644 --- a/rapidlinks/快速链接/index.html +++ b/rapidlinks/快速链接/index.html @@ -425,7 +425,7 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +