上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: /** * 隐藏手机号中间4位 * @param $phone * @return mixed */ function hidetel($phone){ $IsWhat = preg_match('/(0[0-9]{2,3}[-]?[2-9][0-9]{6,7}[-]?[0-9]?)/i',$phone); if($IsWhat == 1){ return pr... 阅读全文
posted @ 2017-12-26 16:24 mabiao008 阅读(145) 评论(0) 推荐(0) 编辑
摘要: import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStream... 阅读全文
posted @ 2017-12-26 16:23 mabiao008 阅读(587) 评论(0) 推荐(0) 编辑
摘要: 一、数据库常用命令 1、Help查看命令提示 [sql] view plain copy help db.help(); db.yourColl.help(); db.youColl.find().help(); rs.help(); [sql] view plain copy [sql] view 阅读全文
posted @ 2017-12-05 19:48 mabiao008 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1、https://github.com/alibaba/p3c 源码地址 本插件,完全依照:阿里巴巴Java开发手册(终极版).pdf的规则进行 2、搜索插件 依次选择:Setting >> Plugins >> Browse repositories x 选中安装即可 3、使用 Tools >> 阅读全文
posted @ 2017-10-15 21:48 mabiao008 阅读(821) 评论(0) 推荐(0) 编辑
摘要: 输出结果: 阅读全文
posted @ 2017-10-10 20:07 mabiao008 阅读(188) 评论(0) 推荐(0) 编辑
摘要: RestTemplate restTemplate = new RestTemplate(); Object result = restTemplate.getForObject("https://www.baidu.com", String.class); @Controller public class RestTemplateAction { @Autowired ... 阅读全文
posted @ 2017-10-09 18:49 mabiao008 阅读(4902) 评论(0) 推荐(0) 编辑
摘要: 1、在application.properties文件中配置spring.thymeleaf.cache=false 2、设置中勾选上自动编译 3、 <dependency> <groupId>org.springframework</groupId> <artifactId>springloade 阅读全文
posted @ 2017-09-27 12:40 mabiao008 阅读(145) 评论(0) 推荐(0) 编辑
摘要: devtools可以实现页面热部署,即页面修改后会立即生效 1、pom文件 2、pom文件 3、以在application.properties文件中配置spring.thymeleaf.cache=false 4、设置中勾选上自动编译 5、Ctrl+Shift+Alt+ / 选中 6、勾选红框部分 阅读全文
posted @ 2017-09-27 12:36 mabiao008 阅读(368) 评论(0) 推荐(0) 编辑
摘要: springboot使用jpa时报错: 只有删除时报错了, "data": "删除失败,原因:Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceExce 阅读全文
posted @ 2017-09-04 19:00 mabiao008 阅读(1454) 评论(0) 推荐(0) 编辑
摘要: /** * @Description: * @Author: mabiao * @Date: ${DATE} */ 阅读全文
posted @ 2017-09-01 20:45 mabiao008 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页