Browse Source

authorization默认值修改

htc 1 year ago
parent
commit
8089b475c2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      http/index.js

+ 1 - 1
http/index.js

@@ -1,7 +1,7 @@
 import http from './interface'
 
 export const $http = (url, method, data, json, isAuth, isBuffer) => {
-	let authorization = uni.getStorageSync('authorization') || 'Basic cmluZ3psZTpyaW5nemxl';//Basic cmVucmVuaW86cmVucmVuaW8=
+	let authorization = uni.getStorageSync('authorization') || 'Basic cmVucmVuaW86cmVucmVuaW8=';
 	let access_token = uni.getStorageSync('access_token') || '';
 	//设置请求前拦截器
 	http.interceptor.request = (config) => {