# springboot-mybatisPlus-saToken **Repository Path**: wangheran/springboot-mybatis-plus-sa-token ## Basic Information - **Project Name**: springboot-mybatisPlus-saToken - **Description**: 使用了目前流行的 springboot + satoken + mybatis-plus 内置了 完整的rbac功能 ,配合指定前端项目使用 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2025-02-04 - **Last Updated**: 2025-02-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot + sa-token + mybatis-plus 前后端分离后端模板 ### 介绍

JDK Spring Boot sa-token LICENSE LICENSE

star fork

包含常见插件 sa-token redis redisson [mybatis-plus](https://baomidou.com/) lombok [hutool](https://www.hutool.cn/docs/index.html#/) 等 本项目配合前端项目 [vue-element-2-mp](https://gitee.com/CC_like/vue-element-2-mp) 使用 ### 项目说明 此项目为前后端分离的后端模板,内置了完整的rbac鉴权系统 ### 常用工具说明 ServiceException 自定义异常 使用时直接传入错误信息即可,已做全局异常控制 ### 常用注解说明 jackson 相关注解 lombok 相关注解 @Async("taskExecutor") 异步调用已经配置了线程池 使用时请用该注解 @Scheduled 定时任务,可结合@Async("taskExecutor")一起使用 sa-token 相关注解 用于接口的权限控制 @NoRepeatSubmit(lockTime = 30) 放在方法上 禁止重复提交 lockTime 表示限制秒数 默认为 5 @TrafficLimit redis限流 @MultiRequestBody 将RequestBody解析到 单/多个参数中 ```java @PostMapping("/testMultiRequestBody") public JsonData testMultiRequestBody(@MultiRequestBody("key") String id,@MultiRequestBody String name){ System.err.println(StrUtil.format("id : {} , name : {}",id,name)); } ``` **[⬆ top](#介绍)**