SpringSecurity注意点
1、security.basic.enabled = false Not WorkingSpringBoot2.x以上的SpringSecurity版本,security.basic.enabled = false不再生效,需要进行如下配置:package cn.notelist; import org.springframework.context.annotation.Configur...
1、security.basic.enabled = false Not WorkingSpringBoot2.x以上的SpringSecurity版本,security.basic.enabled = false不再生效,需要进行如下配置:package cn.notelist; import org.springframework.context.annotation.Configur...
Spring Boot | Spring Cloud1.2.x | Angel版本1.3.x | Brixton版本1.4.x | Ca...
优化SQL当一个列表查询速度过慢的时候,仅仅几万,十几万数据都要加载20秒以上的时候,就要考虑是不是SQL查询语句上面有很大的问题点了,SQL查询要少用嵌套查询。将SQL查询与程序处理相结合如果因为数据表,数据字段的问题,造成数据查询时间过久,可以考虑,剔除掉耗时较长部分的SQL语句,将其中一部分SQL拆分出来,在程序当中,使用循环以及条件判断去进行数据的组装以及渲染,这样在某些情况下,列表...