Explorar o código

更换默认authorization

htc hai 5 meses
pai
achega
d35dd6878f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      http/index.js

+ 1 - 1
http/index.js

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