Blame view

antis-ncc-admin/src/api/common.js 210 Bytes
03207d5d   wwk   1
1
2
3
4
5
6
7
8
9
  import request from '@/utils/request'
  
  // 获取下载文件链接
  export function getDownloadUrl(type, fileName) {
    return request({
      url: `/api/file/Download/${type}/${fileName}`,
      method: 'get'
    })
  }