Compare commits
2 Commits
f84c4037fb
...
971106c9d9
Author | SHA1 | Date | |
---|---|---|---|
971106c9d9 | |||
1a9e821f48 |
@ -39,7 +39,7 @@ export function buildingInfo(id: ID) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
export function buildingAdd(data: BuildingForm) {
|
export function buildingAdd(data: BuildingForm) {
|
||||||
return requestClient.postWithMsg<void>('/property/building', data);
|
return requestClient.postWithMsg<void>('/property/building/add', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -50,7 +50,7 @@ export function communityInfo(id: ID) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
export function communityAdd(data: CommunityForm) {
|
export function communityAdd(data: CommunityForm) {
|
||||||
return requestClient.postWithMsg<void>('/property/community', data);
|
return requestClient.postWithMsg<void>('/property/community/add', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ export function floorInfo(id: ID) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
export function floorAdd(data: FloorForm) {
|
export function floorAdd(data: FloorForm) {
|
||||||
return requestClient.postWithMsg<void>('/property/floor', data);
|
return requestClient.postWithMsg<void>('/property/floor/add', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ export function roomInfo(id: ID) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
export function roomAdd(data: RoomForm) {
|
export function roomAdd(data: RoomForm) {
|
||||||
return requestClient.postWithMsg<void>('/property/room', data);
|
return requestClient.postWithMsg<void>('/property/room/add', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ export function unitInfo(id: ID) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
export function unitAdd(data: UnitForm) {
|
export function unitAdd(data: UnitForm) {
|
||||||
return requestClient.postWithMsg<void>('/property/unit', data);
|
return requestClient.postWithMsg<void>('/property/unit/add', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -45,7 +45,7 @@ export function accessControlInfo(id: ID) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
export function accessControlAdd(data: AccessControlForm) {
|
export function accessControlAdd(data: AccessControlForm) {
|
||||||
return requestClient.postWithMsg<void>('/sis/accessControl', data);
|
return requestClient.postWithMsg<void>('/sis/accessControl/add', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -56,7 +56,7 @@ export function accessControlDeviceInfo(id: ID) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
export function accessControlDeviceAdd(data: AccessControlDeviceForm) {
|
export function accessControlDeviceAdd(data: AccessControlDeviceForm) {
|
||||||
return requestClient.postWithMsg<void>('/sis/accessControlDevice', data);
|
return requestClient.postWithMsg<void>('/sis/accessControlDevice/add', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -39,7 +39,7 @@ export function deviceManageInfo(id: ID) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
export function deviceManageAdd(data: DeviceManageForm) {
|
export function deviceManageAdd(data: DeviceManageForm) {
|
||||||
return requestClient.postWithMsg<void>('/sis/deviceManage', data);
|
return requestClient.postWithMsg<void>('/sis/deviceManage/add', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -40,7 +40,7 @@ export function devicePointInfo(id: ID) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
export function devicePointAdd(data: DevicePointForm) {
|
export function devicePointAdd(data: DevicePointForm) {
|
||||||
return requestClient.postWithMsg<void>('/sis/devicePoint', data);
|
return requestClient.postWithMsg<void>('/sis/devicePoint/add', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,18 +1,20 @@
|
|||||||
import type { PersonLibVO, PersonLibForm, PersonLibQuery } from './model';
|
import type { PersonLibForm, PersonLibQuery, PersonLibVO } from './model';
|
||||||
|
|
||||||
import type { ID, IDS } from '#/api/common';
|
import type { ID, IDS, PageResult } from '#/api/common';
|
||||||
import type { PageResult } from '#/api/common';
|
|
||||||
|
|
||||||
import { commonExport } from '#/api/helper';
|
import { commonExport } from '#/api/helper';
|
||||||
import { requestClient } from '#/api/request';
|
import { requestClient } from '#/api/request';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询人像库列表
|
查询人像库列表
|
||||||
* @param params
|
@param params
|
||||||
* @returns 人像库列表
|
@returns 人像库列表
|
||||||
*/
|
* @param params
|
||||||
|
*/
|
||||||
export function personLibList(params?: PersonLibQuery) {
|
export function personLibList(params?: PersonLibQuery) {
|
||||||
return requestClient.get<PageResult<PersonLibVO>>('/sis/personLib/list', { params });
|
return requestClient.get<PageResult<PersonLibVO>>('/sis/personLib/list', {
|
||||||
|
params,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -39,7 +41,7 @@ export function personLibInfo(id: ID) {
|
|||||||
* @returns void
|
* @returns void
|
||||||
*/
|
*/
|
||||||
export function personLibAdd(data: PersonLibForm) {
|
export function personLibAdd(data: PersonLibForm) {
|
||||||
return requestClient.postWithMsg<void>('/sis/personLib', data);
|
return requestClient.postWithMsg<void>('/sis/personLib/add', data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -28,8 +28,9 @@ export default defineConfig(async () => {
|
|||||||
rewrite: (path) => path.replace(/^\/api/, ''),
|
rewrite: (path) => path.replace(/^\/api/, ''),
|
||||||
// mock代理目标地址
|
// mock代理目标地址
|
||||||
// target: 'http://by.missmoc.top:3010/',
|
// target: 'http://by.missmoc.top:3010/',
|
||||||
// target: 'http://192.168.0.103:8080',
|
target: 'http://127.0.0.1:8080',
|
||||||
target: 'http://47.109.37.87:3010',
|
// target: 'http://47.109.37.87:3010',
|
||||||
|
// target: 'http://192.168.110.207:8080',
|
||||||
ws: true,
|
ws: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user