<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weixin_52060913的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weixin_52060913</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_52060913]]></copyright><item><title><![CDATA[基于JWT+Redis的登录流程实现]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/148241365</link><guid>https://blog.csdn.net/weixin_52060913/article/details/148241365</guid><author>weixin_52060913</author><pubDate>Mon, 26 May 2025 23:05:43 +0800</pubDate><description><![CDATA[本文通过Mermaid时序图详细描述了基于JWT+Redis的安全登录流程。系统首先生成图形验证码并存储到Redis（30分钟有效期），用户登录时验证验证码后查询数据库，成功则签发JWT token并存储用户信息到Redis。后续请求通过拦截器验证JWT有效性，从Redis获取用户信息并维护ThreadLocal上下文，自动刷新token过期时间。流程结束时清理ThreadLocal，确保线程安全。该方案实现了验证码防护、无状态认证和会话管理，保障系统安全性。]]></description><category></category></item><item><title><![CDATA[SpringCloud学习笔记]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130304607</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130304607</guid><author>weixin_52060913</author><pubDate>Fri, 13 Oct 2023 18:49:22 +0800</pubDate><description><![CDATA[RabbitMQ 是基于 Erlang 语言开发的开源。]]></description><category></category></item><item><title><![CDATA[计算机操作系统原理期末总复习]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/131055098</link><guid>https://blog.csdn.net/weixin_52060913/article/details/131055098</guid><author>weixin_52060913</author><pubDate>Tue, 05 Sep 2023 22:44:56 +0800</pubDate><description><![CDATA[1、现代操作系统的四个特征是什么？（4分）并发、共享、虚拟、异步并发 ：两个或多个事件在同一时间间隔内发生。共享 ：内存中多个并发执行的进程共同使用系统中的资源。2、操作系统内核的四个主要功能是什么？（4分）内存管理、进程管理、设备管理、文件管理3、为什么多道程序系统的平均周转时间比单道程序系统的平均周转时间长？（1分）存在CPU等待的时间4、分时系统与人机交互相关的一个重要性能指标是什么？（1分）响应时间5、衡量实时系统是否满足时间性能要求的两个主要指标是什么？（2分）]]></description><category></category></item><item><title><![CDATA[【问题】‘git‘ is not recognized as an internal or external command, operable program or batch file.]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/131335349</link><guid>https://blog.csdn.net/weixin_52060913/article/details/131335349</guid><author>weixin_52060913</author><pubDate>Wed, 21 Jun 2023 23:21:51 +0800</pubDate><description><![CDATA[如果未安装"git",则需要安装git,安装时选择"从Windows命令提示符使用Git"选项.您需要关闭命令提示符并再次打开.Git命令现在应该可以工作了!]]></description><category></category></item><item><title><![CDATA[创建vue工程]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/131115215</link><guid>https://blog.csdn.net/weixin_52060913/article/details/131115215</guid><author>weixin_52060913</author><pubDate>Thu, 08 Jun 2023 20:31:37 +0800</pubDate><description><![CDATA[使用vue create 命令，创建vue文件夹。取名：babal-router。空格选择 vue的组件。]]></description><category></category></item><item><title><![CDATA[本地项目托管到 Gitee]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/131114252</link><guid>https://blog.csdn.net/weixin_52060913/article/details/131114252</guid><author>weixin_52060913</author><pubDate>Thu, 08 Jun 2023 19:53:41 +0800</pubDate><description><![CDATA[首先在远程仓库复制 http 链接，建立链接，(xxx为远程仓库 http 链接)]]></description><category></category></item><item><title><![CDATA[项目中的Echarts图表统计]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130914824</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130914824</guid><author>weixin_52060913</author><pubDate>Wed, 07 Jun 2023 21:27:12 +0800</pubDate><description><![CDATA[1、导入echarts
2、原始的option代码
3、修改目录：
折线：
横坐标：
纵坐标：
series（与相应折线legend对应）
4、定义echart图标对应的dom元素
html
5、定义echarts容器
js
6、根据时间范围加载最新的数据
html
js
二、后端（SpringBoot+MyBatis）
1、请求接口
2、返回前端的数据]]></description><category></category></item><item><title><![CDATA[【SpringBoot+MyBatis】项目的Invalid bound statement (not found)错误]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/131078025</link><guid>https://blog.csdn.net/weixin_52060913/article/details/131078025</guid><author>weixin_52060913</author><pubDate>Tue, 06 Jun 2023 23:43:47 +0800</pubDate><description><![CDATA[则表示在类路径下的 mapper 目录中查找所有后缀为 .xml 的文件，并将其作为 Mapper XML 文件使用。通常情况下，Mapper XML 文件都会放在单独的目录中，以便进行管理和维护。这段代码是 MyBatis 的配置文件中的一个标签，用于指定 Mapper XML 文件的位置。表示从类路径下开始查找，而。]]></description><category></category></item><item><title><![CDATA[Nginx相关知识]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/131000610</link><guid>https://blog.csdn.net/weixin_52060913/article/details/131000610</guid><author>weixin_52060913</author><pubDate>Fri, 02 Jun 2023 11:15:10 +0800</pubDate><description><![CDATA[高性能的HTTP反向代理Web服务器。]]></description><category></category></item><item><title><![CDATA[AOP日志功能实现]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130935949</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130935949</guid><author>weixin_52060913</author><pubDate>Mon, 29 May 2023 21:07:26 +0800</pubDate><description><![CDATA[在需要实现日志功能的方法上添加注解@LogAnnotation（module为名字，operator为方法的操作名称）@LogAnnotation(module = "用户" , operator = "获取用户列表")]]></description><category></category></item><item><title><![CDATA[为何使用 B+ 树而非二叉查找树或 B 树做索引？]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130639844</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130639844</guid><author>weixin_52060913</author><pubDate>Fri, 12 May 2023 13:08:55 +0800</pubDate><description><![CDATA[而 B+ 树只在叶子结点存储数据，非叶子结点存储关键字，且不同非叶子结点的关键字可能重复，因此查询数据时，时间复杂度固定为 O(log n)。文件系统需要从磁盘读取数据时，一般以页为单位进行读取，假设一个页内的数据过少，那么操作系统就需要读取更多的页，涉及磁盘随机 I/O 访问的次数就更多。由于索引文件很大因此索引文件存储在磁盘上，B+ 树的非叶子结点只存关键字不存数据，因而单个页可以存储更多的关键字，即一次性读入内存的需要查找的关键字也就越多，磁盘的随机 I/O 读取次数相对就减少了。]]></description><category></category></item><item><title><![CDATA[MySQL的最左匹配原则]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130615245</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130615245</guid><author>weixin_52060913</author><pubDate>Thu, 11 May 2023 09:59:36 +0800</pubDate><description><![CDATA[这个原则的实际含义是：当我们查询的条件包含多个字段时，如果建立了多列组合索引，那么 MySQL 只会使用该索引中最左边的列作为索引键，从而定位到第一个匹配的行，然后再逐个匹配剩余条件。因此，如果不按照索引建立顺序来定义 WHERE 子句，那么 MySQL 将无法利用多列索引，而需要进行全表扫描，对性能将产生很大的影响。具体来说，如果有一个由 (a,b,c) 组成的复合索引，则在查询时必须先使用 a 进行过滤，然后才能使用 b 或 c 进行过滤，即使 b 或 c 也属于索引的一部分。]]></description><category></category></item><item><title><![CDATA[MySQL的事务特性、事务特性保证和事务隔离级别]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130587546</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130587546</guid><author>weixin_52060913</author><pubDate>Tue, 09 May 2023 20:08:41 +0800</pubDate><description><![CDATA[如果出现任何问题导致事务失败，则必须回滚事务并撤销所有更改，以确保数据库状态与开始事务之前的状态一致。这意味着，在事务执行期间，如果出现任何错误，则必须回滚所有对数据库的更改以确保其状态的一致性。：最低级别的事务隔离级别，允许一个事务中的修改可以被另外一个未提交的事务所读取。：这种隔离级别保证同一事务内多次读取同样的数据时，它们所读取的内容总是一致的。事务是指要么所有的操作都成功执行，要么所有的操作都不执行的一组数据库操作。：一个事务中的所有操作要么全部提交成功，要么全部回滚失败，保证事务的原子性。]]></description><category></category></item><item><title><![CDATA[MyIsAm和InnoDB的区别]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130576874</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130576874</guid><author>weixin_52060913</author><pubDate>Tue, 09 May 2023 12:13:07 +0800</pubDate><description><![CDATA[但 InnoDB 是聚集索引（聚簇索引），而 MyISAM 是非聚集索引（非聚簇索引）。（聚簇索引是指按照表主键创建的索引，非聚簇索引则不是按照主键创建的索引。InnoDB支持事务（Transaction），具有提交（Commit）、回滚（Rollback）和崩溃恢复（Crash Recovery）等特性，适合处理大量数据的插入、删除和修改操作。MyISAM通常需要较少的磁盘空间，因为它将索引和数据分开存储。的过程（先去辅助索引中查询数据，找到数据对应的key之后，再通过key回表到聚簇索引树查找数据））]]></description><category></category></item><item><title><![CDATA[MySQL常见的存储引擎]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130569522</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130569522</guid><author>weixin_52060913</author><pubDate>Mon, 08 May 2023 23:20:49 +0800</pubDate><description><![CDATA[文件：xxx.ibd:  xxx代表的是表名，innoDB引擎的每张表都会对应这样一个表空间文件，存储该表的表结构(frm、sdi)、数据和索引参数: innodb_file_per_table。：是早期MySQL使用的非事务型存储引擎，没有提供类似于InnoDB的事务功能，但有支持全文索引和压缩等功能。：InnoDB是一种兼顾高可靠性和高性能的通用存储引擎，在MySQL 5.5之后，InnoDB是默认的MySQL存储引擎。：全部存储在内存中的存储引擎，可以快速地进行读写操作，但会受到内存限制。]]></description><category></category></item><item><title><![CDATA[常见的数据库操作语言DDL、DML、DQL和DCL]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130537614</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130537614</guid><author>weixin_52060913</author><pubDate>Sun, 07 May 2023 00:03:41 +0800</pubDate><description><![CDATA[DDL（数据定义语言），DML（数据操作语言），DQL（数据查询语言）和DCL（数据控制语言）是SQL（结构化查询语言）中的四种子类。DDL、DML、DQL和DCL是常见的数据库操作语言，分别代表数据定义语言、数据操纵语言、数据查询语言和数据控制语言。总之，DDL、DML、DQL和DCL都是数据库操作语言的重要组成部分。用于在数据库中创建、修改或删除表、视图、索引、序列等对象。常见的DDL命令有CREATE、ALTER和DROP等。用于在数据库中对表进行插入、更新、删除等操作。用于从数据库中查询数据。]]></description><category></category></item><item><title><![CDATA[Spring boot 常用注解]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130537145</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130537145</guid><author>weixin_52060913</author><pubDate>Sat, 06 May 2023 23:28:22 +0800</pubDate><description><![CDATA[GetMapping("")、@PostMapping("")、@PutMapping("")、@DeleteMapping("/{userId}")：分别对应HTTP的GET、POST、PUT、DELETE请求方法，将它们绑定到UserController中的相应方法上，其中@DeleteMapping还使用了@PathVariable注解来获取请求参数中的userId值。@RequestMapping("/users")：将"/users"路径映射到UserController类上。]]></description><category></category></item><item><title><![CDATA[Spring Beans的理解]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130531563</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130531563</guid><author>weixin_52060913</author><pubDate>Sat, 06 May 2023 17:15:31 +0800</pubDate><description><![CDATA[因此，总体而言，在Spring Boot中使用`@Component`和使用其他专属的注解效果相同，主要取决于个人的编程习惯和习惯。上述代码中，`UserDao`和`UserService`都使用了`@Component`注解标识其为Spring Bean，并且在`UserService`中使用了`@Autowired`注解实现了`UserDao`的依赖注入。另外，我们还可以使用`@Configuration`和`@Bean`注解来定义Java Config类型的配置类和其中的bean。]]></description><category></category></item><item><title><![CDATA[简单的例子来理解Spring Aop的基本概念]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130529887</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130529887</guid><author>weixin_52060913</author><pubDate>Sat, 06 May 2023 16:29:17 +0800</pubDate><description><![CDATA[（4）`aop:around`元素则将该切面的拦截动作设置为"环绕通知"，将前置、后置通知（切面操作）和目标方法合并在一个方法体中，并控制是否执行目标方法或直接返回结果，同时在合适的时候添加新的流程处理。其中第一行表示启用注解扫描，并设置扫描包路径为`com.example`，第二行则表示启用AspectJ注解的AOP自动代理机制，第三行定义的是之前实现的日志切面`LogAspect`类的Bean。（2）在`aop:config`标签内声明了一个aspect（切面），引用了声明好的`logAspect`。]]></description><category></category></item><item><title><![CDATA[Spring事务的传播行为]]></title><link>https://blog.csdn.net/weixin_52060913/article/details/130529324</link><guid>https://blog.csdn.net/weixin_52060913/article/details/130529324</guid><author>weixin_52060913</author><pubDate>Sat, 06 May 2023 15:58:17 +0800</pubDate><description><![CDATA[假设我们有一个Service类包含了两个方法：methodA()和methodB()，其中methodA()需要开启一个事务，如果methodB()内部发生了异常，则整个事务需要回滚。然而，在复杂的应用程序中，可能会涉及到多个事务操作嵌套在一起，这就需要我们考虑事务的传播行为。否则，方法将开启一个新的事务运行，并在自己的事务内执行。：方法支持当前事务，也就是说，如果当前存在一个事务，就在该事务的上下文中执行方法；：方法不支持事务，如果有一个存在的事务，将被挂起，在方法执行期间，不会使用该事务上下文。]]></description><category></category></item></channel></rss>