上一页 1 2 3 4 5 6 7 8 ··· 23 下一页
摘要: 1 阅读全文
posted @ 2022-04-27 11:28 卡卡罗特琪琪 阅读(9) 评论(0) 推荐(0) 编辑
摘要: SpringBootServletInitializer 请注意,WebApplicationInitializer 仅在您构建 war 文件并部署它时才需要。 如果您更喜欢运行嵌入式 Web 服务器,那么您根本不需要它。 阅读全文
posted @ 2022-04-21 14:17 卡卡罗特琪琪 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 介绍 通常我们在开发的过程中,需要对前端传入的数据进行校验,尽管这一步已经在前端进行了一次校验,虽然现在已经有了很多校验的注解,@NotNull、@NotBlank、@URL等一系列注解帮助我们进行校验,但是在实际的业务开发过程中,这些可能不足以满足我们的需求,这时候我们就需要自己来定义注解了。 示 阅读全文
posted @ 2022-04-20 11:52 卡卡罗特琪琪 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 目录结构 示例代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" c 阅读全文
posted @ 2022-04-17 20:58 卡卡罗特琪琪 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 前端必要的设置 <form role="form" th:action="@{/upload}" method="post" enctype="multipart/form-data"> 单文件上传 <input type="file" name="headerImg" id="exampleInp 阅读全文
posted @ 2022-03-11 17:46 卡卡罗特琪琪 阅读(835) 评论(0) 推荐(0) 编辑
摘要: 实现 HandlerInterceptor 接口 @Slf4j public class LoginInterceptor implements HandlerInterceptor { /** * 目标方法执行之前 * @param request * @param response * @par 阅读全文
posted @ 2022-03-11 10:39 卡卡罗特琪琪 阅读(519) 评论(0) 推荐(0) 编辑
摘要: 以单节点启动 startup.cmd -m standalone 阅读全文
posted @ 2022-03-09 15:02 卡卡罗特琪琪 阅读(56) 评论(0) 推荐(0) 编辑
摘要: 常用命令(3.0.0): 查看topic kafka-topics.sh --bootstrap-server 192.168.42.135:9092 --list 后台启动kafka(在每台机器都执行) kafka-server-start.sh -daemon ../config/server. 阅读全文
posted @ 2022-03-04 15:20 卡卡罗特琪琪 阅读(124) 评论(0) 推荐(0) 编辑
摘要: ## 本地常用命令 git init ## 创建版本管理 git status ## 查看状态 git add ./ ## 添加到暂存区 git commit -m "" ## 提交到本地仓库 ## 推送到码云常用命令 git remote add [origin] [ip] ## 本地与远程仓库建 阅读全文
posted @ 2022-02-27 15:48 卡卡罗特琪琪 阅读(31) 评论(0) 推荐(0) 编辑
摘要: Github地址 https://github.com/DiUS/java-faker?utm_source=gold_browser_extension 参考的博客 https://blog.csdn.net/wxh1850307107/article/details/90200094 阅读全文
posted @ 2022-02-24 11:56 卡卡罗特琪琪 阅读(84) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 23 下一页