dataease/frontend/src/api/panel/share.js

21 lines
325 B
JavaScript
Raw Normal View History

2021-03-18 16:56:24 +08:00
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
})
}