chenrui 4 rokov pred
rodič
commit
41d3532c5c
3 zmenil súbory, kde vykonal 5 pridanie a 4 odobranie
  1. 3 3
      App.vue
  2. 1 1
      api/user.js
  3. 1 0
      pages/index/index.vue

+ 3 - 3
App.vue

@@ -1,7 +1,7 @@
 <script>
-	// const uat_URL = 'https://carwash.test.zyucgj.com/gc-shop/' // 预发布
-	const uat_URL = 'http://192.168.16.105:8302/gc-shop/' // 本地
-	const pro_URL = 'https://carwash.zyucgj.com/gc-shop/'  // 生产
+	const uat_URL = 'https://lese.test.sxzxyj.net/gc-channel/' // 预发布
+	// const uat_URL = 'http://192.168.16.102:8303/gc-channel/' // 本地
+	const pro_URL = 'https://lese.sxzxyj.net/gc-channel/'  // 生产
 	const buildType = 0 // 打包环境对应类型,1 生产 0 预发布
 	const buildURL = buildType ? pro_URL : uat_URL // 打包后实际对应的url
 	const envText = ['预发布环境','生产环境']

+ 1 - 1
api/user.js

@@ -51,7 +51,7 @@ export const getStore = (token) => {
 // 登出
 export const logout = () => {
   return axios.request({
-    url: 'auth/logout',
+    url: 'logout',
     method: 'get'
   })
 }

+ 1 - 0
pages/index/index.vue

@@ -99,6 +99,7 @@
 				this.listdata = []
 				this.total = 0
 				this.searchHandle(1)
+				this.getGoldLogTotal()
 			},
 			//  撤销单据
 			revokeFun(row){