03 2018 档案

MyBaties详解(一对一,一对多,多对多)懒加载
摘要:本文摘自YSOcean的博客,感觉很不错,怕丢了就写在我自己的博客里了,有一些是自己加的! 这个知识点适用于多表查询,一般结合着懒加载使用,避免影响效率!! 1、什么是MyBatis?, MyBatis 本是apache的一个开源项目iBatis, 2010年这个项目由apache software 阅读全文

posted @ 2018-03-16 16:41 沫菲 阅读(2665) 评论(0) 推荐(0)

ajax请求插件vue-resource的学习
摘要:1、安装 npm install vue-resource 2、使用 import VueResource from 'vue-resource'; Vue.use(VueResource); this.$http.get("http://localhost/test.php").then( fun 阅读全文

posted @ 2018-03-16 14:09 沫菲 阅读(194) 评论(0) 推荐(0)

sping cloud微服务中zuul路由
摘要:不论是使用传统路由的配置方式还是服务路由的配置方式,我们都需要为每个路由规则定义匹配表达式; ? 匹配任意的单个字符 URL路径 /user-service/? 匹配比如: /user-service/a 、 /user-service/b 、 /user-service/c *匹配任意数量的字符 阅读全文

posted @ 2018-03-15 11:20 沫菲 阅读(204) 评论(0) 推荐(0)

spring cloud security oauth2单点登录
摘要:1.maven依赖关系 pom.xml中添加 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> 2 阅读全文

posted @ 2018-03-09 18:00 沫菲 阅读(4109) 评论(0) 推荐(0)

导航