1
mirror of https://github.com/CarmJos/UltraDepository.git synced 2026-06-04 08:38:25 +08:00

提供JSON存储格式

This commit is contained in:
2022-01-03 21:55:02 +08:00
parent 8766b3a45e
commit e01aa6207e
9 changed files with 157 additions and 84 deletions
+2
View File
@@ -0,0 +1,2 @@
INSERT INTO `ub_data`(`uuid`, `data`, `day`)
VALUES ('<UUID>', '{"date":20220103,"depositories":{"miner":{"DIAMOND:0":{"sold":102,"amount":399}}}}', '20220103');
+1 -41
View File
@@ -1,41 +1 @@
{
"farmer": {},
"hunter": {
"CHICKEN:0": {
"amount": 3
},
"FEATHER:0": {
"amount": 2
}
},
"miner": {
"COAL:0": {
"amount": 9,
"sold": 10
},
"LAPIS_LAZULI:0": {
"amount": 9
},
"REDSTONE:0": {
"sold": 129
},
"COBBLESTONE:0": {
"amount": 12
},
"CLAY_BALL:0": {
"amount": 112
},
"DIAMOND:0": {
"amount": 975,
"sold": 1500
}
},
"fishman": {
"COD:0": {
"amount": 3
},
"PUFFERFISH:0": {
"amount": 64
}
}
}
{"date":20220103,"depositories":{"miner":{"DIAMOND:0":{"sold":102,"amount":399}}}}