会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sunpeiyu
博客园
首页
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2023年7月26日
HTTP/1.1协议请求头、响应头、状态码
摘要: ## HTTP/1.1请求头 | 请求头 | 说明 | | | | |Accept |指定客户端能够接收的内容类型,如Accept:text/plain,text/html| |Accept-Charset |指定客户端可以接受的字符集编码,如Accept-Charset:UTF-8| |Accep
阅读全文
posted @ 2023-07-26 11:53 sunpeiyu
阅读(171)
评论(0)
推荐(0)
2023年7月10日
SpringSecurity使用提供的UserDetailService实现连接数据库认证
摘要: ## 配置MybatisPlus基础环境 1. 配置pom文件 ``` mysql mysql-connector-java 8.0.29 com.alibaba druid 1.2.5 com.baomidou mybatis-plus-boot-starter 3.5.1 ``` 2. 配置ym
阅读全文
posted @ 2023-07-10 22:49 sunpeiyu
阅读(88)
评论(0)
推荐(0)
SpringSecurity入门
摘要: ## SpringBoot基础环境 1. 配置pom文件 点击查看代码 ``` 4.0.0 org.springframework.boot spring-boot-starter-parent 2.6.4 com.spyu auth 0.0.1-SNAPSHOT auth auth 8 org.s
阅读全文
posted @ 2023-07-10 21:47 sunpeiyu
阅读(11)
评论(0)
推荐(0)
2023年7月6日
ECMAScript 6中函数的等待执行
摘要: 异步等待一个函数 async/await async doDict() { await searchDetail({'dictName' : 'position'}).then(res => { console.log('searchDetail') }) console.log('outter')
阅读全文
posted @ 2023-07-06 15:32 sunpeiyu
阅读(89)
评论(0)
推荐(0)
MyBatisPlus实现MySQL的读写分离
摘要: ## 方式1,使用MyBatisPlus插件实现读写分离 #### 导包 ``` com.baomidou mybatis-plus-boot-starter 3.4.0 com.baomidou dynamic-datasource-spring-boot-starter 3.4.0 ``` ##
阅读全文
posted @ 2023-07-06 09:42 sunpeiyu
阅读(412)
评论(0)
推荐(0)
2023年7月4日
Redis中基本数据类型
摘要: ## 登录docker中redis服务器 ``` redis-cli -h 127.0.0.1 -p 6379 -a password ``` ## Redis中有哪些基本数据类型 * String类型,主要用于存放单一变量。 * Hash类型,主要用于存放对象。 * List类型,主要用于按顺序存
阅读全文
posted @ 2023-07-04 22:35 sunpeiyu
阅读(12)
评论(0)
推荐(0)
2023年7月3日
docker-compose安装单机Redis
摘要: ## 准备工作 准备挂载的文件redis.conf和/data文件夹 ``` touch /home/redis-conf/redis.conf mkdir /home/redis-conf/data ## 修改权限 chmod +xrw /home/redis-conf/redis.conf ch
阅读全文
posted @ 2023-07-03 23:00 sunpeiyu
阅读(755)
评论(0)
推荐(0)
Vue2中路由router用法
摘要: 配置vue-router的路由 import Vue from 'vue' import Router from 'vue-router' import Login from '@/views/login/index.vue' Vue.use(Router) export default new R
阅读全文
posted @ 2023-07-03 21:39 sunpeiyu
阅读(67)
评论(0)
推荐(0)
EasyExcel导入多个sheet页数据
摘要: ## EasyExcel版本 ``` com.alibaba easyexcel 2.2.10 ``` ## 定义Listener ``` public class ExcelUtils { public static void readExcel(InputStream inputStream,
阅读全文
posted @ 2023-07-03 16:28 sunpeiyu
阅读(1124)
评论(0)
推荐(0)
2023年7月1日
搭建vue项目
摘要: 安装环境 下载安装NodeJS ## 下载NodeJS地址 http://nodejs.cn/download/ ## 安装后查看NodeJS版本 C:\Users\sunpy>node -v v12.22.12 C:\Users\sunpy>npm -v 6.14.16 安装cnpm npm in
阅读全文
posted @ 2023-07-01 17:27 sunpeiyu
阅读(52)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页