Commit e926b04d by xinla

--no commit message

1 parent 1a49e95a
import request from '@/utils/request' import request from '@/utils/request'
const service = window.CONFIG.services.common
export function upload(data) {
return request({
url: service + '/uploadFile2Cos',
method: 'POST',
data,
})
}
/** /**
* 下载网络连接文件 * 下载网络连接文件
......
...@@ -31,6 +31,7 @@ window.CONFIG = { ...@@ -31,6 +31,7 @@ window.CONFIG = {
services: { services: {
wecom: '/wecom', wecom: '/wecom',
common: '/common',
}, },
get headers() { get headers() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!