This commit is contained in:
@@ -39,7 +39,7 @@ export function buildingInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function buildingAdd(data: BuildingForm) {
|
||||
return requestClient.postWithMsg<void>('/property/building/add', data);
|
||||
return requestClient.postWithMsg<void>('/property/building', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -50,7 +50,7 @@ export function communityInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function communityAdd(data: CommunityForm) {
|
||||
return requestClient.postWithMsg<void>('/property/community/add', data);
|
||||
return requestClient.postWithMsg<void>('/property/community', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -39,7 +39,7 @@ export function floorInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function floorAdd(data: FloorForm) {
|
||||
return requestClient.postWithMsg<void>('/property/floor/add', data);
|
||||
return requestClient.postWithMsg<void>('/property/floor', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -39,7 +39,7 @@ export function roomInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function roomAdd(data: RoomForm) {
|
||||
return requestClient.postWithMsg<void>('/property/room/add', data);
|
||||
return requestClient.postWithMsg<void>('/property/room', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -39,7 +39,7 @@ export function unitInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function unitAdd(data: UnitForm) {
|
||||
return requestClient.postWithMsg<void>('/property/unit/add', data);
|
||||
return requestClient.postWithMsg<void>('/property/unit', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -45,7 +45,7 @@ export function accessControlInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function accessControlAdd(data: AccessControlForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/accessControl/add', data);
|
||||
return requestClient.postWithMsg<void>('/sis/accessControl', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -56,7 +56,7 @@ export function accessControlDeviceInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function accessControlDeviceAdd(data: AccessControlDeviceForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/accessControlDevice/add', data);
|
||||
return requestClient.postWithMsg<void>('/sis/accessControlDevice', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -39,7 +39,7 @@ export function deviceManageInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function deviceManageAdd(data: DeviceManageForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/deviceManage/add', data);
|
||||
return requestClient.postWithMsg<void>('/sis/deviceManage', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -40,7 +40,7 @@ export function devicePointInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function devicePointAdd(data: DevicePointForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/devicePoint/add', data);
|
||||
return requestClient.postWithMsg<void>('/sis/devicePoint', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user