feat: 分享页面api

This commit is contained in:
fit2cloud-chenyw 2021-03-18 16:56:24 +08:00
parent 9e9fb73892
commit 760b05e277

View File

@ -0,0 +1,20 @@
import request from '@/utils/request'
export function saveShare(data) {
return request({
url: '/api/share/',
method: 'post',
loading: true,
data
})
}
export function loadShares(data) {
return request({
url: '/api/share/queryWithResourceId',
method: 'post',
loading: true,
data
})
}