2018年3月16日

摘要: 本文摘自YSOcean的博客,感觉很不错,怕丢了就写在我自己的博客里了,有一些是自己加的! 这个知识点适用于多表查询,一般结合着懒加载使用,避免影响效率!! 1、什么是MyBatis?, MyBatis 本是apache的一个开源项目iBatis, 2010年这个项目由apache software 阅读全文
posted @ 2018-03-16 16:41 沫菲 阅读(2606) 评论(0) 推荐(0) 编辑
摘要: 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 沫菲 阅读(190) 评论(0) 推荐(0) 编辑

2018年3月15日

摘要: 不论是使用传统路由的配置方式还是服务路由的配置方式,我们都需要为每个路由规则定义匹配表达式; ? 匹配任意的单个字符 URL路径 /user-service/? 匹配比如: /user-service/a 、 /user-service/b 、 /user-service/c *匹配任意数量的字符 阅读全文
posted @ 2018-03-15 11:20 沫菲 阅读(198) 评论(0) 推荐(0) 编辑

2018年3月9日

摘要: 1.maven依赖关系 pom.xml中添加 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> 2 阅读全文
posted @ 2018-03-09 18:00 沫菲 阅读(4062) 评论(0) 推荐(0) 编辑

2018年2月27日

摘要: 摘自 魔流剑 这里我们讨论的是已登陆或将要登陆的用户,游客不在讨论的范围之内。这一点大家应该很容易就能理解的吧。 摘自 魔流剑 这里我们讨论的是已登陆或将要登陆的用户,游客不在讨论的范围之内。这一点大家应该很容易就能理解的吧。 摘自 魔流剑 这里我们讨论的是已登陆或将要登陆的用户,游客不在讨论的范围 阅读全文
posted @ 2018-02-27 15:49 沫菲 阅读(202) 评论(0) 推荐(0) 编辑

2018年2月2日

摘要: 本文声明:摘自《阳光温暖了心情》的博客,写的很好,部分自写 文件存放位置 全局配置: ${M2_HOME}/conf/settings.xml 用户配置: ${user.home}/.m2/settings.xml note:用户配置优先于全局配置。${user.home} 和和所有其他系统属性只能 阅读全文
posted @ 2018-02-02 16:15 沫菲 阅读(1648) 评论(0) 推荐(0) 编辑

2018年1月24日

摘要: 1. isEmpty判断某字符串是否为空,为空的标准是 str==null或str.length==0 StringUtils.isEmpty(null)=true; StringUtils.isEmpty("")=true; StringUtils.isEmpty(" ")=false; Stri 阅读全文
posted @ 2018-01-24 18:39 沫菲 阅读(806) 评论(0) 推荐(0) 编辑

2018年1月23日

摘要: 1.Window -> Preferences -> General -> Workspace -> Text file encoding,选择Other选项的UTF-8 2.Window -> Preferences -> General -> Content Types 选择Text,下边Def 阅读全文
posted @ 2018-01-23 14:40 沫菲 阅读(186) 评论(0) 推荐(0) 编辑

2018年1月19日

摘要: (1)这个错误是 远端的代码发生变化,需要将远端代码合并到本地 解决办法: 1. 打开 Git Repositories,在 Working Directory 中确保可以看到要提交的工程 2.在 Remotes 中可以看到远端分支,在分支下向左的绿色箭头图标代表Fetch,右键 -> Config 阅读全文
posted @ 2018-01-19 09:38 沫菲 阅读(363) 评论(0) 推荐(0) 编辑

2018年1月10日

摘要: 使用组件: 1.全局注册 <div id="id"> <my-component></my-component> </div> 1.注册 Vue.component('my-component',{template:'<div>a b c d e f g Template !</div>'}) 2. 阅读全文
posted @ 2018-01-10 15:43 沫菲 阅读(220) 评论(0) 推荐(0) 编辑

导航