| 1234567891011121314 |
- import { get, post } from '@/utils/request'
- const fileApi = {
- serverInfoApi: '/api/file/oss/serverinfo',
- albumSubmitApi: '/api/file/oss/token',
- }
- export function getServerInfo(channelId) {
- return post(fileApi.serverInfoApi + '?channelId=' + channelId)
- }
- export function submitAlbum(album) {
- return post(fileApi.albumSubmitApi, album)
- }
|