diff --git a/anrui-buscenter/anrui-buscenter-ui/.env.development b/anrui-buscenter/anrui-buscenter-ui/.env.development index 0c8e9236c7..02f8ee89a0 100644 --- a/anrui-buscenter/anrui-buscenter-ui/.env.development +++ b/anrui-buscenter/anrui-buscenter-ui/.env.development @@ -5,8 +5,5 @@ ENV = 'development' VUE_APP_BASE_API = '/api' ## 配置测试和本地开发时的 接口地址 -####VUE_APP_URL = "http://26077a35f5.wicp.vip" -VUE_APP_URL = "http://26077a35f5.wicp.vip:25879" ##VUE_APP_URL = "http://192.168.2.44:8111" -VUE_APP_URL = "http://120.46.131.15:8111" -##VUE_APP_URL = "http://1mn7264414.qicp.vip" +VUE_APP_URL = "http://anrui.yyundong.com" diff --git a/anrui-buscenter/anrui-buscenter-ui/src/utils/auth.js b/anrui-buscenter/anrui-buscenter-ui/src/utils/auth.js index 34b5a8fc8e..5075ab8849 100644 --- a/anrui-buscenter/anrui-buscenter-ui/src/utils/auth.js +++ b/anrui-buscenter/anrui-buscenter-ui/src/utils/auth.js @@ -8,7 +8,7 @@ export function getToken() { } export function setToken(token) { - return Cookies.set(TokenKey, token, { expires: 7, path: '/' }) + return Cookies.set(TokenKey, token, {expires: 7, path: '/'}) } export function removeToken() { @@ -16,8 +16,8 @@ export function removeToken() { } export function getStorage() { - return sessionStorage.getItem('token') - // return 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTm8iOiI0MjdhMmZiMC02MGM1LTQwOWYtYmVhNC00ZWI0NDEwNDFhZTYiLCJpc3MiOiJXQksiLCJleHAiOjE2NTM2MTQwMjJ9.CAT-RYSdYeSIL_rDVNQsRJX4beAjU0YpKCd9uMkAL4A' + return sessionStorage.getItem('token') + // return 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTm8iOiI0MjdhMmZiMC02MGM1LTQwOWYtYmVhNC00ZWI0NDEwNDFhZTYiLCJpc3MiOiJXQksiLCJleHAiOjE2NTM2MTQwMjJ9.CAT-RYSdYeSIL_rDVNQsRJX4beAjU0YpKCd9uMkAL4A' } export function setStorage(session) {