Ver Fonte

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

htc há 5 meses atrás
pai
commit
69aee232cb
1 ficheiros alterados com 1 adições e 1 exclusões
  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) => {