|
@@ -269,7 +269,7 @@ export function editJoinHazard(data) {
|
|
|
//门锁列表接口
|
|
|
export function subjectRelationList(query) {
|
|
|
return request({
|
|
|
- url: '/smartlock/subjectRelation/list',
|
|
|
+ url: '/smartlock/subjectRelation/listSub',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
@@ -286,7 +286,7 @@ export function listLockRoom(query) {
|
|
|
// 新增智能门禁
|
|
|
export function subjectRelation(data) {
|
|
|
return request({
|
|
|
- url: '/smartlock/subjectRelation',
|
|
|
+ url: '/smartlock/subjectRelation/addSub',
|
|
|
method: 'post',
|
|
|
data: data
|
|
|
})
|
|
@@ -295,7 +295,7 @@ export function subjectRelation(data) {
|
|
|
// 删除智能门禁
|
|
|
export function delSubjectRelation(id) {
|
|
|
return request({
|
|
|
- url: '/smartlock/subjectRelation/'+id,
|
|
|
+ url: '/smartlock/subjectRelation/removeSub/'+id,
|
|
|
method: 'Delete',
|
|
|
})
|
|
|
}
|