Explorar o código

修改默认authorization(改为用户小程序的)

htc hai 5 meses
pai
achega
69aee232cb
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 cmVucmVuaW86cmVucmVuaW8=';
+	let authorization = uni.getStorageSync('authorization') || 'Basic cmluZ3psZTpyaW5nemxl';
 	let access_token = uni.getStorageSync('access_token') || '';
 	//设置请求前拦截器
 	http.interceptor.request = (config) => {