feat(system):下发图纸模块

This commit is contained in:
tzy 2025-07-19 08:51:50 +08:00
parent 9172b9c881
commit 7466fcf08f

15
src/utils/external-api.js Normal file
View File

@ -0,0 +1,15 @@
/**
* 外部接口调用通用方法
*/
import axios from "axios";
export function getstate() {
return axios.get('/all/getstate?UTF-8')
.then(response => {
return response.data;
})
.catch(error => {
console.error('API 请求失败:', error);
});
}