Browse Source

完善测试服务器接口地址

master
yunuo970428 3 years ago
parent
commit
acfc2f75c5
  1. 5
      anrui-buscenter/anrui-buscenter-ui/.env.development
  2. 2
      anrui-buscenter/anrui-buscenter-ui/src/utils/auth.js

5
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"

2
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() {

Loading…
Cancel
Save