![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring boot
vily_luky
爱哭,爱笑,爱学习
展开
-
eureka 主机命名和ip显示
1: yml设置 instance: instance-id: payment8001 prefer-ip-address: true # 访问路径可以显示ip地址 2: 显示原创 2021-04-08 18:46:08 · 202 阅读 · 0 评论 -
热部署 devtools
1: IDEA 配置 2: 在module 里配置依赖 <!--热部署--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime.转载 2021-04-05 21:31:59 · 47 阅读 · 0 评论 -
jpa 常用规范
package com.vily.netty2.netty2.bean; import com.fasterxml.jackson.annotation.JsonFormat; import org.hibernate.annotations.GenericGenerator; import org.springframework.data.annotation.CreatedDate; im...原创 2019-11-15 15:11:40 · 142 阅读 · 0 评论