chore: freeze guide and explain update
This commit is contained in:
38
static/guide-data/README.md
Normal file
38
static/guide-data/README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Guide Static Data
|
||||
|
||||
This directory contains the production guide/explain static package exported from
|
||||
the Dameng `NATURE_SGS` schema.
|
||||
|
||||
Generated files:
|
||||
|
||||
- `manifest.json`
|
||||
- `halls.json`
|
||||
- `outlines.json`
|
||||
- `guide-stops.json`
|
||||
- `exhibits.json`
|
||||
- `guide-contents.json`
|
||||
- `pois.json`
|
||||
- `indexes.json`
|
||||
- `poi-bridge.json`
|
||||
|
||||
Re-export:
|
||||
|
||||
```bash
|
||||
python scripts/export-guide-static-data.py
|
||||
```
|
||||
|
||||
Optional arguments:
|
||||
|
||||
```bash
|
||||
python scripts/export-guide-static-data.py --config <application-local.yaml> --output static/guide-data --nav-assets static/nav-assets/<nav-package>
|
||||
```
|
||||
|
||||
Frontend mode:
|
||||
|
||||
- Default: `VITE_GUIDE_CONTENT_SOURCE_MODE=static`
|
||||
- Future API mode: `VITE_GUIDE_CONTENT_SOURCE_MODE=remote`
|
||||
- Explicit development demo mode only: `VITE_GUIDE_CONTENT_SOURCE_MODE=mock`
|
||||
|
||||
The static package preserves original database IDs and relationship fields.
|
||||
`poi-bridge.json` maps SGS guide/explain POI references to the active nav-assets POI IDs.
|
||||
Confirmed exhibit/stop/content POI mappings are used as exact locations; hall mappings are used as hall-level fallback locations when exhibit-level POI data is missing.
|
||||
183307
static/guide-data/exhibits.json
Normal file
183307
static/guide-data/exhibits.json
Normal file
File diff suppressed because it is too large
Load Diff
35307
static/guide-data/guide-contents.json
Normal file
35307
static/guide-data/guide-contents.json
Normal file
File diff suppressed because one or more lines are too long
7827
static/guide-data/guide-stops.json
Normal file
7827
static/guide-data/guide-stops.json
Normal file
File diff suppressed because it is too large
Load Diff
255
static/guide-data/halls.json
Normal file
255
static/guide-data/halls.json
Normal file
@@ -0,0 +1,255 @@
|
||||
{
|
||||
"schemaVersion": "sgs-guide-static/v1",
|
||||
"sourceTable": "SGS_EXHIBITION_HALL",
|
||||
"rowCount": 8,
|
||||
"rows": [
|
||||
{
|
||||
"id": "715792102100832256",
|
||||
"mapId": null,
|
||||
"floorId": null,
|
||||
"poiId": null,
|
||||
"hallCode": "E5",
|
||||
"name": "人类厅",
|
||||
"nameEn": null,
|
||||
"subtitle": null,
|
||||
"description": null,
|
||||
"descriptionEn": null,
|
||||
"narrationText": null,
|
||||
"coverImageUrl": null,
|
||||
"galleryUrls": null,
|
||||
"audioUrl": null,
|
||||
"audioDuration": null,
|
||||
"videoUrl": null,
|
||||
"areaSqm": null,
|
||||
"exhibitCount": 0,
|
||||
"openTime": null,
|
||||
"sortOrder": 5,
|
||||
"status": 1,
|
||||
"tenantId": "1",
|
||||
"creator": "",
|
||||
"createTime": "2026-06-08T00:32:35",
|
||||
"updater": "",
|
||||
"updateTime": "2026-06-08T00:32:35",
|
||||
"deleted": 0,
|
||||
"floorCode": "L1",
|
||||
"schematicImageUrl": null
|
||||
},
|
||||
{
|
||||
"id": "715792102100832257",
|
||||
"mapId": null,
|
||||
"floorId": null,
|
||||
"poiId": null,
|
||||
"hallCode": "E2",
|
||||
"name": "地球厅",
|
||||
"nameEn": null,
|
||||
"subtitle": null,
|
||||
"description": null,
|
||||
"descriptionEn": null,
|
||||
"narrationText": null,
|
||||
"coverImageUrl": null,
|
||||
"galleryUrls": null,
|
||||
"audioUrl": null,
|
||||
"audioDuration": null,
|
||||
"videoUrl": null,
|
||||
"areaSqm": null,
|
||||
"exhibitCount": 0,
|
||||
"openTime": null,
|
||||
"sortOrder": 2,
|
||||
"status": 1,
|
||||
"tenantId": "1",
|
||||
"creator": "",
|
||||
"createTime": "2026-06-08T00:32:35",
|
||||
"updater": "",
|
||||
"updateTime": "2026-06-08T00:32:35",
|
||||
"deleted": 0,
|
||||
"floorCode": "L-2",
|
||||
"schematicImageUrl": null
|
||||
},
|
||||
{
|
||||
"id": "715792102100832258",
|
||||
"mapId": null,
|
||||
"floorId": null,
|
||||
"poiId": null,
|
||||
"hallCode": "E1",
|
||||
"name": "宇宙厅",
|
||||
"nameEn": null,
|
||||
"subtitle": null,
|
||||
"description": null,
|
||||
"descriptionEn": null,
|
||||
"narrationText": null,
|
||||
"coverImageUrl": null,
|
||||
"galleryUrls": null,
|
||||
"audioUrl": null,
|
||||
"audioDuration": null,
|
||||
"videoUrl": null,
|
||||
"areaSqm": null,
|
||||
"exhibitCount": 0,
|
||||
"openTime": null,
|
||||
"sortOrder": 1,
|
||||
"status": 1,
|
||||
"tenantId": "1",
|
||||
"creator": "",
|
||||
"createTime": "2026-06-08T00:32:35",
|
||||
"updater": "",
|
||||
"updateTime": "2026-06-08T00:32:35",
|
||||
"deleted": 0,
|
||||
"floorCode": "L-2",
|
||||
"schematicImageUrl": null
|
||||
},
|
||||
{
|
||||
"id": "715792102100832259",
|
||||
"mapId": null,
|
||||
"floorId": null,
|
||||
"poiId": null,
|
||||
"hallCode": "E3",
|
||||
"name": "演化厅",
|
||||
"nameEn": null,
|
||||
"subtitle": null,
|
||||
"description": null,
|
||||
"descriptionEn": null,
|
||||
"narrationText": null,
|
||||
"coverImageUrl": null,
|
||||
"galleryUrls": null,
|
||||
"audioUrl": null,
|
||||
"audioDuration": null,
|
||||
"videoUrl": null,
|
||||
"areaSqm": null,
|
||||
"exhibitCount": 0,
|
||||
"openTime": null,
|
||||
"sortOrder": 3,
|
||||
"status": 1,
|
||||
"tenantId": "1",
|
||||
"creator": "",
|
||||
"createTime": "2026-06-08T00:32:35",
|
||||
"updater": "",
|
||||
"updateTime": "2026-06-08T00:32:35",
|
||||
"deleted": 0,
|
||||
"floorCode": "L-2",
|
||||
"schematicImageUrl": null
|
||||
},
|
||||
{
|
||||
"id": "715792102100832260",
|
||||
"mapId": null,
|
||||
"floorId": null,
|
||||
"poiId": null,
|
||||
"hallCode": "E4",
|
||||
"name": "恐龙厅",
|
||||
"nameEn": null,
|
||||
"subtitle": null,
|
||||
"description": null,
|
||||
"descriptionEn": null,
|
||||
"narrationText": null,
|
||||
"coverImageUrl": null,
|
||||
"galleryUrls": null,
|
||||
"audioUrl": null,
|
||||
"audioDuration": null,
|
||||
"videoUrl": null,
|
||||
"areaSqm": null,
|
||||
"exhibitCount": 0,
|
||||
"openTime": null,
|
||||
"sortOrder": 4,
|
||||
"status": 1,
|
||||
"tenantId": "1",
|
||||
"creator": "",
|
||||
"createTime": "2026-06-08T00:32:35",
|
||||
"updater": "",
|
||||
"updateTime": "2026-06-08T00:32:35",
|
||||
"deleted": 0,
|
||||
"floorCode": "L-2",
|
||||
"schematicImageUrl": null
|
||||
},
|
||||
{
|
||||
"id": "715792102100832261",
|
||||
"mapId": null,
|
||||
"floorId": null,
|
||||
"poiId": null,
|
||||
"hallCode": "E6",
|
||||
"name": "生物厅",
|
||||
"nameEn": null,
|
||||
"subtitle": null,
|
||||
"description": null,
|
||||
"descriptionEn": null,
|
||||
"narrationText": null,
|
||||
"coverImageUrl": null,
|
||||
"galleryUrls": null,
|
||||
"audioUrl": null,
|
||||
"audioDuration": null,
|
||||
"videoUrl": null,
|
||||
"areaSqm": null,
|
||||
"exhibitCount": 0,
|
||||
"openTime": null,
|
||||
"sortOrder": 6,
|
||||
"status": 1,
|
||||
"tenantId": "1",
|
||||
"creator": "",
|
||||
"createTime": "2026-06-08T00:32:35",
|
||||
"updater": "",
|
||||
"updateTime": "2026-06-08T00:32:35",
|
||||
"deleted": 0,
|
||||
"floorCode": "L2",
|
||||
"schematicImageUrl": null
|
||||
},
|
||||
{
|
||||
"id": "715792102100832262",
|
||||
"mapId": null,
|
||||
"floorId": null,
|
||||
"poiId": null,
|
||||
"hallCode": "E7",
|
||||
"name": "生态厅",
|
||||
"nameEn": null,
|
||||
"subtitle": null,
|
||||
"description": null,
|
||||
"descriptionEn": null,
|
||||
"narrationText": null,
|
||||
"coverImageUrl": null,
|
||||
"galleryUrls": null,
|
||||
"audioUrl": null,
|
||||
"audioDuration": null,
|
||||
"videoUrl": null,
|
||||
"areaSqm": null,
|
||||
"exhibitCount": 0,
|
||||
"openTime": null,
|
||||
"sortOrder": 7,
|
||||
"status": 1,
|
||||
"tenantId": "1",
|
||||
"creator": "",
|
||||
"createTime": "2026-06-08T00:32:35",
|
||||
"updater": "",
|
||||
"updateTime": "2026-06-08T00:32:35",
|
||||
"deleted": 0,
|
||||
"floorCode": "L2",
|
||||
"schematicImageUrl": null
|
||||
},
|
||||
{
|
||||
"id": "715792102100832263",
|
||||
"mapId": null,
|
||||
"floorId": null,
|
||||
"poiId": null,
|
||||
"hallCode": "E8",
|
||||
"name": "家园厅",
|
||||
"nameEn": null,
|
||||
"subtitle": null,
|
||||
"description": null,
|
||||
"descriptionEn": null,
|
||||
"narrationText": null,
|
||||
"coverImageUrl": null,
|
||||
"galleryUrls": null,
|
||||
"audioUrl": null,
|
||||
"audioDuration": null,
|
||||
"videoUrl": null,
|
||||
"areaSqm": null,
|
||||
"exhibitCount": 0,
|
||||
"openTime": null,
|
||||
"sortOrder": 8,
|
||||
"status": 1,
|
||||
"tenantId": "1",
|
||||
"creator": "",
|
||||
"createTime": "2026-06-08T00:32:35",
|
||||
"updater": "",
|
||||
"updateTime": "2026-06-08T00:32:35",
|
||||
"deleted": 0,
|
||||
"floorCode": "L2",
|
||||
"schematicImageUrl": null
|
||||
}
|
||||
]
|
||||
}
|
||||
103375
static/guide-data/indexes.json
Normal file
103375
static/guide-data/indexes.json
Normal file
File diff suppressed because it is too large
Load Diff
35
static/guide-data/manifest.json
Normal file
35
static/guide-data/manifest.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"schemaVersion": "sgs-guide-static/v1",
|
||||
"generatedAt": "2026-06-22T01:54:11.876097+00:00",
|
||||
"source": {
|
||||
"type": "dameng",
|
||||
"host": "1.92.206.90",
|
||||
"port": "5237",
|
||||
"schema": "NATURE_SGS",
|
||||
"configPath": "E:\\MyWork\\深圳国际艺术馆\\智慧导览\\smart-navigation-system\\yudao-server\\src\\main\\resources\\application-local.yaml"
|
||||
},
|
||||
"files": {
|
||||
"halls": "halls.json",
|
||||
"outlines": "outlines.json",
|
||||
"guideStops": "guide-stops.json",
|
||||
"exhibits": "exhibits.json",
|
||||
"guideContents": "guide-contents.json",
|
||||
"pois": "pois.json",
|
||||
"indexes": "indexes.json",
|
||||
"poiBridge": "poi-bridge.json"
|
||||
},
|
||||
"counts": {
|
||||
"halls": 8,
|
||||
"outlines": 250,
|
||||
"guide-stops": 391,
|
||||
"exhibits": 4700,
|
||||
"guide-contents": 706,
|
||||
"pois": 2238
|
||||
},
|
||||
"bridgeStats": {
|
||||
"hallBridgeCount": 8,
|
||||
"sgsPoiBridgeCount": 869,
|
||||
"sgsPoiCandidateCount": 12,
|
||||
"navPoiCount": 298
|
||||
}
|
||||
}
|
||||
3257
static/guide-data/outlines.json
Normal file
3257
static/guide-data/outlines.json
Normal file
File diff suppressed because it is too large
Load Diff
8255
static/guide-data/poi-bridge.json
Normal file
8255
static/guide-data/poi-bridge.json
Normal file
File diff suppressed because it is too large
Load Diff
89527
static/guide-data/pois.json
Normal file
89527
static/guide-data/pois.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user