mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
fix: JSON 数字转为 String 类型返回
This commit is contained in:
parent
a2567220cb
commit
da1df4fddb
@ -1,9 +1,19 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
|
||||
# 将所有数字转为 String 类型返回,避免前端数据精度丢失的问题
|
||||
jackson:
|
||||
generator:
|
||||
write-numbers-as-strings: true
|
||||
|
||||
server:
|
||||
port: 8888
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---
|
||||
spring:
|
||||
datasource:
|
||||
|
Loading…
x
Reference in New Issue
Block a user