@@ -1,2 +1,2 @@
# 通用配置
-VITE_SERVER_BASE=
+VITE_SERVER_BASE=http://resumework-service.njyunzhi.com
@@ -8,7 +8,7 @@ export default function request (url, options = {}) {
Object.keys(options.headers || {}).forEach(key => headers.append(key, options.headers[key]))
- return fetch(url, { ...options, headers, credentials: 'include' })
+ return fetch(url, { ...options, headers, credentials: 'include' })
.then(response => response.json())
.then(data => {
if (data.code === 1000) return data.data