摘要: 需求:时间格式转换,将 LocalDateTime 转换成 时间戳 格式,但是需要兼容老版本WEB/APP,需要使用 Header 中的 Api-Version 字段,进行版本判断。 1.先看一下错误代码(此时,request=null) @Component public class LocalD 阅读全文
posted @ 2022-09-08 13:04 cchilei 阅读(248) 评论(0) 推荐(0) 编辑