写bug的小杨

导航

2020年5月11日 #

打断点没有进去

摘要: 记录一个今天很逗比的问题,打断点一直进不去,数据都有返回,最后发现原因是 阅读全文

posted @ 2020-05-11 19:57 迷途的小狗 阅读(392) 评论(0) 推荐(0) 编辑

2020年5月6日 #

关于postman发送请求@RequestBody和@RequestParam

摘要: 1.如果是@RequestBody修饰的,postman请求用body-raw, headers里要加修饰Content-Type,application/json 2.如果是@RequestParam修饰的,postman请求用params 阅读全文

posted @ 2020-05-06 18:12 迷途的小狗 阅读(6335) 评论(0) 推荐(1) 编辑

2020年4月29日 #

Git Pull Failed :Your local changes would be overwritten by merge. Commit, stash or revert them

摘要: 1、服务器代码合并本地代码 $ git stash //暂存当前正在进行的工作。 $ git pull origin master //拉取服务器的代码 $ git stash pop //合并暂存的代码 2.服务器代码覆盖本地代码 $git reset --hard //回滚到上一个版本 $git 阅读全文

posted @ 2020-04-29 09:52 迷途的小狗 阅读(1680) 评论(0) 推荐(1) 编辑

2020年4月8日 #

mac git 操作

摘要: 1.test分支提交到deily和master 1.右下角——选择项目——选择origin/deily2.鼠标点击代码,右键git-compare with branch test(和本地的代码比对)3.合代码4.git-commit file5.git commit and push 2. mac 阅读全文

posted @ 2020-04-08 23:15 迷途的小狗 阅读(431) 评论(0) 推荐(0) 编辑

2020年4月7日 #

mac下安装maven

摘要: 1.下载maven https://maven.apache.org/download.cgi 2.解压到指定目录 /usr/local/apache-maven-3.6.3 3.打开终端,输入vim ~/.bash_profile export MAVEN_HOME=/usr/local/apac 阅读全文

posted @ 2020-04-07 22:57 迷途的小狗 阅读(11394) 评论(1) 推荐(0) 编辑

2020年3月9日 #

idea代码回退到前面的版本

摘要: https://blog.csdn.net/denghe4720/article/details/101362353 阅读全文

posted @ 2020-03-09 18:53 迷途的小狗 阅读(1142) 评论(0) 推荐(0) 编辑

2020年3月2日 #

字符串比较用compareTo

摘要: https://www.runoob.com/java/java-string-compareto.html 阅读全文

posted @ 2020-03-02 09:13 迷途的小狗 阅读(206) 评论(0) 推荐(0) 编辑

2020年3月1日 #

mysql 查询当天、本周,本月,上一个月的数据

摘要: https://www.cnblogs.com/benefitworld/p/5832897.html 阅读全文

posted @ 2020-03-01 14:44 迷途的小狗 阅读(125) 评论(0) 推荐(0) 编辑

Swagger中paramType

摘要: paramType:表示参数放在哪个地方 header-->请求参数的获取:@RequestHeader(代码中接收注解) query-->请求参数的获取:@RequestParam(代码中接收注解) path(用于restful接口)-->请求参数的获取:@PathVariable(代码中接收注解 阅读全文

posted @ 2020-03-01 14:24 迷途的小狗 阅读(1690) 评论(0) 推荐(0) 编辑

2020年2月28日 #

Invalid bound statement (not found): .service.EpiEduUsersService

摘要: 今日大坑: 环境是springboot+mybatis plus,debug进入controller后无法走到service层,之前搜关键词Invalid bound statement (not found): ,出来的都是dao层扫描不到,于是我就搜关键词Invalid bound statem 阅读全文

posted @ 2020-02-28 11:10 迷途的小狗 阅读(227) 评论(0) 推荐(0) 编辑