fix:无人船2
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user