|
@@ -391,7 +391,7 @@ const getList = async () => {
|
|
|
name: queryParams.name || undefined
|
|
|
};
|
|
|
|
|
|
- const response = await axios.get(`http://${__LOCAL_API__}/Hikvision/getDoorSearch`, { params });
|
|
|
+ const response = await axios.get(`${__LOCAL_API__}/Hikvision/getDoorSearch`, { params });
|
|
|
|
|
|
if (response.data.code === 200) {
|
|
|
deviceList.value = response.data.data.list || [];
|
|
@@ -542,7 +542,7 @@ const executeControl = async (doorIndexCodes, controlType) => {
|
|
|
controlType: parseInt(controlType)
|
|
|
};
|
|
|
|
|
|
- const response = await axios.get(`http://${__LOCAL_API__}/Hikvision/getDoorDoControl`, {
|
|
|
+ const response = await axios.get(`${__LOCAL_API__}/Hikvision/getDoorDoControl`, {
|
|
|
params
|
|
|
});
|
|
|
|