摘要: 删除一行 Ctrl + Y 复制一行 Ctrl + D 生成Get/Set方法 Alt + Ins 生成try catch语句 Ctrl + Alt + T 提示方法的参数 Ctrl + P 查询方法被调用的地方 Alt + F7 快速转换大小写 Ctrl+shift+u 阅读全文
posted @ 2020-04-19 00:35 ¥芝麻绿豆¥ 阅读(112) 评论(0) 推荐(0) 编辑
摘要: OKHttp maven依赖如下: <dependency><groupId>com.squareup.okhttp3</groupId><artifactId>okhttp</artifactId><version>4.5.0</version></dependency> 阅读全文
posted @ 2020-04-19 00:29 ¥芝麻绿豆¥ 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 在配置文件application.properties里面配置,如下: github.clint.id=1234567890在代码中,配置如下: @Value("${github.clint.id}")private String clientId;即可读取配置项的值。 阅读全文
posted @ 2020-04-18 23:08 ¥芝麻绿豆¥ 阅读(131) 评论(0) 推荐(0) 编辑
摘要: git add . git commit -m "add code" git push 阅读全文
posted @ 2020-04-18 16:22 ¥芝麻绿豆¥ 阅读(270) 评论(0) 推荐(0) 编辑