自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

转载 Mysql配置远程连接

1、登录mysql -u root -p2、切换到use库use mysql3、查询用户表hostselect user,host from user;​ 我修改的是root用户,已经将host修改为%了,不为%的执行下一步4、将root用户的host 从localhost改为 %即可update user set host= "%" where user = "root" ;flush privileges ;...

2022-01-12 22:10:38 2608

原创 RSA:公式与练习

RSA固定公式公钥(e,n)私钥(d,n)明文mn = p * qø(n) = (p - 1) * (q - 1)ed ≡ 1 mod ø(n)密文C=m^e mod n解密m=c^d mod n例题在 RSA 算法中,取密钥 E = 3,D = 7,则明文 6 的密文是()加密ed ≡ 1 mod ø(n)3*7 = 1 mode ø(n)ø(n) = 20ø(n) = (p - 1) * (q - 1)20 = (

2021-07-27 17:54:21 306 1

原创 SpringSecurity:入门案例

SpringSecurity入门案例创建项目新建springboot项目确定新建(什么都不要配置)配置SpringSecurity依赖修改pom.xml,添加依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </depe

2021-07-21 16:30:35 117

原创 异常记录:SpringBoot(启动报错)Unsatisfied dependency expressed through field ‘baseMapper‘;

此处UnsatisfiedDependencyException异常引发原因是Spring启动时,进行mapper扫描时发现不符合约束以及规范的标签,抛出异常。异常信息org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xxxController': Unsatisfied dependency expressed through field 'liabili.

2021-07-04 12:39:36 1971

原创 异常记录:MyBatis(方法异常)FUNCTION xxx.sum does not exist

异常信息为FUNCTION xxx.sum does not exist,意思为找不到sum()方法。异常信息java.sql.SQLSyntaxErrorException: FUNCTION xxx.sum does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual解决思路:检查mybatis的xml文件sql写法。错误写法:仔细检查,sum和(*)之间.

2021-07-01 15:01:31 2773 2

原创 MyBatis-Plus代码生成器

import com.baomidou.mybatisplus.annotation.DbType;import com.baomidou.mybatisplus.annotation.IdType;import com.baomidou.mybatisplus.generator.AutoGenerator;import com.baomidou.mybatisplus.generator.config.DataSourceConfig;import com.baomidou.mybatisplu

2021-06-30 22:59:53 66

原创 前后端交互问题:Js拦截Form提交,Ajax提交form表单内容SpringBoot实体类接收参数全为null

$.ajax({ url: "/als/type/add", type: "post", data: data.field, dataType: "json", contentType: "application/x-www-form-urlencoded;charset=UTF...

2021-06-30 22:55:44 270

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除