39 lines
710 B
TypeScript
39 lines
710 B
TypeScript
import request from '@/utils/request'
|
|
|
|
export function islandInfoadd(data: any) {
|
|
return request({
|
|
url: '/islandInfo/add',
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
|
|
export function islandInfodel(id: string | number) {
|
|
return request({
|
|
url: `/islandInfo/del/${id}`,
|
|
method: 'delete',
|
|
})
|
|
}
|
|
|
|
export function islandInfoupd(data: any) {
|
|
return request({
|
|
url: '/islandInfo/update',
|
|
method: 'put',
|
|
data,
|
|
})
|
|
}
|
|
|
|
export function islandInfolist(data: any) {
|
|
return request({
|
|
url: '/islandInfo/listPage',
|
|
method: 'get',
|
|
params: data,
|
|
})
|
|
}
|
|
|
|
export function islandInfobyid(id: string | number) {
|
|
return request({
|
|
url: `/islandInfo/getById/${id}`,
|
|
method: 'get',
|
|
})
|
|
} |