fix:无人船2

This commit is contained in:
2026-04-08 03:22:34 +08:00
parent a338cf7d02
commit 4b1e695cad
12 changed files with 314 additions and 356 deletions
@@ -168,7 +168,7 @@ public class ModelFileUploadService {
// 如果有tileset.json,返回其URL
for (Map<String, Object> item : successList) {
String key = (String) item.get("objectKey");
if (key != null && key.endsWith("tileset.json") && !key.contains("/Block/")) {
if (key != null && key.endsWith("tileset.json") && !key.matches(".*(/Block[^/]*/|/Block[^/]*$).*")) {
result.put("tilesetUrl", item.get("cdnUrl"));
break;
}