refactor:change name=> fetch.js to request.js
This commit is contained in:
@@ -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'
|
||||
})
|
||||
|
Reference in New Issue
Block a user