摘要: 1 核心aop类 @Slf4j @Aspect @Component public class LimitLptAspect { public static final String LUASCRIPT; static { StringBuilder sb = new StringBuilder() 阅读全文
posted @ 2021-06-08 15:16 cris's 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1 springboor自动配置 @Configuration @EnableWebSecurity @EnableGlobalMethodSecurity(prePostEnabled=true) public class LowcSecurityConfig extends SecurityCo 阅读全文
posted @ 2021-06-08 13:28 cris's 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1redis-list实现 @Slf4j @RestController public class ProductController { public static final String LUASCRIPT; static { StringBuilder sb = new StringBuil 阅读全文
posted @ 2021-06-08 11:17 cris's 阅读(65) 评论(0) 推荐(0) 编辑
摘要: server: port: 8761 servlet: context-path: /feign spring: application: name: service-feign sleuth: web: client: enabled: true sampler: probability: 1.0 阅读全文
posted @ 2021-06-08 11:10 cris's 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 自动派单系统核心方法 @RestController @RequestMapping(value="/api/client") // 通过这里配置使下面的映射都在/users下,可去除 @Api(description="【客户端相关api接口】") public class ApiClientCo 阅读全文
posted @ 2021-06-08 10:57 cris's 阅读(901) 评论(0) 推荐(0) 编辑
摘要: 1绑定微信事件 @RestController @RequestMapping(value = "/api/wechat") @Api(value = "【微信相关接口】") public class ApiWeChatController { private static Logger logge 阅读全文
posted @ 2021-06-08 09:47 cris's 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 1、实现ApplicationRunner,完成生命周期绑定 @Component public class NettyBootsrapRunner implements ApplicationRunner, ApplicationListener { private static final Lo 阅读全文
posted @ 2021-06-08 09:36 cris's 阅读(108) 评论(0) 推荐(0) 编辑