摘要: 修改之前:第一次代码实现: @RequestMapping(path="/getByStoreAndTypeAndSn/{storeId}/{versionType}/{terminalSn}", method=RequestMethod.GET ) public TerminalSet getLi 阅读全文
posted @ 2019-04-13 10:13 仙子说 阅读(10148) 评论(0) 推荐(0) 编辑
摘要: @JsonFormat,默认情况下timeZone为GMT(即标准时区),所以会造成输出少8小时。 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8") @DateTimeFormat(pattern="yyyy-MM-dd HH: 阅读全文
posted @ 2019-04-13 10:04 仙子说 阅读(4231) 评论(0) 推荐(0) 编辑