会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
vello
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
11
12
13
14
15
16
17
18
19
···
31
下一页
2024年7月22日
es安装
摘要: 一、下载地址: elasticsearch.bat 二、安装 windows直接解压 三、运行 elasticsearch.bat 报错中级策略,命令行加入一下命令 set ES_JAVA_HOME="E:\elasticsearch-8.14.3\jdk" set JAVA="%ES_JAVA_H
阅读全文
posted @ 2024-07-22 09:18 vello
阅读(33)
评论(0)
推荐(0)
2024年7月18日
电商后端管理系统基本模块
摘要: 电商后端管理系统基本模块介绍 一、商品分类管理 二、电商首页配置管理 电商首页配置管理包括: 1.商品轮播图管理 2.热销商品管理 3.新品上线管理 4.为你推荐管理 都是直接添加商品的,只是商品在电商首页展示的位置和效果有区别而已 三、商品管理 对网站中的商品进行维护, 主要维护数据包括 商品分类
阅读全文
posted @ 2024-07-18 21:05 vello
阅读(90)
评论(0)
推荐(0)
SpringBoot增加验证码
摘要: 一、加入验证码依赖包 com.github.whvcse easy-captcha 1.6.2 二、实现验证码控制层 @GetMapping("/common/kaptcha") public void defaultKaptcha(HttpServletRequest httpServletReq
阅读全文
posted @ 2024-07-18 17:21 vello
阅读(128)
评论(0)
推荐(0)
SpringBoot增加管理后台登录拦截器验证用户登录
摘要: 一、增加拦截器 @Component public class AdminLoginInterceptor implements HandlerInterceptor { @Override public boolean preHandle(HttpServletRequest request, H
阅读全文
posted @ 2024-07-18 15:29 vello
阅读(191)
评论(0)
推荐(0)
SpringBoot整合MyBatis+MySQL
摘要: 一、添加mysql驱动 mysql mysql-connector-java 二、添加MyBatis依赖 org.mybatis.spring.boot mybatis-spring-boot-starter 3.0.1 三、添加配置 spring: datasource: name: xx-dat
阅读全文
posted @ 2024-07-18 14:16 vello
阅读(424)
评论(0)
推荐(0)
SpringBoot与Thymeleaf模板技术整合
摘要: 以下是一个简单的Spring Boot整合Thymeleaf的入门案例: 1.创建一个Spring Boot项目,并添加Thymeleaf依赖。 org.springframework.boot spring-boot-starter-thymeleaf org.springframework.bo
阅读全文
posted @ 2024-07-18 10:43 vello
阅读(135)
评论(0)
推荐(0)
2024年7月17日
@DependsOn @ConditionOnBean @ConditionOnMissingBean @Conditional 注解的含义
摘要: 都是Spring初始化时,加载Bean的条件判断 @DependsOn 表示需要依赖于某个Bean加载完成之后,再加载,时依赖关系 @ConditionOnBean 表示加载当前Bean需要 某个Bean也加载了,不是强依赖关系,并不会去加载这个依赖的Bean 需要容器自己已经加载了这个Bean,它
阅读全文
posted @ 2024-07-17 15:22 vello
阅读(434)
评论(0)
推荐(0)
Excel导出操作
摘要: 一、定义@Excel注解,将实体属性映射成excel对应的单元格表头、属性为导出列表的属性名称 @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Excel { /** * 导出时在exc
阅读全文
posted @ 2024-07-17 14:46 vello
阅读(192)
评论(0)
推荐(0)
操作日志记录方法实现
摘要: 一、首先定义一个Log注解,需要标明 操作的 title、业务类型、功能、操作人类别、是否保留请求参数 @Target({ ElementType.PARAMETER, ElementType.METHOD }) @Retention(RetentionPolicy.RUNTIME) @Docume
阅读全文
posted @ 2024-07-17 11:00 vello
阅读(68)
评论(0)
推荐(0)
表单重复提交解决办法
摘要: 一、前端 1.js按钮控制,通过js控制页面按钮只能触发一次。 2.post/redirect/get模式,post提交后重定向到成功页面 二、后端 后端解决才是真的解决。 1.token校验,后端生成token,传给前端,表单提交时,对token进行校验有效性,每个token只能使用一次。 2.前
阅读全文
posted @ 2024-07-17 09:09 vello
阅读(143)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
31
下一页
公告