1
build / build-push (push) Successful in 52s

This commit is contained in:
wanghu
2026-09-11 09:03:24 +08:00
parent b19c7749a7
commit 8d2e18df21
+2 -1
View File
@@ -557,7 +557,8 @@
* 校园通知 · 用户端
* 接口约定:{code:0, msg, data} 为成功;日期 yyyy-MM-dd HH:mm:ss
* ======================================================= */
const API_BASE = '/api';
// 接口与页面同上下文部署(如 /campusnotice/api/...),用相对路径避免写死根路径 /api 导致 404
const API_BASE = 'api';
/* ---------- 基础工具 ---------- */
const $ = id => document.getElementById(id);