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