fix:对接高德地图,修复地图bug
This commit is contained in:
@@ -32,6 +32,7 @@ const request = (option) => {
|
||||
"Content-Type": option.headers && option.headers["Content-Type"] ? option.headers["Content-Type"] : (option.method && option.method.toUpperCase() === 'POST' ? 'application/json' : 'application/x-www-form-urlencoded'),
|
||||
...option.headers,
|
||||
'appid': appid,
|
||||
'platform': 'alipay', // 标识支付宝小程序平台
|
||||
'Authorization': "Bearer " + uni.getStorageSync('token'),
|
||||
'Clientid': uni.getStorageSync('client_id')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user