# spring-boot-ehcache **Repository Path**: xuchuruo/spring-boot-ehcache ## Basic Information - **Project Name**: spring-boot-ehcache - **Description**: spring-boot-ehcache - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-04-17 - **Last Updated**: 2023-01-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ehcache版本 * [reids版本](https://gitee.com/xuchuruo/spring-boot-redis) ## 整合 [若依后台手册](https://doc.ruoyi.vip/ruoyi/document/htsc.html) 基于若依,整合: 1. 权限注解 (https://doc.ruoyi.vip/ruoyi/document/htsc.html#%E6%9D%83%E9%99%90%E6%B3%A8%E8%A7%A3) 2. 异常处理 (https://doc.ruoyi.vip/ruoyi/document/htsc.html#%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86) 3. 系统日志 (https://doc.ruoyi.vip/ruoyi/document/htsc.html#%E7%B3%BB%E7%BB%9F%E6%97%A5%E5%BF%97) 4. 数据权限 (https://doc.ruoyi.vip/ruoyi/document/htsc.html#%E6%95%B0%E6%8D%AE%E6%9D%83%E9%99%90) 5. 多数据源 (https://doc.ruoyi.vip/ruoyi/document/htsc.html#%E5%A4%9A%E6%95%B0%E6%8D%AE%E6%BA%90) 6. 国际化支持 (https://doc.ruoyi.vip/ruoyi/document/htsc.html#%E5%9B%BD%E9%99%85%E5%8C%96%E6%94%AF%E6%8C%81) ## 插件集成 1. 集成mybatis-plus (使用plus代码生成 com.CodeGenerator) ### 防止请求重复提交 @RepeatSubmit 注解控制 ### 允许跨域访问 全局CORS配置(在 ResourcesConfig addCorsMappings 方法) ## 导入文件 1. 执行sql文件夹: ruoyi.sql 2. (可选)导入postman: spring-boot-redis.postman_collection.json ## 国际化 国际化携带参数 ?lang=en_US,具体看postman登录api的Params ## 普通登录 1. 登录先调用验证码生成,返回base64,code看控制台debug