# turtle **Repository Path**: maqiul/turtle ## Basic Information - **Project Name**: turtle - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2021-12-30 - **Last Updated**: 2021-12-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # turtle-spring-cloud ## 选型: - rest框架 > feign - 分页 > pageHelper - excel > easyExcel - 文档 > knife4j - 服务,配置管理 > nacos - 缓存 > redis - 系统操作日志 > Spring aop - 数据权限 > mybatis拦截器 - 定时任务 > quartz - 转发 > sentinel/ribbon - 监控工具 > SpringBoot Admin - 网关 > SpringCloud Gateway - 搜索引擎 > elasticSearch - 数据库 > mysql - 对象存储 > minio - 鉴权 > redis + aop - 熔断,流控 > Sentinel ## 使用: - 在线文档 > 在执行类上添加注解 @EnableCustomSwagger2 - 服务间调用 > 在执行类上添加注解 @EnableTurtleFeignClients - 接口权限 > 在具体方法上添加注解 @PreAuthorize - 数据权限 > 在mapper的方法上添加注解 @DataScope - 系统日志 > 在具体方法上添加注解 @Log - 导出excel > 在具体方法上添加注解 @ResponseExcel - 导入excel > 在具体方法的入参前添加注解 @RequestExcel - 根据字符类型来限制字符串长度 > 在字段上添加注解 @MaxSizeWithCharset - 缓存 > 简单缓存使用注解 @Cacheable 等,复杂缓存使用 RedisService - 获取用户 > 使用 TokenService - 文件传输 > 使用 TurtleFile 模块 - 定时任务 > 使用 TurtleJob 模块 ## 规范 - 返回参数 > ![img.png](static/img.png) > 一般通过 CommonResult 类生成 - 分页&排序 > ![img.png](static/img_1.png) > 在请求地址上添加,如图