talk_appAmin/api/signln/SignAddress/SignAddress.js

63 lines
1.2 KiB
JavaScript
Raw Normal View History

2024-06-15 11:25:51 +08:00
import request from '@/utils/request'
// 查询地址管理列表
export function listSignAddress(query) {
return request({
url: '/SignAddress/SignAddress/list',
method: 'get',
params: query
})
}
// 查询地址管理列表
export function listSignAddressUser(query) {
return request({
url: '/SignAddress/SignAddress/list/Userid',
method: 'get',
params: query
})
}
// id查询地址管理列表
export function listSignAddressid(query) {
return request({
url: '/SignAddress/SignAddress/list/id',
method: 'get',
params: query
})
}
// 查询地址管理详细
export function getSignAddress(id) {
return request({
url: '/SignAddress/SignAddress/' + id,
method: 'get'
})
}
// 新增地址管理
export function addSignAddress(data) {
return request({
url: '/SignAddress/SignAddress',
method: 'post',
data: data
})
}
// 修改地址管理
export function updateSignAddress(data) {
return request({
url: '/SignAddress/SignAddress',
method: 'put',
data: data
})
}
// 删除地址管理
export function delSignAddress(id) {
return request({
url: '/SignAddress/SignAddress/' + id,
method: 'delete'
})
}