charekle

导航

 

2021年9月11日

摘要: 注册: 使用insert,对数据库进行添加操作,将注册的用户信息写入数据库;并在注册时对第一次输入的密码和再次输入的密码进行比较,两次密码相同则注册成功,反之则跳转注册页面,显示注册失败。 登录: 使用select,查询数据库中的用户信息,将用户登录输入的账号(手机号),密码与查询内容进行比较,相同 阅读全文
posted @ 2021-09-11 10:00 charekle 阅读(717) 评论(0) 推荐(0)
 

2021年9月8日

摘要: `spring: datasource: username: root password: 123456 #?serverTimezone=UTC解决时区的报错 url: jdbc:mysql://localhost:3306/springboot?serverTimezone=UTC&useUni 阅读全文
posted @ 2021-09-08 17:17 charekle 阅读(63) 评论(0) 推荐(0)
 

2021年9月6日

摘要: 一·导入依赖 1.首先在springboot项目中导入thymeleaf的依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId 阅读全文
posted @ 2021-09-06 14:44 charekle 阅读(54) 评论(0) 推荐(0)
 
摘要: xmlns:th=http://www.thymeleaf.orgxmlns:sec=http://www.thymeleaf.org/extras/spring-securityxmlns:shiro=http://www.pollix.at/thymeleaf/shirohtml lang=en 阅读全文
posted @ 2021-09-06 09:22 charekle 阅读(164) 评论(0) 推荐(0)