瀏覽代碼

更换默认authorization

htc 5 月之前
父節點
當前提交
d35dd6878f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) => {