fix(门户+设置): LOGO 文字贴徽标左对齐并放大字号(修 space-between 居中);壁纸 pane 管理员选本级默认(LOGO文字与主题JSON化增补)
build / build (push) Successful in 44s

This commit is contained in:
chenxing
2026-10-09 11:54:17 +08:00
parent b774d2e733
commit e7f70f46a8
4 changed files with 100 additions and 12 deletions
+14
View File
@@ -240,6 +240,20 @@ class Base extends Abstract {
return this.postRequest({ url, params: { logoText } });
}
// ===== 默认壁纸(平台/学校两级,壁纸三级默认轮 2026-10-09;后端契约见 SchSettingsController#schWallpaper)=====
/** 读默认壁纸(已登录可读):{wallpaperUrl: string|null, schId=实际命中层}——本校空 → 平台层 → null */
getSchWallpaper() {
const url = path + "/schWallpaper";
return this.getRequest<{ wallpaperUrl: string | null; schId: number }>({ url });
}
/** 保存默认壁纸(仅学校管理员/超管):URL 取管理池返回的绝对地址原样存,≤255;空串=清空本级 */
saveSchWallpaper(wallpaperUrl: string) {
const url = path + "/saveSchWallpaper";
return this.postRequest({ url, params: { wallpaperUrl } });
}
// ===== 学校默认头像样式(默认头像轮 2026-09-30;后端契约见 SchSettingsController#schAvatarStyle)=====
/**