水电表基本搭建完成

This commit is contained in:
Zy
2026-04-27 08:08:30 +08:00
parent ab736fa15f
commit 826b22e206
26 changed files with 2208 additions and 393 deletions

View File

@@ -38,7 +38,9 @@ const service = axios.create({
// 不需要小区 ID 的接口白名单(支持 * 通配符)
const whiteVillageId = [
'/village',
'/village/*'
'/village/*',
'/waterDevice/generateBarCode', // 水表 条码
'/electricityDevice/generateBarCodee' // 电表 条码
// 以后直接在这里加新地址,支持 /xxx/*、/xxx/xxx 写法
];
@@ -151,6 +153,8 @@ service.interceptors.request.use(
if (config.data instanceof FormData) {
delete config.headers['Content-Type'];
}
console.log(config, config.data);
return config;
},
(error: any) => {