# cloud_note **Repository Path**: manong_daima/cloud_note ## Basic Information - **Project Name**: cloud_note - **Description**: cloud_note后端代码。 为了巩固AOP+Jwt+MyBatis-Plus+OpenFeign+nacos(注册中心、配置中心)+网关+SpringClod+SpringCloudAlibaba + redis这些知识而编写的一个CloudNote 微服务笔记系统(简化版)项目. 未使用Elasticsearch+SpringSecurity+seata+sential. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-10-08 - **Last Updated**: 2025-10-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README cloud_note后端代码。 为了巩固AOP+Jwt+MyBatis-Plus+OpenFeign+nacos(注册中心、配置中心)+网关+SpringClod+SpringCloudAlibaba + redis这些知识而编写的一个CloudNote 微服务笔记系统(简化版)项目. 未使用Elasticsearch+SpringSecurity+seata+sential. 心得: 1、把日志记录的切面类移到common-service中,其他的模块想使用common层的openFiegn调用就需要在该模块的 启动类上加@ComponentScan(basePackages = {"com.auth,com.common"}), @EnableFeignClients(basePackages = "com.common.client")。 以扫描common包下的类; 另外其他模块还需要引入负载均衡的依赖,因为@FeignClient("aop-service")这里找的是微服务名, 就要像网关一样负载均衡到一个服务下。 2、common-service微服务下的切面类需要重点关注下,搞了一天。 3、用RequestContextHolder代替单体架构下ThreadLocal的作用