import service from '@/utils/service'

// const baseUrl = 'http://localhost:8082/manager/api/order'

const baseUrl = process.env.VUE_APP_HOST;

const commonApi = {};

commonApi.baseUrl = baseUrl;

commonApi.getPolicy = path => {
    return service({
        url: `${baseUrl}/upload/aliyun/getUploadOssPolicy`,
        method: 'post',
        data: {path:path}
    })
}


export default commonApi

