摘要:
微信登录流程: 微信官方参考文档: https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1419316505&token=e547653f995d8f4 阅读全文
摘要:
登录: 1.早期 以往单个服务器去部署整个项目的话,使用的是单一服务器模式,这种模式是将登录的信息存储在session中,下次登录的时候在session中找有没有这个信息,若有则登录。方法是session.set("user",user),session.get("user") 2.现在使用 阅读全文
摘要:
import com.baomidou.mybatisplus.annotation.DbType;import com.baomidou.mybatisplus.annotation.IdType;import com.baomidou.mybatisplus.generator.AutoGene 阅读全文
摘要:
简而言之,就是不同的命令响应不同的操作: 关注点在url中的不同参数,是因为不同的参数才使得不同的method去对应的不同的操作。 阅读全文
摘要:
问题描述:提供者注册时总是不用自己配置的server.port 在project structuree中的模块总是自动添加别的模块的文件 那么一定要看看project structure中的language level是否是符合自己jdk的level, 并且在File--settings-build 阅读全文
摘要:
1、新建一个SpringBoot项目,并引入Mybatis和mybatis-generator相关的依赖。 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</ar 阅读全文
摘要:
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org. 阅读全文
摘要:
需要在pom.xml中添加 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId></dependency> 阅读全文
摘要:
没有xml配置文件下的对象注入,使用到一个Teacher类,Config配置类,Test测试类。 1、Teacher类 import lombok.Data; import org.springframework.beans.factory.annotation.Autowired; import 阅读全文
摘要:
简单对象注入的理解 用到了两个对象 Student 、Wife ,一个xml配置(在idea编译器的resource文件下),主要是为让spring去扫描注解,一个测试类,一个pom.xml,导入需要的依赖。 1.Student import lombok.Data; import org.spri 阅读全文