|
@@ -8,8 +8,8 @@ export function getEquipmentLabel(
|
|
|
code,
|
|
|
projectId
|
|
|
) {
|
|
|
- return fetch({ method: 'GET', url: `${physics}/data-platform-3/infocode/query_property?projectId=${projectId}&type=${code}&enrich=true` })
|
|
|
-
|
|
|
+
|
|
|
+ return fetch({ method: 'GET', url: `${physics}/data-platform-3/infocode/complex_query?projectId=${projectId}&type=${code}&combine=true&enrich=true` })
|
|
|
}
|
|
|
|
|
|
export function getEquipmentValue(
|
|
@@ -39,7 +39,7 @@ export function getwinValue(
|
|
|
]
|
|
|
}
|
|
|
console.log(data)
|
|
|
- return fetch({ method: 'POST', url: `${physics}/data-platform-3/infocode/complex_query?projectId=${projectId}&secret=${secret}`, data })
|
|
|
+ return fetch({ method: 'POST', url: `${physics}/data-platform-3/object/batch_query?projectId=${projectId}&secret=${secret}`, data })
|
|
|
}
|
|
|
|
|
|
|