window.cnblogsConfig = {
    blogUser: 'MoYu',
   blogAvatar: 'https://gitee.com/MoYu-zc/picgo/raw/master/img/20210213094450.jpg',
blogStartDate: '2020-02-09',
webpageTitleOnblur: '(o゚v゚)ノ Hi,Back',
 webpageTitleOnblurTimeOut: 500,
webpageTitleFocus: '(*´∇`*) 欢迎回来!',
 webpageTitleFocusTimeOut: 1000,
webpageIcon: "https://gitee.com/MoYu-zc/picgo/raw/master/img/20210213094450.jpg",
enable: true,       // 是否开启日/夜间模式切换按钮
    auto: {             // 自动切换相关配置
        enable: false,  // 开启自动切换
        dayHour: 7,     // 日间模式开始时间,整数型,24小时制
        nightHour: 20   // 夜间模式开始时间,整数型,24小时制
    }
switchDayNight: {
        enable: true,
        auto: {
            enable: true
        }
    },
progressBar: {
          id      : 'top-progress-bar', // 请勿修改该值
    color   : '#77b6ff',
    height  : '2px',
    duration: 0.2,
    },
loading: {
          rebound: {
        tension: 16,
        friction: 5,
    },
    spinner: {
        id: 'spinner',
        radius: 90,
        sides: 3,
        depth: 4,
        colors: {
            background: '#f0f0f0',
            stroke: '#272633',
            base: null,
            child: '#272633',
        },
        alwaysForward: true, // When false the spring will reverse normally.
        restAt: 0.5,         // A number from 0.1 to 0.9 || null for full rotation
        renderBase: false,
    }
    },
homeTopAnimationRendered: true,
homeTopAnimation: {
         radius: 15,
    density: 0.2,
    color: 'rgba(255,255,255, .2)', // 颜色设置,“random” 为随机颜色
    clearOffset: 0.3,
    },
essayTopAnimationRendered: true,
essayTopAnimation: {
       triW : 14,
    triH : 20,
    neighbours : ["side", "top", "bottom"],
    speedTrailAppear : .1,
    speedTrailDisappear : .1,
    speedTriOpen : 1,
    trailMaxLength : 30,
    trailIntervalCreation : 100,
    delayBeforeDisappear : 2,
    colorsRandom: false, // v1.2.4 是否开启随机颜色
    colors: [
        '#96EDA6', '#5BC6A9',
        '#38668C', '#374D84',
        '#BED5CB', '#62ADC6',
        '#8EE5DE', '#304E7B'
    ]
    },
homeTopImg: [
        "https://cdn.jsdelivr.net/gh/BNDong/Cnblogs-Theme-SimpleMemory@master/img/webp/home_top_bg.webp",
        "https://cdn.jsdelivr.net/gh/BNDong/Cnblogs-Theme-SimpleMemory@master/img/webp/home_top_bg.webp"
    ],
homeBannerTextType: "one",
essayTopImg: [
        "https://cdn.jsdelivr.net/gh/BNDong/Cnblogs-Theme-SimpleMemory@master/img/webp/nothome_top_bg.webp",
        "https://cdn.jsdelivr.net/gh/BNDong/Cnblogs-Theme-SimpleMemory@master/img/webp/nothome_top_bg.webp",
"https://gitee.com/MoYu-zc/picgo/raw/master/img/20210208190902.jpg",
"https://gitee.com/MoYu-zc/picgo/raw/master/img/20210208190954.jpg",
    ],
codeMaxHeight: true,
codeLineNumber: true,
essayCode: {
        fontFamily: "'Ubuntu Mono',monospace", // 代码框字体
    fontSize: "14px" // 代码框字体大小
    },
}
    
    
	
	
		
		
    
        
        
摘要:        
Redis事务操作 Redis事务本质:  一组命令的集合 , 一个事务中的所有命令都会被序列化 , 在事务执行过程中 , 会按照顺序执行 一次性 : 事务之间的事情,会一次性执行,而不是立刻执行 顺序性 : 会按照顺序进行执行 排他性 : 事务过程中,不允许被其他事情影响 Redis事务没有隔离    
阅读全文 
 
 
        
        posted @ 2021-06-13 21:46
MoYu-zc
阅读(122) 
推荐(0) 
        
 
		
    
        
        
摘要:        
Redis数据类型及命令 基本数据类型 String - 字符串 我提前存入了两个数据 k:v 、z:c 追加字符串 追加字符串,如果当前可以不存在就相当于 set APPEND xxx value 获取字符串长度 STRLEN XXX 自动加 1 INCR XXX 自动减 1 DECR XXX 设    
阅读全文 
 
 
        
        posted @ 2021-06-06 14:17
MoYu-zc
阅读(84) 
推荐(0) 
        
 
		
    
        
        
摘要:        
Redis入门命令 Redis基础 从配置文件中可以看出: Redis有 16 个数据库,默认使用的是第 0 个 切换数据库 select x # 切换数据库 0-15 查看数据库容量 DBSIZE 数据库之间存取的数据一般是不连通的 如果你在 3 号数据库存了信息 ,不会影响其他数据库的 DBSI    
阅读全文 
 
 
        
        posted @ 2021-06-03 11:12
MoYu-zc
阅读(55) 
推荐(0) 
        
 
		
    
        
        
摘要:        
初识Redis 概述 **官网:**https://redis.io/ **中文官网:**http://www.redis.cn/ 推荐使用Linux服务器学习 Redis是什么? Redis(Remote Dictionary Server ),即远程字典服务 是一个开源的使用ANSI ,C语言编    
阅读全文 
 
 
        
        posted @ 2021-05-30 23:04
MoYu-zc
阅读(115) 
推荐(0) 
        
 
		
    
        
        
摘要:        
Could not autowire. No beans of 'xxx' type found 如果是Spring Boot 项目中 Mapper 文件注入出现报错,可以尝试启动,如果可以正常启动的话,是不会影响的。 首先,检查三点 导入类是不是导入错了 依赖是不是导入错了 引入的类是不是对应依赖    
阅读全文 
 
 
        
        posted @ 2021-05-26 13:57
MoYu-zc
阅读(244) 
推荐(0) 
        
 
		
    
        
        
摘要:        
FastDFS依赖无法导入 fastdfs-client-java 导入爆红 <!-- FastDFS--> <dependency> <groupId>org.csource</groupId> <artifactId>fastdfs-client-java</artifactId> <versi    
阅读全文 
 
 
        
        posted @ 2021-05-23 23:24
MoYu-zc
阅读(752) 
推荐(0) 
        
 
		
    
        
        
摘要:        
使用 yum 出现 Loaded plugins: fastestmirror Loaded plugins: fastestmirror 意思为:插件不可用 [root@localhost ~]# yum –y install xxx Loaded plugins: fastestmirror 解    
阅读全文 
 
 
        
        posted @ 2021-05-19 15:56
MoYu-zc
阅读(220) 
推荐(0) 
        
 
		
    
        
        
摘要:        
source is null for getProperty(null, "name") 这个问题的发生一般是在 Mapper.xml 的 sql语句中出错。 我在项目中使用到了,用到了XML中的判断条件查询方式,代码如下: <if test="employee.name != null and e    
阅读全文 
 
 
        
        posted @ 2021-05-07 23:14
MoYu-zc
阅读(387) 
推荐(0) 
        
 
		
    
        
        
摘要:        
Spring Security 下 Security 注解使用 1.@Secured 判断是否具有角色,另外需要注意的是这里匹配的字符串需要添加前缀 ROLE 1.在 启动类 或者 配置类 上加入注解 开启该注解 @EnableGlobalMethodSecurity(securedEnabled     
阅读全文 
 
 
        
        posted @ 2021-05-06 20:31
MoYu-zc
阅读(99) 
推荐(0) 
        
            
        
        
摘要:        
Spring Security 上 Security-dome 1.创建项目 创建一个Spring Boot项目,不用加入什么依赖 2.导入依赖 <dependencies> <!--启动器变为 web --> <dependency> <groupId>org.springframework.bo    
阅读全文 
 
 
        
        posted @ 2021-05-06 20:29
MoYu-zc
阅读(388) 
推荐(2)