feat(todo): 新增多人待办清单后端
CI/CD Deploy (Admin) / 构建后端镜像并部署 (push) Successful in 12m23s

- 新增 t_todo 表(user_id 隔离 + 逻辑删除),增量脚本 sql/delta_todo.sql
- entity/mapper/service/controller 四层,复用 MyBatis-Plus 与 Result
- /todo/** 纳入 JWT 认证,user_id 一律由 token 解析,禁止前端传入
This commit is contained in:
zhangjiaxun
2026-10-16 23:27:35 +08:00
parent 65a844d5bd
commit e37c13d541
7 changed files with 345 additions and 0 deletions
@@ -81,6 +81,9 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.permitAll()
.antMatchers("/delta-gun-code/**")
.authenticated()
// 待办清单:多人数据隔离,必须登录后访问
.antMatchers("/todo/**")
.authenticated()
.and()
.formLogin()
.loginProcessingUrl("/login")