摘要: 一、导入相关依赖【我们这里没有用EasyExcel】 1.1):pom.xml <!--excel导入数据--> <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.8.18 阅读全文
posted @ 2025-01-06 14:58 Laugh" 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 一、redis命令 1 redis执行了make install后,redis的课执行文件都会自动复制到 /usr/local/bin 目录 2 redis-server redis服务器 3 redis-cli redis命令行客户端 4 redis-benchmark redis性能测试工具 5 阅读全文
posted @ 2024-12-31 11:16 Laugh" 阅读(784) 评论(0) 推荐(0) 编辑
摘要: 一、什么是JWT Json web token (JWT), 是为了在网络应用环境间传递声明而执行的一种基于JSON的开放标准((RFC 7519).该token被设计为紧凑且安全的,特别适用于分布式站点的单点登录(SSO)场景。JWT的声明一般被用来在身份提供者和服务提供者间传递被认证的用户身份信 阅读全文
posted @ 2024-09-10 10:33 Laugh" 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 一、input 框限制 1. 只能输入数字代码(小数点也不能输入) <input onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"> 2.  阅读全文
posted @ 2024-01-25 11:26 Laugh" 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 一、实现登录 1.1):项目目录 1.2):Controller 下面的 test【这里账户密码我写成死的了】 package com.sxtt.springboot.Controller; import org.springframework.stereotype.Controller; impo 阅读全文
posted @ 2023-12-05 17:18 Laugh" 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 一、准备工作 1.1): 我们需要设置编码格式,防止乱码的出现 需要将你们的Idea设置成跟我一样哦~ 二、创建国际化相关文件 注意:我们这里的登录页名字叫 index.html哦~ 2.1): 在 i18n 文件夹中创建 index.properties 。 2.2): 在 i18n 文件夹中创建 阅读全文
posted @ 2023-11-30 10:15 Laugh" 阅读(79) 评论(1) 推荐(2) 编辑
摘要: 一、什么是Thymeleaf: Thymeleaf 官网是这么解释的:Thymeleaf is a modern server-side Java template engine for both web and standalone environments。 译过来就是:Thymeleaf是适用 阅读全文
posted @ 2023-11-24 11:35 Laugh" 阅读(57) 评论(0) 推荐(1) 编辑
摘要: 本文讲的是2022.2.4支持最新版本IntelliJ IDEA破解、IntelliJ IDEA激活码、IntelliJ IDEA安装、IntelliJ IDEA永久激活码的最新永久激活教程,本文有mac和windows系统的idea安装教程。 1. 下载安装IntelliJ IDEA: 安装完成后 阅读全文
posted @ 2023-01-04 17:01 Laugh" 阅读(2192) 评论(1) 推荐(0) 编辑
摘要: 一、项目如何打包(本案例基于 SpringBoot_RestFul风格CURD 文章的代码) 1.1):pom.xml 需要配置 <!-- 项目打包需要使用 --> <build> <plugins> <plugin> <groupId>org.springframework.boot</group 阅读全文
posted @ 2022-10-18 12:42 Laugh" 阅读(202) 评论(0) 推荐(2) 编辑
摘要: 一、什么是RestFul REST(英文:Representational State Transfer,简称REST,意思:表述性状态转换,描述了一个架构样式的网络系统,比如web应用),是一种软件架构风格不是标准哦!只是提供了一组设计原则和约束条件。它主要用于客户端和服务器交互类的软件。基于这个 阅读全文
posted @ 2022-10-12 10:03 Laugh" 阅读(371) 评论(1) 推荐(1) 编辑
点击右上角即可分享
微信分享提示