瀏覽代碼

fix: 添加demo

bill 11 月之前
父節點
當前提交
d931aae231
共有 1 個文件被更改,包括 325 次插入87 次删除
  1. 325 87
      public/test-case/model-list-demo.json

+ 325 - 87
public/test-case/model-list-demo.json

@@ -1,12 +1,132 @@
 {
-  "code": 0,
-  "message": "操作成功",
-  "data": [
+    "code": 0,
+    "message": "操作成功",
+    "data": [
         {
             "caseId": null,
-            "fusionNumId": 1997,
-            "fusionId": 221,
-            "modelId": 1252,
+            "fusionNumId": 803,
+            "fusionId": 238,
+            "modelId": 873,
+            "hide": 0,
+            "transform": {
+                "scale": [
+                    100,
+                    100,
+                    100
+                ],
+                "position": {
+                    "x": -45.350823942541645,
+                    "y": -104.43535169063614,
+                    "z": 7.290152971257626
+                },
+                "rotation": {
+                    "x": 0.0,
+                    "y": 0.0,
+                    "z": -3.1355273304349445
+                }
+            },
+            "opacity": 100.0,
+            "bottom": 0.0,
+            "token": null,
+            "sceneData": {
+                "modelId": 873,
+                "modelTitle": "港11室外_osgb",
+                "modelDateType": "b3dm",
+                "modelSize": "21.26MB",
+                "type": 3,
+                "modelObjUrl": null,
+                "modelGlbUrl": "[\"https://4dkk.4dage.com/fusion/test/b3dm/testModel/tileset.json\"]",
+                "userName": "88888888888",
+                "modelType": "b3dm",
+                "num": null,
+                "tbStatus": 0,
+                "createStatus": 1,
+                "createTime": "2024-08-09 15:27:07",
+                "updateTime": "2024-08-09 15:27:13",
+                "deptId": "0",
+                "deptName": "超管组织",
+                "id": null,
+                "buildObjStatus": null,
+                "name": null,
+                "payStatus": null,
+                "sceneName": null,
+                "snCode": null,
+                "status": 2,
+                "thumb": null,
+                "title": null,
+                "viewCount": null,
+                "isLaser": null,
+                "phone": null,
+                "bind": true,
+                "visible": 0,
+                "location": null
+            }
+        },
+        {
+            "caseId": null,
+            "fusionNumId": 782,
+            "fusionId": 231,
+            "modelId": 834,
+            "hide": 0,
+            "transform": {
+                "scale": [
+                    100,
+                    100,
+                    100
+                ],
+                "position": {
+                    "x": -22.35873,
+                    "y": -37.39679,
+                    "z": -1.9892550
+                },
+                "rotation": {
+                    "x": 1.5425202,
+                    "y": 1.04879730,
+                    "z": 0.010966
+                }
+            },
+            "opacity": 100.0,
+            "bottom": 0.0,
+            "token": null,
+            "sceneData": {
+                "modelId": 834,
+                "modelTitle": "人_obj",
+                "modelDateType": "obj",
+                "modelSize": "81.05MB",
+                "showInPano": true,
+                "type": 3,
+                "modelObjUrl": null,
+                "modelGlbUrl": "[\"https://4dkk.4dage.com/fusion/prod/model/glb/868/man001.glb\"]",
+                "userName": "13169663387",
+                "modelType": "glb",
+                "num": null,
+                "tbStatus": 0,
+                "createStatus": 1,
+                "createTime": "2024-07-06 12:10:13",
+                "updateTime": "2024-07-06 12:10:40",
+                "deptId": "4",
+                "deptName": "公安部演示小组",
+                "id": null,
+                "buildObjStatus": null,
+                "name": null,
+                "payStatus": null,
+                "sceneName": null,
+                "snCode": null,
+                "status": 2,
+                "thumb": null,
+                "title": null,
+                "viewCount": null,
+                "isLaser": null,
+                "phone": null,
+                "bind": true,
+                "location": null
+            }
+        },
+        {
+            "caseId": null,
+            "fusionNumId": 778,
+            "fusionId": 231,
+            "modelId": 811,
             "hide": 0,
             "transform": {
                 "scale": [
@@ -15,58 +135,119 @@
                     100.0
                 ],
                 "position": {
-                    "x": -0.32228,
-                    "y": -0.50493,
-                    "z": 0.0
+                    "x": -10.44701258911915,
+                    "y": -42.66079106735544,
+                    "z": 9.402257810415175
+                },
+                "rotation": {
+                    "x": -1.5707963267948963,
+                    "y": 0.36848723541801,
+                    "z": 3.141592653589793
+                }
+            },
+            "opacity": 100.0,
+            "bottom": 0.0,
+            "token": null,
+            "sceneData": {
+                "modelId": 811,
+                "modelTitle": "展厅室内_mesh",
+                "modelDateType": "b3dm",
+                "modelSize": "4.55MB",
+                "type": 4,
+                "modelObjUrl": "/home/tomcat/jar-fusion-8808/prod/model/SS-X5apgUqrn4n/mesh.obj",
+                "modelGlbUrl": "[\"https://4dkk.4dage.com/scene_view_data/SS-X5apgUqrn4n/images/3dtiles/tileset.json\"]\r",
+                "userName": null,
+                "modelType": "b3dm",
+                "num": "SS-X5apgUqrn4n",
+                "tbStatus": 0,
+                "createStatus": 1,
+                "createTime": "2022-11-18 17:35:53",
+                "updateTime": "2024-07-08 11:03:26",
+                "deptId": "4",
+                "deptName": "公安部演示小组",
+                "id": 3260229,
+                "buildObjStatus": 0,
+                "name": "展厅室内_mesh",
+                "payStatus": 1,
+                "sceneName": "展厅室内",
+                "snCode": "GABSS0001",
+                "status": 2,
+                "thumb": "https://4dkk.4dage.com/scene_edit_data/SS-X5apgUqrn4n/user/thumb-1k.jpg",
+                "title": "展厅室内",
+                "viewCount": 49,
+                "isLaser": false,
+                "phone": null,
+                "bind": true,
+                "visible": 1,
+                "location": null
+            }
+        },
+        {
+            "caseId": null,
+            "fusionNumId": 805,
+            "fusionId": 240,
+            "modelId": 874,
+            "hide": 0,
+            "transform": {
+                "scale": [
+                    100.0,
+                    100.0,
+                    100.0
+                ],
+                "position": {
+                    "x": 20.092762021549753,
+                    "y": -115.72516108460032,
+                    "z": -1.8091536
                 },
                 "rotation": {
                     "x": 0.0,
                     "y": 0.0,
-                    "z": 0.0
+                    "z": -0.435149718040960
                 }
             },
             "opacity": 100.0,
             "bottom": 0.0,
             "token": null,
             "sceneData": {
-                "modelId": 1252,
-                "modelTitle": null,
+                "modelId": 874,
+                "modelTitle": "港11室内_点云",
                 "modelDateType": "obj",
                 "modelSize": null,
-                "type": 2,
+                "type": 5,
                 "modelObjUrl": null,
                 "modelGlbUrl": null,
                 "userName": null,
                 "modelType": "pointcloud",
-                "num": "SS-t-Rv7vsJ0R219",
+                "num": "SG-qA9txZVJEnu",
                 "tbStatus": 0,
                 "createStatus": 1,
-                "createTime": "2024-03-27 14:52:33",
-                "updateTime": "2024-07-17 14:18:53",
-                "deptId": "DEP000011759420653032312832",
-                "deptName": "数据统计总队",
-                "fileNewName": null,
-                "id": 3796,
+                "createTime": "2024-03-21 12:18:30",
+                "updateTime": "2024-08-09 17:18:39",
+                "deptId": "4",
+                "deptName": "公安部演示小组",
+                "id": 4089,
                 "buildObjStatus": 1,
-                "name": "场景2",
+                "name": "港11室内_点云",
                 "payStatus": 1,
                 "sceneName": null,
-                "snCode": "A0IA7R137",
+                "snCode": "GAB000001",
                 "status": 2,
                 "thumb": "https://laser-oss.4dkankan.com/static/img_default/pc.jpg",
-                "title": "场景2",
-                "viewCount": 50,
+                "title": "MP对比",
+                "viewCount": 38,
                 "isLaser": true,
-                "phone": "18819272201",
+                "phone": "18612080104",
                 "bind": true,
+                "prefix": "https://laser.4dkankan.com/backend",
+                "visible": 0,
                 "location": 4
             }
         },
         {
             "caseId": null,
-            "fusionNumId": 1098,
-            "fusionId": 221,
-            "modelId": 1307,
+            "fusionNumId": 980,
+            "fusionId": 181,
+            "modelId": 1098,
             "hide": 0,
             "transform": {
                 "scale": [
@@ -75,48 +256,47 @@
                     100.0
                 ],
                 "position": {
-                    "x": 0.16552170253057596,
-                    "y": -0.152602403,
-                    "z": 0.10249640482
+                    "x": -3.94976,
+                    "y": -20.06918,
+                    "z": 2.19647
                 },
                 "rotation": {
                     "x": 0.0,
                     "y": 0.0,
-                    "z": 0.0
+                    "z": -1.5953
                 }
             },
             "opacity": 100.0,
             "bottom": 0.0,
             "token": null,
             "sceneData": {
-                "modelId": 1307,
-                "modelTitle": "las",
-                "modelDateType": "las",
-                "modelSize": "5.11MB",
-                "type": 3,
-                "modelObjUrl": null,
-                "modelGlbUrl": "[\"https://4dkk.4dage.com/fusion/xj/model/modelId_1307/webcloud\"]",
-                "userName": "88888888888",
-                "modelType": "las",
-                "num": null,
+                "modelId": 1098,
+                "modelTitle": null,
+                "modelDateType": "obj",
+                "modelSize": "72.24MB",
+                "type": 6,
+                "modelObjUrl": "/home/tomcat/jar-fusion-8808/test/model/SG-t-nmksnkWGvhM/mesh.obj",
+                "modelGlbUrl": "[\"https://4dkk.4dage.com/fusion/test/model/SG-t-nmksnkWGvhM/mesh/floor_0/lod_0/mesh.glb\"]",
+                "userName": null,
+                "modelType": "glb",
+                "num": "SG-t-nmksnkWGvhM",
                 "tbStatus": 0,
                 "createStatus": 1,
-                "createTime": "2024-07-19 10:52:32",
-                "updateTime": "2024-07-19 10:52:35",
-                "deptId": "0",
-                "deptName": "超管组织",
-                "fileNewName": "https://4dkk.4dage.com/fusion/xj/model/modelId_1307/3af7984d9c1d4cb99998b14a54346008.zip",
-                "id": null,
-                "buildObjStatus": null,
-                "name": null,
-                "payStatus": null,
-                "sceneName": null,
-                "snCode": null,
+                "createTime": "2024-08-23 16:37:17",
+                "updateTime": "2024-08-26 10:18:49",
+                "deptId": "DEP000011759420653032312832",
+                "deptName": "数据统计总队",
+                "id": 3008306,
+                "buildObjStatus": 0,
+                "name": "一楼窗外(8.23 拼接测试)",
+                "payStatus": 1,
+                "sceneName": "一楼窗外(8.23 拼接测试)",
+                "snCode": "BDVT00002",
                 "status": 2,
-                "thumb": null,
-                "title": null,
-                "viewCount": null,
-                "isLaser": null,
+                "thumb": "https://4dkk.4dage.com/scene_view_data/SG-t-nmksnkWGvhM/images/floor_0.png?t=1724402237352",
+                "title": "一楼窗外(8.23 拼接测试)",
+                "viewCount": 3,
+                "isLaser": false,
                 "phone": null,
                 "bind": true,
                 "location": null
@@ -124,9 +304,9 @@
         },
         {
             "caseId": null,
-            "fusionNumId": 1096,
-            "fusionId": 221,
-            "modelId": 1309,
+            "fusionNumId": 978,
+            "fusionId": 181,
+            "modelId": 1099,
             "hide": 0,
             "transform": {
                 "scale": [
@@ -135,12 +315,12 @@
                     100.0
                 ],
                 "position": {
-                    "x": -0.43192,
-                    "y": -0.28869,
-                    "z": 2.31154
+                    "x": 0.0,
+                    "y": 0.0,
+                    "z": 0.0
                 },
                 "rotation": {
-                    "x": 1.5708,
+                    "x": 0.0,
                     "y": 0.0,
                     "z": 0.0
                 }
@@ -149,40 +329,98 @@
             "bottom": 0.0,
             "token": null,
             "sceneData": {
-                "modelId": 1309,
+                "modelId": 1099,
                 "modelTitle": null,
-                "modelDateType": "b3dm",
-                "modelSize": null,
+                "modelDateType": "obj",
+                "modelSize": "16.67MB",
                 "type": 6,
-                "modelObjUrl": null,
-                "modelGlbUrl": "[\"https://4dkk.4dage.com/scene_view_data/SG-t-D0hJSjOGkfX/images/3dtiles/tileset.json\"]",
+                "modelObjUrl": "/home/tomcat/jar-fusion-8808/test/model/SG-t-ZD62GqBRAf2/mesh.obj",
+                "modelGlbUrl": "[\"https://4dkk.4dage.com/fusion/test/model/SG-t-ZD62GqBRAf2/mesh/floor_0/lod_0/mesh.glb\"]",
                 "userName": null,
-                "modelType": "b3dm",
-                "num": "SG-t-D0hJSjOGkfX",
+                "modelType": "glb",
+                "num": "SG-t-ZD62GqBRAf2",
                 "tbStatus": 0,
                 "createStatus": 1,
-                "createTime": "2024-07-23 17:40:50",
-                "updateTime": "2024-07-23 20:39:46",
-                "deptId": "DEP000011456505791239610368",
-                "deptName": "广州市消防救援支队",
-                "fileNewName": null,
-                "id": 3007940,
+                "createTime": "2024-08-23 16:03:58",
+                "updateTime": "2024-08-26 10:18:49",
+                "deptId": "DEP000011759420653032312832",
+                "deptName": "数据统计总队",
+                "id": 3008304,
+                "buildObjStatus": 0,
+                "name": "公司外一楼(8.23 拼接测试)",
+                "payStatus": 1,
+                "sceneName": "公司外一楼(8.23 拼接测试)",
+                "snCode": "BDVT00002",
+                "status": 2,
+                "thumb": "https://4dkk.4dage.com/scene_view_data/SG-t-ZD62GqBRAf2/images/floor_0.png?t=1724400238578",
+                "title": "公司外一楼(8.23 拼接测试)",
+                "viewCount": 1,
+                "isLaser": false,
+                "phone": null,
+                "bind": true,
+                "location": null
+            }
+        },
+        {
+            "caseId": null,
+            "fusionNumId": 977,
+            "fusionId": 181,
+            "modelId": 1096,
+            "hide": 0,
+            "transform": {
+                "scale": [
+                    100.0,
+                    100.0,
+                    100.0
+                ],
+                "position": {
+                    "x": 9.07272,
+                    "y": -23.60383,
+                    "z": 1.9989
+                },
+                "rotation": {
+                    "x": 0.0,
+                    "y": 0.0,
+                    "z": 1.56016
+                }
+            },
+            "opacity": 100.0,
+            "bottom": 0.0,
+            "token": null,
+            "sceneData": {
+                "modelId": 1096,
+                "modelTitle": null,
+                "modelDateType": "obj",
+                "modelSize": "9.60MB",
+                "type": 6,
+                "modelObjUrl": "/home/tomcat/jar-fusion-8808/test/model/SG-t-IKm8dlx3ryg/mesh.obj",
+                "modelGlbUrl": "[\"https://4dkk.4dage.com/fusion/test/model/SG-t-IKm8dlx3ryg/mesh/floor_0/lod_0/mesh.glb\"]",
+                "userName": null,
+                "modelType": "glb",
+                "num": "SG-t-IKm8dlx3ryg",
+                "tbStatus": 0,
+                "createStatus": 1,
+                "createTime": "2024-08-22 15:30:04",
+                "updateTime": "2024-08-23 14:36:54",
+                "deptId": "DEP000011759420653032312832",
+                "deptName": "数据统计总队",
+                "id": 3008288,
                 "buildObjStatus": 0,
-                "name": "非文保app拍摄的深光场景",
+                "name": "一楼办公区8.22(拼接测试)",
                 "payStatus": 1,
-                "sceneName": "非文保app拍摄的深光场景",
-                "snCode": "BPVT00019",
+                "sceneName": "一楼办公区8.22(拼接测试)",
+                "snCode": "BDVT00002",
                 "status": 2,
-                "thumb": "https://4dkk.4dage.com/scene_view_data/SG-t-D0hJSjOGkfX/images/floor_0.png?t=1721727650730",
-                "title": "非文保app拍摄的深光场景",
-                "viewCount": 7,
+                "thumb": "https://4dkk.4dage.com/scene_view_data/SG-t-IKm8dlx3ryg/images/floor_0.png?t=1724311804573",
+                "title": "一楼办公区8.22(拼接测试)",
+                "viewCount": 5,
                 "isLaser": false,
                 "phone": null,
                 "bind": true,
                 "location": null
             }
-        } 
-  ],
-  "success": true,
-  "timestamp": 1722216629620
+        }
+    ],
+    "success": true,
+    "timestamp": 1722216629620
 }