[牛客社区开发(六)]SpringSecurity

[牛客社区开发(六)]SpringSecurity一、基础配置1.导入依赖<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-se


牛客社区开发(五)

1.私信功能①数据库字段②编写实体类和Mapper@Data@ToStringpublic class Message { private int id; private int fromId; private int toId; private String convers


牛客社区开发(三)

一、会话管理①Cookiecookie是服务器发送到浏览器,并保存在浏览器端的一小块数据。浏览器下次访问该服务器时,会自动携带该数据,将其发送给服务器。 //cookie示例 @RequestMapping(path = "/cookie/set",method =


牛客社区开发(二)

牛客社区开发(二)一、邮件功能①导入坐标<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-mail</artifactId