上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页
摘要: 1.登录 mysql -u root -p 2.选择mysql数据库 use mysql; 3.查询用户赋予权限 mysql> select user,host,grant_priv from user; // N表示没有开启 4.修改权限 mysql> update user set grant_ 阅读全文
posted @ 2022-09-29 11:48 小陈子博客 阅读(1293) 评论(0) 推荐(0) 编辑
摘要: 出现这个原因是因为谷歌翻译已经退出中国了 2022/10月之前的用法 这是由于DNS无法解析到google的域名,所以只需配置相应的host即可。 203.208.40.66 translate.google.com 203.208.40.66 translate.googleapis.com 20 阅读全文
posted @ 2022-09-28 14:02 小陈子博客 阅读(524) 评论(0) 推荐(0) 编辑
摘要: 1、默认运行命令 java -jar xxx.jar 2、指定jvm运行内存大小参数 java -Xms256m -Xmx512m -jar xxx.jar 3、指定port端口 java -jar xxx.jar --server.port=8085 4、指定配置文件 java -jar xxx. 阅读全文
posted @ 2022-09-13 10:09 小陈子博客 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 一、返回值格式统一 1.返回值介绍 在使用controller对外提供服务的时候,很多时候都需要统一返回值格式,例如 1 2 3 4 5 6 7 8 9 { "status": true, "message": null, "code": "200", "data": { "name": "json 阅读全文
posted @ 2022-09-09 09:49 小陈子博客 阅读(896) 评论(0) 推荐(0) 编辑
摘要: 链接地址 https://blog.csdn.net/zzzgd_666/article/details/84377962 代码地址 https://gitee.com/chenjie950907/spring-retry 阅读全文
posted @ 2022-09-05 09:45 小陈子博客 阅读(16) 评论(0) 推荐(0) 编辑
摘要: https://gitee.com/yangxixi_323/spring-boot-distributed-redisson/tree/master 阅读全文
posted @ 2022-09-05 09:16 小陈子博客 阅读(15) 评论(0) 推荐(0) 编辑
摘要: https://massive-toothpaste-7e5.notion.site/Open-Feign-3027ed710831477d941630db8958b57f 阅读全文
posted @ 2022-09-05 09:15 小陈子博客 阅读(18) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/404086701 阅读全文
posted @ 2022-09-01 11:33 小陈子博客 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 469ef6afd63ea9cbda2878fb081d7f26 阅读全文
posted @ 2022-08-19 17:25 小陈子博客 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # 前情提要 本文中提供了九种方式获取resources目录下文件的方式。其中打印文件的方法如下: /** * 根据文件路径读取文件内容 * * @param fileInPath * @throws IOException */public static void getFileContent(O 阅读全文
posted @ 2022-08-01 14:21 小陈子博客 阅读(154) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页