feat: 分享收藏完善

This commit is contained in:
fit2cloud-chenyw
2021-04-20 14:19:10 +08:00
parent 5f402b35df
commit 6b285d7391
7 changed files with 190 additions and 9 deletions

View 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
})
}