新增便签ruoyi-note模块
This commit is contained in:
53
ruoyi-ui/src/api/note/note.js
Normal file
53
ruoyi-ui/src/api/note/note.js
Normal file
@ -0,0 +1,53 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询便签管理列表
|
||||
export function listNote(query) {
|
||||
return request({
|
||||
url: '/note/note/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询便签管理详细
|
||||
export function getNote(noteId) {
|
||||
return request({
|
||||
url: '/note/note/' + noteId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增便签管理
|
||||
export function addNote(data) {
|
||||
return request({
|
||||
url: '/note/note',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改便签管理
|
||||
export function updateNote(data) {
|
||||
return request({
|
||||
url: '/note/note',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除便签管理
|
||||
export function delNote(noteId) {
|
||||
return request({
|
||||
url: '/note/note/' + noteId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出便签管理
|
||||
export function exportNote(query) {
|
||||
return request({
|
||||
url: '/note/note/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user