mirror of
https://github.com/dataease/dataease.git
synced 2026-05-18 17:58:11 +08:00
feat: 分享收藏完善
This commit is contained in:
27
frontend/src/api/panel/enshrine.js
Normal file
27
frontend/src/api/panel/enshrine.js
Normal file
@@ -0,0 +1,27 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function saveEnshrine(panelGroupId) {
|
||||
return request({
|
||||
url: '/api/store/' + panelGroupId,
|
||||
method: 'post',
|
||||
loading: true
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteEnshrine(id) {
|
||||
return request({
|
||||
url: '/api/store/remove/' + id,
|
||||
method: 'post',
|
||||
loading: true
|
||||
})
|
||||
}
|
||||
|
||||
export function enshrineList(data) {
|
||||
return request({
|
||||
url: '/api/store/list',
|
||||
method: 'post',
|
||||
loading: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user