首先我们这篇博客是基于上一篇我们Springboot项目登录的,在上一篇博客中我们去实现了登录,为了是我们的这个项目更贴近与现实中的软件。我们尝试用第三方QQ去实现登录。
一.去QQ申请开发者账号
传送门:https://wiki.open.qq.com/wiki/%E6%B3%A8%E5%86%8C%E5%BC%80%E5%8F%91%E8%80%85%E5%B8%90%E5%8F%B7
我们通过这个网址来进行qq开发者账号的申请(需要一段时间,还要手持身份证,比较难搞)。
二.我们去添加依赖
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>