初始提交
This commit is contained in:
28
src/api/dpApi/otherApi.js
Normal file
28
src/api/dpApi/otherApi.js
Normal file
@ -0,0 +1,28 @@
|
||||
import request from "@/utils/otherRequest";
|
||||
|
||||
// 经纬度转换地址
|
||||
export function getLocation (params = {}){
|
||||
return request({
|
||||
url: 'http://80.75.112.19:8080/reverse.php',
|
||||
method: 'GET',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 获取流地址
|
||||
export function getVideoUrl (params = {}){
|
||||
return request({
|
||||
url: 'http://80.149.27.55/api/haikang/cameras/getws',
|
||||
method: 'GET',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 获取回放地址
|
||||
export function getReplayUrl (params = {}){
|
||||
return request({
|
||||
url: 'http://80.149.27.55/api/haikang/cameras/replay',
|
||||
method: 'GET',
|
||||
params
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user