上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 114 下一页
摘要: 在idea termial窗口输入以下命令 git reflog show release/20220719 阅读全文
posted @ 2022-07-19 13:42 甜菜波波 阅读(501) 评论(0) 推荐(0)
摘要: package com.common.filter; import lombok.extern.slf4j.Slf4j; import org.slf4j.MDC; import org.springframework.context.annotation.Configuration; import 阅读全文
posted @ 2022-07-18 10:21 甜菜波波 阅读(239) 评论(0) 推荐(0)
摘要: 一个最简单的使用FeignClient的例子如下: 1,添加maven依赖 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-openfeign</artifactId 阅读全文
posted @ 2022-07-08 16:48 甜菜波波 阅读(1748) 评论(0) 推荐(0)
摘要: 我们一直在使用Eureka进行注册服务,然而你有可能很少关心服务在注册到Eureka Server时是采用的主机名的方式?还是IP地址的方式? 构建项目 我们把之前章节SpringCloud组件:将微服务提供者注册到Eureka服务中心的源码复制一份修改项目名称为hengboy-spring-clo 阅读全文
posted @ 2022-07-08 16:24 甜菜波波 阅读(2378) 评论(0) 推荐(0)
摘要: TINYINT 型的字段如果设置为UNSIGNED类型,只能存储从0到255的整数,不能用来储存负数。 TINYINT 型的字段如果不设置UNSIGNED类型,存储-128到127的整数。 阅读全文
posted @ 2022-07-05 16:47 甜菜波波 阅读(643) 评论(0) 推荐(0)
摘要: ApplicationEventPublisher 是spring context提供的一个事件发布功能; 事件发布 和 MQ 的作用差不多; 使用的spring context版本是5.2.5 1. 定义一个对象,用于监听 @Data @AllArgsConstructor public clas 阅读全文
posted @ 2022-06-17 17:05 甜菜波波 阅读(1390) 评论(0) 推荐(0)
摘要: {"contractStatusName":"拒签","msg":"操作成功","reason":"123","signers":[{"signName":"123","signStatus":4,"phoneNum":"123","userType":1,"signCode":"123",&quo 阅读全文
posted @ 2022-06-13 11:26 甜菜波波 阅读(131) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/pkgfs/article/details/119140101 阅读全文
posted @ 2022-05-02 07:58 甜菜波波 阅读(114) 评论(0) 推荐(0)
摘要: 本地调试SpringBoot工程时,因为服务会注册到dev环境上的Eureka上,导致其他人调用服务失败,因此在本地调试时可以不用将服务注册上去。而实现这个只需要在application.yml中增加一个配置:eureka: client: register-with-eureka: false 阅读全文
posted @ 2022-04-30 09:25 甜菜波波 阅读(560) 评论(0) 推荐(0)
摘要: 在mybatis的配置文件中添加 <settings> <!--标准日志工厂实现--> <srtting name="logImpl" value="STDOUT_LOGGING"/> </settings> 名字不能写错。 SLF4J | LOG4J | LOG4J2 | JDK_LOGGING 阅读全文
posted @ 2022-04-28 16:34 甜菜波波 阅读(1506) 评论(0) 推荐(0)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 114 下一页