![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot2.X
「已注销」
业精于勤荒于嬉,行成于思毁于随
展开
-
java 实体类时间格式的问题
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")标准时间格式化@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")与标准时间有时差原创 2019-07-24 15:02:22 · 2147 阅读 · 0 评论 -
springboot 2.X 支持跨域
/** * @ClassName: CorsConfig * @Description: 允许跨域请求 * @author: liwei * @date: 2019年2月27日 下午3:25:17 */@Configuration@EnableWebMvcpublic class CorsConfig implements WebMvcConfigurer { @Ov...原创 2019-07-17 18:10:43 · 661 阅读 · 0 评论