兼容多种登录方式,例如/mobile/index也能跳到手机端

This commit is contained in:
2026-08-31 15:56:51 +08:00
parent 6bdbbe0da3
commit 934eff12c4
@@ -135,6 +135,14 @@ public class SysHomeController {
public void index() {
}
/**
* 兼容旧移动端首页入口,将历史链接统一跳转到当前 H5 首页。
*/
@At(value = "/mobile/index", top = true)
@Ok(">>:/platform/h5/home")
public void mobileIndex() {
}
@At(value = "/platform/h5", top = true)
@Ok("re")
@SaCheckLogin