上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: 1:ping ip 测试看本机 和 对应的ip的机器是否是通,有返回的字节数可以证明ip是通的 : 2:telent ip port 测试本地和对应的ip所在的机器的端口是否是通的 telent 192.168.120.61 8080 windows效果进入到另一个控制台下,证明端口是通的 tele 阅读全文
posted @ 2018-05-21 18:51 雪儿蛇王 阅读(560) 评论(0) 推荐(0)
摘要: 使用的是阿里的json com.alibaba.fastjson.JSONObject; Map<String,Object> map = new HashMap<String,Object>(); return JSONObject.toJSONString(map); 转义的时候,map中值是n 阅读全文
posted @ 2018-05-18 14:00 雪儿蛇王 阅读(4893) 评论(0) 推荐(0)
摘要: 当使用spring boot加mybatis时,设置Map返回,当值为空或是null时,返回的字段不会加载到map中 在application.properties中加入下面配置,将会解决这个问题。 #当查询数据为空时字段返回为null,不加这个查询数据为空时,字段将被隐藏 mybatis.conf 阅读全文
posted @ 2018-05-18 11:58 雪儿蛇王 阅读(537) 评论(1) 推荐(1)
摘要: 阅读全文
posted @ 2018-05-17 14:40 雪儿蛇王 阅读(134) 评论(0) 推荐(0)
摘要: 使用git自动提交源码到GitHub有两种方式 https方式和ssh方式 https地址: https://github.com/xueershewang/test1.git. SSH方式地址 : git@github.com:xueershewang/test1.git. 1:https方式只要 阅读全文
posted @ 2018-05-03 15:47 雪儿蛇王 阅读(248) 评论(0) 推荐(0)
摘要: 1:git和tortoisegit下载安装 2:github的创建账号和仓库 3:使用tortoisegit从github上下载项目 1:git和tortoisegit下载安装 https://tortoisegit.org/download/ tortoisegit下载地址https://git- 阅读全文
posted @ 2018-05-03 11:41 雪儿蛇王 阅读(461) 评论(0) 推荐(0)
摘要: 使用springboot+mybatis搭建的框架进行开发 下面是一个小目录,目录下面有详细步骤 ************************搭建框架**************************** 搭建基本的架子需要做如下5件事情 1:创建一个maven项目,创建src/main/re 阅读全文
posted @ 2018-04-21 15:00 雪儿蛇王 阅读(380) 评论(0) 推荐(0)
摘要: 改完之后点击ok,就可以了,效果如下 阅读全文
posted @ 2018-04-21 09:48 雪儿蛇王 阅读(123) 评论(0) 推荐(0)
摘要: eclipse的.properties文件,默认的编码方式是iso-8859-1. 中文显示需要设置下 阅读全文
posted @ 2018-04-16 18:25 雪儿蛇王 阅读(137) 评论(0) 推荐(0)
摘要: 1:去重(把seq字段去重)select distinct(seq) from 表名 2:分页:查询的是 start条往后的limit条数据,不包含start条select * from user where removetime is null limit #{start}, #{limit}st 阅读全文
posted @ 2018-02-07 19:12 雪儿蛇王 阅读(224) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页