|
@@ -112,7 +112,7 @@ export function removeSubject(id) {
|
|
//根据ID查询摄像头列表
|
|
//根据ID查询摄像头列表
|
|
export function channels(data) {
|
|
export function channels(data) {
|
|
return request({
|
|
return request({
|
|
- url: '/camera/api/device/query/devices/channels',
|
|
|
|
|
|
+ url: '/algorithm/api/device/query/devices/channels',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: data
|
|
params: data
|
|
})
|
|
})
|
|
@@ -121,7 +121,7 @@ export function channels(data) {
|
|
//根据ID查询摄像头地址
|
|
//根据ID查询摄像头地址
|
|
export function startUrl(data) {
|
|
export function startUrl(data) {
|
|
return request({
|
|
return request({
|
|
- url: '/camera/api/play/startList',
|
|
|
|
|
|
+ url: '/algorithm/api/play/startList',
|
|
type:'video',
|
|
type:'video',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: data
|
|
params: data
|
|
@@ -243,7 +243,7 @@ export function subjectInfo(id,type) {
|
|
//查询实验室门禁
|
|
//查询实验室门禁
|
|
export function getDetalis(query) {
|
|
export function getDetalis(query) {
|
|
return request({
|
|
return request({
|
|
- url: '/smartlock/lockinfo/detalis',
|
|
|
|
|
|
+ url: '/algorithm/smartlock/lockinfo/detalis',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: query
|
|
params: query
|
|
})
|
|
})
|
|
@@ -269,7 +269,7 @@ export function editJoinHazard(data) {
|
|
//门锁列表接口
|
|
//门锁列表接口
|
|
export function subjectRelationList(query) {
|
|
export function subjectRelationList(query) {
|
|
return request({
|
|
return request({
|
|
- url: '/smartlock/subjectRelation/listSub',
|
|
|
|
|
|
+ url: '/algorithm/smartlock/subjectRelation/listSub',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: query
|
|
params: query
|
|
})
|
|
})
|
|
@@ -277,7 +277,7 @@ export function subjectRelationList(query) {
|
|
//门锁选择列表数据
|
|
//门锁选择列表数据
|
|
export function listLockRoom(query) {
|
|
export function listLockRoom(query) {
|
|
return request({
|
|
return request({
|
|
- url: '/smartlock/subjectRelation/listLockRoom',
|
|
|
|
|
|
+ url: '/algorithm/smartlock/subjectRelation/listLockRoom',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: query
|
|
params: query
|
|
})
|
|
})
|
|
@@ -286,7 +286,7 @@ export function listLockRoom(query) {
|
|
// 新增智能门禁
|
|
// 新增智能门禁
|
|
export function subjectRelation(data) {
|
|
export function subjectRelation(data) {
|
|
return request({
|
|
return request({
|
|
- url: '/smartlock/subjectRelation/addSub',
|
|
|
|
|
|
+ url: '/algorithm/smartlock/subjectRelation/addSub',
|
|
method: 'post',
|
|
method: 'post',
|
|
data: data
|
|
data: data
|
|
})
|
|
})
|
|
@@ -295,7 +295,7 @@ export function subjectRelation(data) {
|
|
// 删除智能门禁
|
|
// 删除智能门禁
|
|
export function delSubjectRelation(id) {
|
|
export function delSubjectRelation(id) {
|
|
return request({
|
|
return request({
|
|
- url: '/smartlock/subjectRelation/removeSub/'+id,
|
|
|
|
|
|
+ url: '/algorithm/smartlock/subjectRelation/removeSub/'+id,
|
|
method: 'Delete',
|
|
method: 'Delete',
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -303,7 +303,7 @@ export function delSubjectRelation(id) {
|
|
//门禁授权列表
|
|
//门禁授权列表
|
|
export function openDoorApplyList(query) {
|
|
export function openDoorApplyList(query) {
|
|
return request({
|
|
return request({
|
|
- url: '/smartlock/openDoorApply/list',
|
|
|
|
|
|
+ url: '/algorithm/smartlock/openDoorApply/list',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: query
|
|
params: query
|
|
})
|
|
})
|
|
@@ -312,7 +312,7 @@ export function openDoorApplyList(query) {
|
|
//门禁授权申请列表
|
|
//门禁授权申请列表
|
|
export function applyList(query) {
|
|
export function applyList(query) {
|
|
return request({
|
|
return request({
|
|
- url: '/smartlock/openDoorApply/applyList',
|
|
|
|
|
|
+ url: '/algorithm/smartlock/openDoorApply/applyList',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: query
|
|
params: query
|
|
})
|
|
})
|
|
@@ -321,7 +321,7 @@ export function applyList(query) {
|
|
//门禁授权申请列表
|
|
//门禁授权申请列表
|
|
export function postApproval(data) {
|
|
export function postApproval(data) {
|
|
return request({
|
|
return request({
|
|
- url: '/smartlock/approval',
|
|
|
|
|
|
+ url: '/algorithm/smartlock/approval',
|
|
method: 'post',
|
|
method: 'post',
|
|
data: data
|
|
data: data
|
|
})
|
|
})
|
|
@@ -330,7 +330,7 @@ export function postApproval(data) {
|
|
//提交门禁申请
|
|
//提交门禁申请
|
|
export function openDoorApply(data) {
|
|
export function openDoorApply(data) {
|
|
return request({
|
|
return request({
|
|
- url: '/smartlock/openDoorApply',
|
|
|
|
|
|
+ url: '/algorithm/smartlock/openDoorApply',
|
|
method: 'post',
|
|
method: 'post',
|
|
data: data
|
|
data: data
|
|
})
|
|
})
|
|
@@ -339,7 +339,7 @@ export function openDoorApply(data) {
|
|
//申请门禁详情
|
|
//申请门禁详情
|
|
export function getOpenDoorApply(id) {
|
|
export function getOpenDoorApply(id) {
|
|
return request({
|
|
return request({
|
|
- url: '/smartlock/openDoorApply/'+id,
|
|
|
|
|
|
+ url: '/algorithm/smartlock/openDoorApply/'+id,
|
|
method: 'get',
|
|
method: 'get',
|
|
})
|
|
})
|
|
}
|
|
}
|