feat(map): 更新地图配置和物品数据,优化XML文件结构

This commit is contained in:
1
2025-08-16 02:53:18 +00:00
parent caa901d208
commit a02de8a4b4
11 changed files with 9425 additions and 16717 deletions

View File

@@ -101,7 +101,7 @@ func ReadHTTPFile(url string) ([]byte, error) {
func getxml() ([]byte, error) {
// 读取整个文件内容,返回字节切片和错误
content, err := ReadHTTPFile("http://127.0.0.1:8080/assets/map_info.xml")
content, err := ReadHTTPFile("http://127.0.0.1:8080/assets/210.xml")
if err != nil {
// 处理错误(文件不存在、权限问题等)
log.Fatalf("无法读取文件: %v", err)