【改进】模块化

This commit is contained in:
2025-10-30 09:32:55 +08:00
parent 3f09aa1238
commit 564e617802
8 changed files with 14 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
package com.corewing.app.controller; package com.corewing.app.modules.admin;
import cn.dev33.satoken.stp.StpUtil; import cn.dev33.satoken.stp.StpUtil;
import com.corewing.app.common.Result; import com.corewing.app.common.Result;

View File

@@ -1,4 +1,4 @@
package com.corewing.app.controller; package com.corewing.app.modules.app;
import cn.dev33.satoken.stp.StpUtil; import cn.dev33.satoken.stp.StpUtil;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;

View File

@@ -1,4 +1,4 @@
package com.corewing.app.controller; package com.corewing.app.modules.app;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;

View File

@@ -1,4 +1,4 @@
package com.corewing.app.controller; package com.corewing.app.modules.app;
import cn.dev33.satoken.stp.StpUtil; import cn.dev33.satoken.stp.StpUtil;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;

View File

@@ -1,4 +1,4 @@
package com.corewing.app.controller; package com.corewing.app.modules.app;
import cn.dev33.satoken.stp.StpUtil; import cn.dev33.satoken.stp.StpUtil;
import com.corewing.app.common.Result; import com.corewing.app.common.Result;

View File

@@ -488,7 +488,7 @@
const token = localStorage.getItem('token'); const token = localStorage.getItem('token');
if (token) { if (token) {
// 如果已有 token尝试跳转到主页 // 如果已有 token尝试跳转到主页
// window.location.href = '/admin/index.html'; // window.location.href = '/admin/loading.html';
} }
} }
}).mount('#app'); }).mount('#app');