root пре 3 година
родитељ
комит
69c040e2e2
4 измењених фајлова са 4 додато и 5 уклоњено
  1. 1 1
      .env.development
  2. 0 1
      src/permission.js
  3. 1 1
      src/store/modules/user.js
  4. 2 2
      src/views/bz/integrate.vue

+ 1 - 1
.env.development

@@ -4,4 +4,4 @@ ENV = 'development'
 # base api
 VUE_APP_BASE_API = 'http://127.0.0.1:9800'
 
-VUE_UNIFIED_LOGIN_URL = 'http://smartcity-dev.123cx.com/login'
+VUE_UNIFIED_LOGIN_URL = 'http://dbadmin.zhlc.liucheng.gov.cn/login'

+ 0 - 1
src/permission.js

@@ -9,7 +9,6 @@ import cookies from 'vue-cookies';
 NProgress.configure({ showSpinner: false }) // NProgress Configuration
 
 const whiteList = ['/login', '/api/docs'] // no redirect whitelist
-// const loginUrl = 'development' === process.env.NODE_ENV ? '/login' : 'http://smartcity-dev.123cx.com/login';
 const loginUrl = '/login';
 
 router.beforeEach(async (to, from, next) => {

+ 1 - 1
src/store/modules/user.js

@@ -2,7 +2,7 @@ import { login, getOauthInfo, loginOut } from '@/api/oauth'
 import { resetRouter } from '@/router'
 import cookies from 'vue-cookies';
 
-const domian = 'development' === process.env.NODE_ENV ? '' : '.123cx.com';
+const domian = 'development' === process.env.NODE_ENV ? '' : '.liucheng.gov.cn';
 const expires = 60 * 60 * 24 * 7;
 
 const getDefaultState = () => {

+ 2 - 2
src/views/bz/integrate.vue

@@ -130,7 +130,7 @@
           <div class="" style="font-size: 16px; color: #999999" align="center">
             <img
               style="margin-top: 3px; margin-right: 5px"
-              src="https://wladmin-pro-smartcity.123cx.com/statics/image/travelIntegratedData/icon.png"
+              src="https://wladmin.zhlc.liucheng.gov.cn/statics/image/travelIntegratedData/icon.png"
             />
             销售金额
           </div>
@@ -149,7 +149,7 @@
           <div class="" style="font-size: 16px; color: #999999" align="center">
             <img
               style="margin-top: 3px; margin-right: 5px"
-              src="https://wladmin-pro-smartcity.123cx.com/statics/image/travelIntegratedData/icon.png"
+              src="https://wladmin.zhlc.liucheng.gov.cn/statics/image/travelIntegratedData/icon.png"
             />
             门票收入
           </div>