Ver Fonte

fix: prevent concurrent mini-program H5 login token rotation

apple há 4 dias atrás
pai
commit
f6198e66a7
64 ficheiros alterados com 212 adições e 81 exclusões
  1. 109 0
      docs/06_生产运维与部署/2026-11-27_小程序H5登录状态刷新失败修复实施记录.md
  2. 17 3
      src/ss/user/UserServ.java
  3. 1 1
      web/js/mp_base/base.js
  4. 0 0
      web/js/mp_bundle/mp-common.bundle.min.js
  5. 26 18
      web/js/mp_common/common.js
  6. 1 1
      web/page/mp/autoLogin.html
  7. 1 1
      web/page/mp/bjdm_bzrDm.html
  8. 1 1
      web/page/mp/login.html
  9. 1 1
      web/page/mp/mp_addChk.html
  10. 1 1
      web/page/mp/mp_addSure.html
  11. 1 1
      web/page/mp/mp_bjdmKqjl_baseInfo.html
  12. 1 1
      web/page/mp/mp_bjdm_baseInfo.html
  13. 1 1
      web/page/mp/mp_bzrXy_baseInfo.html
  14. 1 1
      web/page/mp/mp_ccChk.html
  15. 1 1
      web/page/mp/mp_chgChgchk.html
  16. 1 1
      web/page/mp/mp_chgChkTab.html
  17. 1 1
      web/page/mp/mp_chgList.html
  18. 1 1
      web/page/mp/mp_chgchk.html
  19. 1 1
      web/page/mp/mp_clClyd_baseInfo.html
  20. 1 1
      web/page/mp/mp_clyy_details.html
  21. 1 1
      web/page/mp/mp_clyy_form.html
  22. 1 1
      web/page/mp/mp_clyy_inp.html
  23. 1 1
      web/page/mp/mp_cobjList.html
  24. 1 1
      web/page/mp/mp_cswsjc_record_detail.html
  25. 1 1
      web/page/mp/mp_fjjc_inp.html
  26. 1 1
      web/page/mp/mp_fjyrjc_inp.html
  27. 1 1
      web/page/mp/mp_fjyrjc_record_detail.html
  28. 1 1
      web/page/mp/mp_kqjl_baseInfo.html
  29. 1 1
      web/page/mp/mp_kqjl_inp.html
  30. 1 1
      web/page/mp/mp_miniInfo.html
  31. 1 1
      web/page/mp/mp_objChg.html
  32. 1 1
      web/page/mp/mp_objInfo.html
  33. 1 1
      web/page/mp/mp_objInp.html
  34. 1 1
      web/page/mp/mp_objList.html
  35. 1 1
      web/page/mp/mp_objPlay.html
  36. 1 1
      web/page/mp/mp_rcXcdjl_excelZxxzAdd.html
  37. 1 1
      web/page/mp/mp_rcXj.html
  38. 1 1
      web/page/mp/mp_rc_baseInfo.html
  39. 1 1
      web/page/mp/mp_shList.html
  40. 1 1
      web/page/mp/mp_sqljc_detail.html
  41. 1 1
      web/page/mp/mp_sqljc_inp.html
  42. 1 1
      web/page/mp/mp_sqljc_list.html
  43. 1 1
      web/page/mp/mp_ssnwjc_detail.html
  44. 1 1
      web/page/mp/mp_ssnwjc_inp.html
  45. 1 1
      web/page/mp/mp_ssnwjc_list.html
  46. 1 1
      web/page/mp/mp_ssnwjc_record_detail.html
  47. 1 1
      web/page/mp/mp_sswjjl_gr_record_detail.html
  48. 1 1
      web/page/mp/mp_sswjjl_jt_inp.html
  49. 1 1
      web/page/mp/mp_sswjjl_jt_record_detail.html
  50. 1 1
      web/page/mp/mp_sswjjl_jt_students.html
  51. 1 1
      web/page/mp/mp_st_inp.html
  52. 1 1
      web/page/mp/mp_stateChgChk.html
  53. 1 1
      web/page/mp/mp_stateChgSure.html
  54. 1 1
      web/page/mp/mp_xsh_baseInfo.html
  55. 1 1
      web/page/mp/mp_xsh_inp.html
  56. 1 1
      web/page/mp/mp_xxhjjl_inp.html
  57. 1 1
      web/page/mp/mp_xxwjjl_inp.html
  58. 1 1
      web/page/mp/mp_xxwjjl_record_detail.html
  59. 1 1
      web/page/mp/mp_xyqj_baseInfo.html
  60. 1 1
      web/page/mp/mp_xyqj_inp.html
  61. 1 1
      web/page/mp/mp_zssq_inp.html
  62. 1 1
      web/page/mp/mp_zssq_rs_inp.html
  63. 1 1
      web/page/mp/mp_zssq_ts_inp.html
  64. 1 1
      web/page/mp/mp_zssq_tuis_inp.html

+ 109 - 0
docs/06_生产运维与部署/2026-11-27_小程序H5登录状态刷新失败修复实施记录.md

@@ -0,0 +1,109 @@
+# 小程序 H5 登录状态刷新失败修复实施记录
+
+实施日期:2026-11-27(Asia/Shanghai)
+
+实施分支:`codex/pms-20261127-migration`
+
+## 一、问题与原因
+
+用户登录小程序后立即进入升旗礼检查等 H5 页面时,页面提示“登录状态刷新失败,请返回小程序重新进入”。
+
+正式日志确认,多个 H5 页面初始化时会调用 `ssLogin` 恢复会话。原逻辑每次使用持久令牌自动登录都会重新生成 `RYSB.LP`,并发或连续初始化时,后发页面可能仍在使用旧令牌,最终返回“自动登录过期”。
+
+本次修复同时处理前后端:
+
+| 层级 | 修复内容 |
+| --- | --- |
+| H5 公共登录层 | 同一账号、已有服务端会话时复用当前会话,页面初始化的 `force` 参数不再触发重复登录 |
+| 请求恢复层 | 仅在请求明确返回登录失效时使用 `forceRecovery` 恢复会话,账号变化时仍重新登录 |
+| 后端登录 | 持久令牌自动登录保持原令牌不变;只有账号密码登录才生成新令牌 |
+| 静态资源 | H5 页面统一引用 `base.js?v=20261127-auth-refresh-v1` |
+
+## 二、修改范围
+
+本次共修改 63 个文件:
+
+| 类型 | 数量 |
+| --- | ---: |
+| 后端登录类 | 1 |
+| 公共 JS 与 bundle | 3 |
+| H5 页面 | 59 |
+
+未修改数据库结构、业务数据、XML 配置、菜单、岗位、授权、流程、Nginx、定时任务和海康平台配置。
+
+用户原有的未跟踪测试报告文档未修改、未暂存。
+
+## 三、测试环境验证
+
+测试 Pod:`pms-test-78d85c7d65-vbfnj`
+
+测试发布包:
+
+| 项目 | 值 |
+| --- | --- |
+| 文件 | `mp-auth-refresh-20261127-clean.tar.gz` |
+| SHA256 | `6371f195708648a58dc5e52c735fc7d59b02cc46cf660ab839cd5353710fe18c` |
+
+| 检查项 | 结果 |
+| --- | --- |
+| 账号密码登录 | 成功 |
+| 同一设备连续并发 3 次令牌恢复 | 3/3 返回有效会话 |
+| 自动登录前后 `RYSB.LP` | 保持不变 |
+| 再次账号密码登录 | 令牌正常轮换 |
+| 升旗礼、宿舍内务、场室卫生、请假 H5 页面 | HTTP 200 |
+| 最近 15 分钟日志“自动登录过期” | 0 条 |
+| Web 文件哈希 | 62/62 通过 |
+| `UserServ.class` SHA256 | `ee88054bc64add9b79ee4dbc112cfe7c399185fd1326948fa2678fc2577f0c32` |
+
+## 四、正式环境发布
+
+发布前正式 Pod:`tomcat-pms-66b59bb8fd-wv9dm`
+
+发布后正式 Pod:`tomcat-pms-697499f485-lksg7`
+
+| 检查项 | 结果 |
+| --- | --- |
+| 发布前 62 个目标文件与 Git `HEAD` 哈希 | 62/62 一致 |
+| 分文件原子替换 | 完成 |
+| 发布后文件哈希 | 62/62 通过 |
+| 后端类编译环境 | OpenJDK 21 |
+| Deployment 重启 | 成功,1/1 Ready |
+| `/`、`/fstLogin.jsp`、`/home.jsp` | HTTP 200 |
+| 正式域名 | HTTP 200 |
+| 在线 `base.js` 版本 | `20261127-auth-refresh-v1` |
+| 在线公共 JS 同账号刷新保护 | 已生效 |
+| 升旗礼、宿舍内务、请假 H5 页面 | HTTP 200 |
+| 正式环境单次静默恢复 | 返回有效会话,令牌保持不变 |
+| 发布后最近日志“自动登录过期” | 0 条 |
+
+发布使用最小文件集合,没有整包覆盖 WAR 或业务目录。
+
+## 五、备份与回滚
+
+正式环境发布前备份目录:
+
+```text
+/usr/local/tomcat/webapps/ROOT/WEB-INF/backup/20261127_auth_refresh_prod_pre
+```
+
+备份内容:
+
+| 文件 | 说明 |
+| --- | --- |
+| `auth-refresh-web-pre.tar.gz` | 发布前 62 个 Web 文件 |
+| `UserServ.class.pre` | 发布前后端登录类 |
+| `web-before.sha256` | 发布前 62 个文件哈希 |
+
+备份归档 SHA256:`afd24b3d376dc73682114fbfb9d0b1f0d17a7c2544904ff00782acc33dd4165d`
+
+回滚步骤:
+
+1. 将 `auth-refresh-web-pre.tar.gz` 解压到 `/usr/local/tomcat/webapps/ROOT`,逐文件校验后原子替换。
+2. 将 `UserServ.class.pre` 原子恢复到 `ROOT/WEB-INF/classes/ss/user/UserServ.class`。
+3. 执行 `sha256sum -c WEB-INF/backup/20261127_auth_refresh_prod_pre/web-before.sha256`。
+4. 重启 `deployment/tomcat-pms`。
+5. 验证登录页、首页、升旗礼、宿舍内务和请假页面。
+
+## 六、结论
+
+本次修复已部署到测试环境和正式环境。令牌自动登录不再轮换持久令牌,H5 页面不会再因同账号重复初始化而互相使旧令牌失效;账号密码登录仍保持正常轮换行为。

+ 17 - 3
src/ss/user/UserServ.java

@@ -687,7 +687,13 @@ if (childRyid == null) {	// 再增加,支持家长切换子女账号 -- 不用
 */
 /* 再改,不用这么复杂,直接用 StrUuid.makeUuid()。Lin
 									yhsb.setLp(DigestUtils.md5Hex(String.valueOf(yhid) + System.currentTimeMillis() + sbbs));
-*/									yhsb.setLp(StrUuid.makeUuid());
+*/									if (StringUtils.isBlank(yhsbToken)) {
+										// 账号密码登录时轮换持久令牌。
+										yhsb.setLp(StrUuid.makeUuid());
+									} else {
+										// 令牌自动登录必须保持幂等,不能轮换其他 H5/小程序页面仍在使用的令牌。
+										yhsb.setLp(yhsbToken);
+									}
 ///
 
 /* 去掉 WD 数据库。Lin
@@ -762,13 +768,21 @@ if (childRyid == null) {	// 再增加,支持家长切换子女账号 -- 不用
 */
 /* 再改,不用这么复杂,直接用 StrUuid.makeUuid()。Lin
 									yhsb.setLp(DigestUtils.md5Hex(String.valueOf(yhid) + System.currentTimeMillis() + sbbs));
-*/									yhsb.setLp(StrUuid.makeUuid());
+*/									if (StringUtils.isBlank(yhsbToken)) {
+										// 账号密码登录时轮换持久令牌。
+										yhsb.setLp(StrUuid.makeUuid());
+									} else {
+										// 令牌自动登录必须保持幂等,继续使用当前有效令牌。
+										yhsb.setLp(yhsbToken);
+									}
 
 /* 再改,增加指定 Update 字段。Lin
 									gdba.doUpdPo(yhsb, null);	// updateById()。Lin
 */									gdba.doUpdPo(yhsb, Set.of("mc", "lp"));
 								}
-								if (!AppB.inDebug) {	// webapp.isDevelopMode() > SsC.APP_inDebug。Lin
+								// 只有账号密码登录才需要使同账号的其他设备令牌失效。
+								// 令牌自动登录若清空其他设备,会导致并发的 H5 WebView 互相踢下线。
+								if (StringUtils.isBlank(yhsbToken) && !AppB.inDebug) {	// webapp.isDevelopMode() > SsC.APP_inDebug。Lin
 /* 去掉 WD 数据库。Lin
 									sql = "update wd.yhsb set token=null where yhid=:yhid and lb=:lb and yhsbid<>:yhsbid";
 */									sql = "update RYSB set LP=null where RYID=:yhid and FWSBLBM=:lb and RYSBID<>:yhsbid";

+ 1 - 1
web/js/mp_base/base.js

@@ -23,7 +23,7 @@ window.ss = {
 window.SS = window.ss; //最终都用小写ss,暂时先兼容大写SS
 
 (function () {
-  const H5_ASSET_VERSION = "20261126-auth-recovery-v1";
+  const H5_ASSET_VERSION = "20261127-auth-refresh-v1";
 
   // ========== 移动端适配:设置根元素font-size ==========
   // 设计稿宽度430px,分成10份,1rem = 43px(在430px屏幕上)

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
web/js/mp_bundle/mp-common.bundle.min.js


+ 26 - 18
web/js/mp_common/common.js

@@ -290,6 +290,15 @@ function shouldRefreshSessionForUrlUser() {
     return false;
   }
 
+  // 小程序每次打开 H5 都会透传 URL 登录态。同步完成后,页面级
+  // ensureMiniProgramSessionFresh({force:true}) 不应再无条件调用 ssLogin:
+  // 同账号且已有服务端会话时直接复用,只有账号变化或会话缺失才刷新。
+  // 否则多个 WebView 同时自动登录会反复轮换设备令牌,后发请求可能拿到旧令牌。
+  const urlAuthState = window.__MINI_AUTH_STATE__ || {};
+  if (urlAuthState.isDifferentUrlUser) {
+    return true;
+  }
+
   const lastAuthUserId = normalizeAuthUserId(
     localStorage.getItem(H5_LAST_AUTH_USER_ID_KEY)
   );
@@ -298,6 +307,8 @@ function shouldRefreshSessionForUrlUser() {
     storedUserInfo.yhid || storedUserInfo.userId
   );
 
+  // 本机还没有完成过一次账号确认时,仍先恢复一次会话;
+  // 后端令牌自动登录已改为幂等,不会因此轮换令牌或让其他页面下线。
   if (!lastAuthUserId) {
     return true;
   }
@@ -308,20 +319,10 @@ function shouldRefreshSessionForUrlUser() {
     return true;
   }
 
-  const lastAuthToken = localStorage.getItem(H5_LAST_AUTH_TOKEN_KEY) || "";
-  if (lastAuthToken && lastAuthToken !== token) {
-    return true;
-  }
-
   const currentSessionId = getJSessionId();
-  const lastSessionId =
-    localStorage.getItem(H5_LAST_AUTH_SESSION_ID_KEY) || "";
   if (!currentSessionId) {
     return true;
   }
-  if (lastSessionId && currentSessionId !== lastSessionId) {
-    return true;
-  }
 
   return false;
 }
@@ -620,8 +621,23 @@ async function ensureMiniProgramSessionFresh(options = {}) {
     );
   }
 
+  // force 只用于绕过短时间冷却;页面初始化不能仅凭 force 就重复登录。
+  // 真正的会话失效由请求层传 forceRecovery=true,换账号则由 URL 账号状态识别。
+  const shouldRecover =
+    forceRecovery || shouldRefreshSessionForUrlUser();
+  if (!shouldRecover) {
+    console.log("H5_SESSION_REFRESH_SKIP_SAME_USER", {
+      page: options.page || "",
+      service: options.service || "",
+      urlUserId,
+      force: forceRefresh,
+    });
+    return { refreshed: false, skipped: true, reason: "SAME_USER" };
+  }
+
   if (
     forceRefresh &&
+    !forceRecovery &&
     !options.bypassCooldown &&
     urlUserId &&
     hasFreshMiniProgramSession(token, urlUserId)
@@ -634,14 +650,6 @@ async function ensureMiniProgramSessionFresh(options = {}) {
     return { refreshed: false, skipped: true, reason: "RECENT_SESSION" };
   }
 
-  if (!forceRefresh && !forceRecovery && !shouldRefreshSessionForUrlUser()) {
-    console.log("H5_SESSION_REFRESH_SKIP_SAME_USER", {
-      page: options.page || "",
-      service: options.service || "",
-      urlUserId,
-    });
-    return { refreshed: false, skipped: true, reason: "SAME_USER" };
-  }
   if (forceRefresh) {
     console.log("H5_SESSION_REFRESH_FORCE", {
       page: options.page || "",

+ 1 - 1
web/page/mp/autoLogin.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>自动登录</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   </head>
   <body>
     <!-- 页面加载状态 -->

+ 1 - 1
web/page/mp/bjdm_bzrDm.html

@@ -6,7 +6,7 @@
     <title>班主任点名</title>
     <!-- 引入基础依赖 -->
 
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
 
     <style>

+ 1 - 1
web/page/mp/login.html

@@ -8,7 +8,7 @@
     />
     <title>登录</title>
     <!-- 引入基础依赖 -->
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   </head>
   <body>
     <!-- 页面加载状态 -->

+ 1 - 1
web/page/mp/mp_addChk.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>审核</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
       [v-cloak] {
         display: none !important;

+ 1 - 1
web/page/mp/mp_addSure.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     <title>确认提交</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
         [v-cloak] {
             display: none !important;

+ 1 - 1
web/page/mp/mp_bjdmKqjl_baseInfo.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>基本信息</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       [v-cloak] {

+ 1 - 1
web/page/mp/mp_bjdm_baseInfo.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>基本信息</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       [v-cloak] {

+ 1 - 1
web/page/mp/mp_bzrXy_baseInfo.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>学员详情</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       [v-cloak] {

+ 1 - 1
web/page/mp/mp_ccChk.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>审核</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       /* 防止Vue模板闪烁 */

+ 1 - 1
web/page/mp/mp_chgChgchk.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>变动情况 1</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
       [v-cloak] {
         display: none !important;

+ 1 - 1
web/page/mp/mp_chgChkTab.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>变动情况</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
       [v-cloak] {
         display: none !important;

+ 1 - 1
web/page/mp/mp_chgList.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>变动情况3</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
       [v-cloak] {
         display: none !important;

+ 1 - 1
web/page/mp/mp_chgchk.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>审核</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
       [v-cloak] {
         display: none !important;

+ 1 - 1
web/page/mp/mp_clClyd_baseInfo.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     <title>基本情况</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
 

+ 1 - 1
web/page/mp/mp_clyy_details.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     <title>预约详情</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
         /* 防止Vue模板闪烁 */

+ 1 - 1
web/page/mp/mp_clyy_form.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     <title>车辆预约</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
         /* 防止Vue模板闪烁 */

+ 1 - 1
web/page/mp/mp_clyy_inp.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     <title>车辆预约</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
         /* 防止Vue模板闪烁 */

+ 1 - 1
web/page/mp/mp_cobjList.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     <title>二级列表</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
         #app {
             background: #f5f5f5;

+ 1 - 1
web/page/mp/mp_cswsjc_record_detail.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>场室卫生检查详情</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display: none !important; }
     :root { --line:#e5e7eb; --text:#222; --muted:#8b95a5; --green:#19a463; --danger:#e5484d; }

+ 1 - 1
web/page/mp/mp_fjjc_inp.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>风纪仪容检查</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display: none !important; }
     :root {

+ 1 - 1
web/page/mp/mp_fjyrjc_inp.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>登记风纪仪容检查</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display: none !important; }
     :root {

+ 1 - 1
web/page/mp/mp_fjyrjc_record_detail.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>风纪仪容检查详情</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display:none !important; }
     :root { --line:#e5e7eb; --text:#222; --muted:#8b95a5; --green:#19a463; --danger:#e5484d; }

+ 1 - 1
web/page/mp/mp_kqjl_baseInfo.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>基本信息</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       [v-cloak] {

+ 1 - 1
web/page/mp/mp_kqjl_inp.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>新增考勤记录</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       [v-cloak] {

+ 1 - 1
web/page/mp/mp_miniInfo.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>概要信息</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
       [v-cloak] {
         display: none !important;

+ 1 - 1
web/page/mp/mp_objChg.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>变动情况4</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       #app {

+ 1 - 1
web/page/mp/mp_objInfo.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title></title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       #app {

+ 1 - 1
web/page/mp/mp_objInp.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     <title>录入</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
         body {
             margin: 0;

+ 1 - 1
web/page/mp/mp_objList.html

@@ -8,7 +8,7 @@
     />
     <title>列表</title>
     <!-- 引入基础依赖(统一由 base.js 动态注入其他依赖) -->
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
       #app {
         background: #f5f5f5;

+ 1 - 1
web/page/mp/mp_objPlay.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     <title>查看</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
         [v-cloak] {
             display: none !important;

+ 1 - 1
web/page/mp/mp_rcXcdjl_excelZxxzAdd.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>校长巡查</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   </head>
   <body>
     <div id="app" v-cloak>

+ 1 - 1
web/page/mp/mp_rcXj.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>销假</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
       [v-cloak] {
         display: none !important;

+ 1 - 1
web/page/mp/mp_rc_baseInfo.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>日程详情</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
       [v-cloak] {
         display: none !important;

+ 1 - 1
web/page/mp/mp_shList.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>审核</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       /* 防止Vue模板闪烁 */

+ 1 - 1
web/page/mp/mp_sqljc_detail.html

@@ -7,7 +7,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>升旗礼检查详情</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] {
       display: none !important;

+ 1 - 1
web/page/mp/mp_sqljc_inp.html

@@ -6,7 +6,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>升旗礼检查</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] {
       display: none !important;

+ 1 - 1
web/page/mp/mp_sqljc_list.html

@@ -7,7 +7,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>升旗礼检查</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] {
       display: none !important;

+ 1 - 1
web/page/mp/mp_ssnwjc_detail.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>检查详情</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] {
       display: none !important;

+ 1 - 1
web/page/mp/mp_ssnwjc_inp.html

@@ -6,7 +6,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>宿舍内务检查</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] {
       display: none !important;

+ 1 - 1
web/page/mp/mp_ssnwjc_list.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>宿舍内务检查</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] {
       display: none !important;

+ 1 - 1
web/page/mp/mp_ssnwjc_record_detail.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>宿舍内务检查详情</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] {
       display: none !important;

+ 1 - 1
web/page/mp/mp_sswjjl_gr_record_detail.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>宿舍个人违纪详情</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display:none !important; }
     :root { --line:#e5e7eb; --text:#222; --muted:#8b95a5; --green:#19a463; --danger:#e5484d; }

+ 1 - 1
web/page/mp/mp_sswjjl_jt_inp.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>登记集体宿舍违纪</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display: none !important; }
     :root {

+ 1 - 1
web/page/mp/mp_sswjjl_jt_record_detail.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>宿舍集体违纪详情</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display:none !important; }
     :root { --line:#e5e7eb; --text:#222; --muted:#8b95a5; --green:#19a463; --danger:#e5484d; }

+ 1 - 1
web/page/mp/mp_sswjjl_jt_students.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>违纪学员</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display: none !important; }
     :root {

+ 1 - 1
web/page/mp/mp_st_inp.html

@@ -16,7 +16,7 @@
       content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
     />
     <title>社团录入</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       [v-cloak] {

+ 1 - 1
web/page/mp/mp_stateChgChk.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>审核</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
       [v-cloak] {
         display: none !important;

+ 1 - 1
web/page/mp/mp_stateChgSure.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     <title>变动确认</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
     <style>
         [v-cloak] {
             display: none !important;

+ 1 - 1
web/page/mp/mp_xsh_baseInfo.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>团体基本情况</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display: none !important; }
     :root { --line: #e5e7eb; --text: #222; --muted: #8b95a5; }

+ 1 - 1
web/page/mp/mp_xsh_inp.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>团体录入</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display: none !important; }
     :root { --line: #e5e7eb; --text: #222; --muted: #8b95a5; }

+ 1 - 1
web/page/mp/mp_xxhjjl_inp.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>学校获奖记录</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] {
       display: none !important;

+ 1 - 1
web/page/mp/mp_xxwjjl_inp.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>登记学校违纪记录</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display: none !important; }
     :root {

+ 1 - 1
web/page/mp/mp_xxwjjl_record_detail.html

@@ -5,7 +5,7 @@
   <meta name="viewport"
         content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
   <title>学校违纪记录详情</title>
-  <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+  <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   <style>
     [v-cloak] { display:none !important; }
     :root { --line:#e5e7eb; --text:#222; --muted:#8b95a5; --green:#19a463; --danger:#e5484d; }

+ 1 - 1
web/page/mp/mp_xyqj_baseInfo.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>基本信息</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       [v-cloak] {

+ 1 - 1
web/page/mp/mp_xyqj_inp.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
     <title>新增请假</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
         [v-cloak] {

+ 1 - 1
web/page/mp/mp_zssq_inp.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>住宿申请</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
 
     <style>
       [v-cloak] {

+ 1 - 1
web/page/mp/mp_zssq_rs_inp.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>住宿申请(入宿)</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   </head>
   <body>
     <div style="padding: 24px 16px; color: #666; font-size: 14px">正在跳转...</div>

+ 1 - 1
web/page/mp/mp_zssq_ts_inp.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>住宿申请(停宿)</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   </head>
   <body>
     <div style="padding: 24px 16px; color: #666; font-size: 14px">正在跳转...</div>

+ 1 - 1
web/page/mp/mp_zssq_tuis_inp.html

@@ -7,7 +7,7 @@
       content="width=device-width, initial-scale=1.0, user-scalable=no"
     />
     <title>住宿申请(退宿)</title>
-    <script src="/js/mp_base/base.js?v=20261126-auth-recovery-v1"></script>
+    <script src="/js/mp_base/base.js?v=20261127-auth-refresh-v1"></script>
   </head>
   <body>
     <div style="padding: 24px 16px; color: #666; font-size: 14px">正在跳转...</div>

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff