文章缓存 redis定时转移到mongoDb

This commit is contained in:
WangHao
2020-10-12 23:29:13 +08:00
parent 11dc911d2b
commit 9ab209fe6b
15 changed files with 467 additions and 117 deletions

View File

@ -19,10 +19,25 @@ export function userGetNoteInfo(noteId) {
// 新增便签管理
export function addUserNote(data) {
return request({
url: '/note/note/addUserNote',
method: 'post',
data: data
})
}
// 修改便签文章的内容 实时保存
export function userUpdateNote(data) {
return request({
url: '/note/note/userUpdateNote',
method: 'put',
data: data
})
}
// 查询便签管理列表