mirror of
https://gitee.com/novel_dev_team/novel
synced 2026-07-20 17:52:45 +08:00
fix: JSON 数字转为 String 类型返回
This commit is contained in:
@@ -1,9 +1,19 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
|
||||
# 将所有数字转为 String 类型返回,避免前端数据精度丢失的问题
|
||||
jackson:
|
||||
generator:
|
||||
write-numbers-as-strings: true
|
||||
|
||||
server:
|
||||
port: 8888
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
spring:
|
||||
datasource:
|
||||
|
||||
Reference in New Issue
Block a user