const http = uni.$u.http
|
|
//登录
|
export const loginApi = (data) => http.post('/api/wx/login', data, {
|
custom: {
|
auth: false,
|
}
|
})
|
|
|
export const updateTagApi = (data) => http.post('/api/wx/updateTagApi',data, {
|
|
})
|
|
export const getBaseGPSCesium = (params) => http.get('/api/wx/getBaseGPSCesium', {
|
params: params
|
})
|
|
|
export const getGPSCesium = (params) => http.get('/api/wx/getGPSCesium', {
|
params: params
|
})
|
|
|
|
|
export const getGPS = (params) => http.get('/api/wx/getGPS', {
|
params: params
|
})
|
|
export const MarsHome = () => http.post('/api/wx/MarsHome', {
|
|
})
|
|
|
export const moreprocessingWarn = (data) => http.post('/api/wx/moreprocessingWarn', data)
|
|
export const processingWarn = (data) => http.post('/api/wx/processingWarn', data)
|
|
export const submitper = (data) => http.post('/api/wx/submitper', data)
|
|
export const updatedatasource = (data) => http.put('/api/wx/updatedatasource', data)
|
|
export const updateFence = (data) => http.post('/api/wx/updateFence', data)
|
|
export const addpicqwe = (data) => http.post('/api/wx/addpicqwe', data)
|
|
export const ShouDongKaiSuo = (data) => http.post('/api/wx/ShouDongKaiSuo', data)
|
|
|
|
export const findBaiDuGuiJi = (params) => http.get('/api/wx/findBaiDuGuiJi', {
|
params: params
|
})
|
|
export const findtagIdPerson = (params) => http.get('/api/wx/findtagIdPerson', {
|
params: params
|
})
|
|
findtagIdPerson
|
|
export const deleFence = (params) => http.get('/api/wx/deleFence', {
|
params: params
|
})
|
|
export const findTbUpapp = (params) => http.get('/api/wx/findTbUpapp', {
|
params: params
|
})
|
|
export const findFakagui = (params) => http.get('/api/wx/findFakagui', {
|
params: params
|
})
|
|
export const findFakaTag = (params) => http.get('/api/wx/findFakaTag', {
|
params: params
|
})
|
|
|
|
|
export const sms = (params) => http.get('/api/wx/sms', {
|
params: params
|
})
|
|
export const findAllFence = (params) => http.get('/api/wx/findAllFence', {
|
params: params
|
})
|
|
export const findFakaji = (params) => http.get('/api/wx/findFakaji', {
|
params: params
|
})
|
|
export const undateFaka = (params) => http.get('/api/wx/undateFaka', {
|
params: params
|
})
|
|
|
|
export const findwarning = (params) => http.get('/api/wx/findwarning', {
|
params: params
|
})
|
|
export const findAchor = (params) => http.get('/api/wx/findAchor', {
|
params: params
|
})
|
|
export const findTag = (params) => http.get('/api/wx/findTag', {
|
params: params
|
})
|
|
export const findFence = (params) => http.get('/api/wx/findFence', {
|
params: params
|
})
|
|
export const acquisition = (params) => http.get('/api/wx/acquisition', {
|
params: params
|
})
|
|
|
export const FenceKaiQi = (params) => http.get('/api/wx/FenceKaiQi', {
|
params: params
|
})
|
|
export const FenceGuanBi = (params) => http.get('/api/wx/FenceGuanBi', {
|
params: params
|
})
|
|
|
// findwarning
|
|
export const earlyWarning = () => http.get('/api/wx/earlyWarning', {
|
params: {}
|
})
|
|
export const findbumen = () => http.get('/api/wx/findbumen', {
|
params: {}
|
})
|
|
|
|
export const findWarningNum = () => http.get('/api/wx/findWarningNum', {
|
params: {}
|
})
|
|
export const checkLogin = (token) => http.get('/api/wx/checkLogin', {
|
params: {
|
token: token
|
}
|
})
|
|
|
// /api/wx/findPerson
|
//我的
|
export const findPerson = (params) => http.get('/api/wx/findPerson', {
|
params:params
|
})
|