|
@@ -191,7 +191,7 @@ function tmRules(value, type) {
|
|
|
}
|
|
|
|
|
|
export const $http = (url, method, data, json, isAuth, isBuffer) => {
|
|
|
- let authorization = uni.getStorageSync('authorization') || 'Basic cmVucmVuaW86cmVucmVuaW8=';
|
|
|
+ let authorization = uni.getStorageSync('authorization') || 'Basic cmluZ3psZV9tZXJjaGFudDpyaW5nemxlX21lcmNoYW50';
|
|
|
let access_token = uni.getStorageSync('access_token') || '';
|
|
|
//设置请求前拦截器
|
|
|
http.interceptor.request = (config) => {
|