我的团队添加
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { getToken, removeToken } from './storage'
|
||||
|
||||
const BASE_URL = 'http://c36bd4b4.natappfree.cc'
|
||||
const BASE_URL = import.meta.env.VITE_SYSTEM_URL
|
||||
|
||||
/**
|
||||
* 网络请求封装
|
||||
@@ -14,7 +14,7 @@ const request = options => {
|
||||
method: 'GET',
|
||||
data: {},
|
||||
header: {
|
||||
'deviceId': uni.getDeviceInfo().deviceId,
|
||||
deviceId: uni.getDeviceInfo().deviceId,
|
||||
'Content-Type': 'application/json' // 默认请求内容类型
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user