Commit 0077d42e authored by 王晓倩's avatar 王晓倩

大屏获取燃气用户列表

parent 9ca885f1
......@@ -45,6 +45,16 @@ public class TDetectorUserController extends BaseController
return getDataTable(list);
}
/**
* 获取探测器用户列表
* @param tDetectorUser
* @return
*/
@GetMapping("/detectorUserList")
public AjaxResult detectorUserList(TDetectorUser tDetectorUser){
return AjaxResult.success(tDetectorUserService.detectorUserList(tDetectorUser));
}
/**
* 导出燃气用户列表
*/
......
......@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询探测器用户列表
export function listDetectorUser(query) {
return request({
url: '/detector/detectorUser/list',
url: '/supervise/user/list',
method: 'get',
params: query
})
......@@ -12,7 +12,7 @@ export function listDetectorUser(query) {
// 探测器用户列表
export function detectorUserList(query) {
return request({
url: '/detector/detectorUser/detectorUserList',
url: '/supervise/user/detectorUserList',
method: 'get',
params: query
})
......@@ -21,7 +21,7 @@ export function detectorUserList(query) {
// 查询探测器用户详细
export function getDetectorUser(userId) {
return request({
url: '/detector/detectorUser/' + userId,
url: '/supervise/user/' + userId,
method: 'get'
})
}
......@@ -29,7 +29,7 @@ export function getDetectorUser(userId) {
// 新增探测器用户
export function addDetectorUser(data) {
return request({
url: '/detector/detectorUser',
url: '/supervise/user',
method: 'post',
data: data
})
......@@ -38,7 +38,7 @@ export function addDetectorUser(data) {
// 修改探测器用户
export function updateDetectorUser(data) {
return request({
url: '/detector/detectorUser',
url: '/supervise/user',
method: 'put',
data: data
})
......@@ -47,7 +47,7 @@ export function updateDetectorUser(data) {
// 删除探测器用户
export function delDetectorUser(userId) {
return request({
url: '/detector/detectorUser/' + userId,
url: '/supervise/user/' + userId,
method: 'delete'
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment