refactor:change name=> fetch.js to request.js

This commit is contained in:
Pan
2017-11-07 13:55:57 +08:00
parent 5eda0685ed
commit 61deec548c
6 changed files with 14 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
import fetch from '@/utils/fetch'
import request from '@/utils/request'
export function getToken() {
return fetch({
return request({
url: '/qiniu/upload/token', // 假地址 自行替换
method: 'get'
})