当前位置:网站首页>LocalDateTime去掉T,JSONField失效
LocalDateTime去掉T,JSONField失效
2022-07-28 05:17:00 【wang0112233】
@ApiModelProperty(value = "创建时间")
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime createTime;返回的结果
"createTime": "2022-07-04T15:09:36"
修改:
@ApiModelProperty(value = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
private LocalDateTime createTime;结果:
"createTime": "2022-07-04 15:09:36"边栏推荐
- POJ 3728 the merchant (online query + double LCA)
- Clickhouse pit filling note 2: the join condition does not support non equal judgments such as greater than and less than
- Eccv2022 | 29 papers of Tencent Youtu were selected, including face security, image segmentation, target detection and other research directions
- DELL远程控制卡 使用ipmitools设置ipmi
- 2022 summer practice (first week)
- regular expression
- New modularity in ES6
- Table image extraction based on traditional intersection method and Tesseract OCR
- Have you ever seen this kind of dynamic programming -- the stock problem of state machine dynamic programming (Part 2)
- 使用navicat或plsql导出csv格式,超过15位数字后面变成000(E+19)的问题
猜你喜欢

7. < tag string and API trade-offs> supplement: Sword finger offer 05. replace spaces

Tomato timing dimming table lamp touch chip-dlt8t10s-jericho

11. < tag dynamic programming and subsequence, subarray> lt.115. Different subsequences + Lt. 583. Deletion of two strings DBC

Scope, execution process and life cycle of bean

Google browser cannot open localhost:3000. If you open localhost, you will jump to the test address

First acquaintance with C language (2)

Reading notes of SMT practical guide 1

PC side bug record

Offline loading of wkwebview and problems encountered

How practical is the struct module? Learn a knowledge point immediately
随机推荐
mysql的日期与时间函数,varchar与date相互转换
Barbie q! How to analyze the new game app?
Message forwarding mechanism -- save your program from crashing
Transformer -- Analysis and application of attention model
Data imbalance: comprehensive sampling of anti fraud model (data imbalance)
架构设计思考之一(SSO设计)
Mysql数据库索引(innodb引擎)
Non functional test
【ARXIV2203】SepViT: Separable Vision Transformer
The most detailed installation of windows10 virtual machine, install virtual machine by hand, and solve the problem that the Hyper-V option cannot be found in the home version window
HDU 3078 network (lca+ sort)
Interpretation of afnetworking4.0 request principle
MySQL 默认隔离级别是RR,为什么阿里等大厂会改成RC?
PC side bug record
SimpleDateFormat线程不安全和DateTimeFormatter线程安全
Oracle用sql查询某张表的字段信息(字段类型、长度等)
Driving the powerful functions of EVM and xcm, how subwallet enables Boca and moonbeam
The research group passed the thesis defense successfully
After ruoyi generates the code corresponding to the database, what should I do to make the following image look like
MySQL(5)