摘要: @ResponseBody的作用就是:https://www.cnblogs.com/daimajun/p/7152970.htm @Configurationl 标记该类作为应用程序上下文的bean定义的源。 @EnableAutoConfiguration 告诉Spring Boot开始根据类路 阅读全文
posted @ 2018-11-11 23:07 正能量教官 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 我的springboot版本是2.0.6的 首先导入包: 阅读全文
posted @ 2018-11-11 22:58 正能量教官 阅读(211) 评论(0) 推荐(0) 编辑
摘要: MULTI代表命令开启 EXEC代表执行 执行事务的失败了,怎么办,分两种情况,一种是语法错误,一种是如图把,操作数据错误的类型 会有脏数据,不会回滚 watch命令就是监控一个key,在事务里面是不允许改变的,除非unwatch了 redis的事务很弱 阅读全文
posted @ 2018-11-11 17:31 正能量教官 阅读(159) 评论(0) 推荐(0) 编辑
摘要: layer.confirm("您确定要删除这"+data.length+"条数据吗?") 阅读全文
posted @ 2018-11-11 00:55 正能量教官 阅读(2073) 评论(0) 推荐(0) 编辑