|
|
@@ -11,8 +11,8 @@ export const myRequest = (options) => {
|
|
|
url: BASE_URL + options.url,
|
|
|
method: options.method || "GET",
|
|
|
header: options.header || {
|
|
|
- 'token': uni.getStorageSync('token'),
|
|
|
- 'user_head': uni.getStorageSync('userhead')
|
|
|
+ 'token': uni.getStorageSync('token') || '',
|
|
|
+ 'user_head': uni.getStorageSync('userhead') || ''
|
|
|
},
|
|
|
data: options.data || {},
|
|
|
timeout: 25000,
|