You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
711 B
44 lines
711 B
import service from '~/utils/request'
|
|
|
|
export const createNavigation = (data) => {
|
|
return service({
|
|
url: '/api/v1/navigation',
|
|
method: 'post',
|
|
data,
|
|
})
|
|
}
|
|
|
|
export const updateNavigation = (data) => {
|
|
return service({
|
|
url: '/api/v1/navigation',
|
|
method: 'put',
|
|
data,
|
|
})
|
|
}
|
|
|
|
export const deleteNavigation = (params) => {
|
|
return service({
|
|
url: '/api/v1/navigation',
|
|
method: 'delete',
|
|
params,
|
|
})
|
|
}
|
|
|
|
export const getNavigation = (params) => {
|
|
return service({
|
|
url: '/api/v1/navigation',
|
|
method: 'get',
|
|
params,
|
|
})
|
|
}
|
|
|
|
export const listNavigation = (params) => {
|
|
return service({
|
|
url: '/api/v1/navigation/list',
|
|
method: 'get',
|
|
params,
|
|
})
|
|
}
|
|
|
|
|