摘要: 服务注册使用的两种注解:@EnableDiscoveryClient与@EnableEurekaClient。 下面简单介绍下两种注解的区别: @EnableDiscoveryClient基于spring-cloud-commons,并且在classpath中实现。 @EnableEurekaCli 阅读全文
posted @ 2018-07-26 11:46 不眠之夜の 阅读(205) 评论(0) 推荐(0)
摘要: Spring Cloud Spring BootFinchley 兼容Spring Boot 2.0.x,不兼容Spring Boot 1.5.xDalston和Edgware 兼容Spring Boot 1.5.x,不兼容Spring Boot 2.0.xCamden 兼容Spring Boot 阅读全文
posted @ 2018-07-26 10:46 不眠之夜の 阅读(83) 评论(0) 推荐(0)
摘要: select (@rowNO := @rowNo+1) AS rowno,a.*from product a,(select @rowNO :=0) b 阅读全文
posted @ 2018-01-29 10:11 不眠之夜の 阅读(112) 评论(0) 推荐(0)