This commit is contained in:
2026-07-30 13:23:06 +08:00
parent 06bd82081a
commit 5dbcea275e
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -1,3 +1,4 @@
/.idea/*
*.db
web/node_modules/
web/dist/
+2 -2
View File
@@ -50,7 +50,7 @@ type amapPoi struct {
Name string `json:"name"`
Type string `json:"type"`
Typecode string `json:"typecode"`
Address string `json:"address"`
Address amapString `json:"address"`
Tel amapString `json:"tel"`
Location string `json:"location"`
BusinessArea amapString `json:"business_area"`
@@ -175,7 +175,7 @@ func (s *poiService) toPoiItem(p *amapPoi) *dto.PoiItem {
return &dto.PoiItem{
PoiId: p.Id,
Name: p.Name,
Address: p.Address,
Address: string(p.Address),
Phone: string(p.Tel),
Category: p.Type,
City: string(p.City),
+1
View File
@@ -371,6 +371,7 @@ function provinceChanged() {
html, body, #app {
width: 100%;
height: 100%;
overflow: hidden;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
color: #333;
}
-1
View File
@@ -88,7 +88,6 @@ function addMarkers(pois) {
})
currentMarkers.push(marker)
bounds.extend([lat, lng])
})
}