会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jamers
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2021年2月3日
集成微信登录流程
摘要: 微信登录流程: 微信官方参考文档: https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&t=resource/res_list&verify=1&id=open1419316505&token=e547653f995d8f4
阅读全文
posted @ 2021-02-03 20:28 jamers
阅读(1152)
评论(0)
推荐(0)
2021年2月1日
关于登录的收获
摘要: 登录: 1.早期 以往单个服务器去部署整个项目的话,使用的是单一服务器模式,这种模式是将登录的信息存储在session中,下次登录的时候在session中找有没有这个信息,若有则登录。方法是session.set("user",user),session.get("user") 2.现在使用
阅读全文
posted @ 2021-02-01 19:06 jamers
阅读(107)
评论(0)
推荐(0)
2021年1月31日
代码生成器 springboot架构
摘要: import com.baomidou.mybatisplus.annotation.DbType;import com.baomidou.mybatisplus.annotation.IdType;import com.baomidou.mybatisplus.generator.AutoGene
阅读全文
posted @ 2021-01-31 15:13 jamers
阅读(142)
评论(0)
推荐(0)
2020年12月16日
restful风格的理解
摘要: 简而言之,就是不同的命令响应不同的操作: 关注点在url中的不同参数,是因为不同的参数才使得不同的method去对应的不同的操作。
阅读全文
posted @ 2020-12-16 12:50 jamers
阅读(84)
评论(0)
推荐(0)
2020年12月7日
Ribbon实现负载均衡时 服务提供者注册失败 原因之一
摘要: 问题描述:提供者注册时总是不用自己配置的server.port 在project structuree中的模块总是自动添加别的模块的文件 那么一定要看看project structure中的language level是否是符合自己jdk的level, 并且在File--settings-build
阅读全文
posted @ 2020-12-07 11:30 jamers
阅读(107)
评论(0)
推荐(0)
2020年12月3日
SpringBoot整合Mybatis 使用generator自动生成实体类代码、Mapper代码、dao层代码
摘要: 1、新建一个SpringBoot项目,并引入Mybatis和mybatis-generator相关的依赖。 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</ar
阅读全文
posted @ 2020-12-03 22:31 jamers
阅读(334)
评论(0)
推荐(0)
在测试自定义starter时,若出现无法找到helloservice的Bean的解决方法
摘要: import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.
阅读全文
posted @ 2020-12-03 15:42 jamers
阅读(638)
评论(0)
推荐(0)
2020年12月2日
springboot项目启动后tomcat服务器自动关闭 解决方法
摘要: 需要在pom.xml中添加 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId></dependency>
阅读全文
posted @ 2020-12-02 20:30 jamers
阅读(902)
评论(0)
推荐(0)
2020年11月29日
spring-ioc注解-理解2 零配置文件
摘要: 没有xml配置文件下的对象注入,使用到一个Teacher类,Config配置类,Test测试类。 1、Teacher类 import lombok.Data; import org.springframework.beans.factory.annotation.Autowired; import
阅读全文
posted @ 2020-11-29 16:56 jamers
阅读(55)
评论(0)
推荐(0)
2020年11月27日
spring-ioc的注解 理解-1
摘要: 简单对象注入的理解 用到了两个对象 Student 、Wife ,一个xml配置(在idea编译器的resource文件下),主要是为让spring去扫描注解,一个测试类,一个pom.xml,导入需要的依赖。 1.Student import lombok.Data; import org.spri
阅读全文
posted @ 2020-11-27 11:19 jamers
阅读(112)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告