xuqiaoying 2 år sedan
förälder
incheckning
73b3828478
2 ändrade filer med 3 tillägg och 2 borttagningar
  1. 2 1
      common/request.js
  2. 1 1
      pages/webview/index.vue

+ 2 - 1
common/request.js

@@ -20,7 +20,8 @@ export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'  //test
 // web_view的
 // export const WEBVIEW_URL = 'https://m.xyyxt.net/'  //release
 // export const WEBVIEW_URL = 'https://testm.xyyxt.net/'  //预发布
-export const WEBVIEW_URL = 'http://120.79.166.78:18001/' // 测试环境
+// export const WEBVIEW_URL = 'http://120.79.166.78:18001/' // 测试环境-祥粤云学堂
+export const WEBVIEW_URL = 'https://cmanage.xyyxt.net/' // 测试环境-祥粤学堂
 // export const WEBVIEW_URL = 'http://api.xyyxt.net:6066/'  //预发布(弃用了)
 
 // export const socket_url = 'ws://42.192.164.187:19005/webSocket/'  //test

+ 1 - 1
pages/webview/index.vue

@@ -83,7 +83,7 @@ export default {
       
     } else {
       this.url = decodeURIComponent(decodeURIComponent(this.options.url))
-      // console.log('小程序进来的url:', this.url)
+      console.log('小程序进来的url:', this.url)
       let index = this.url.indexOf('?')
       let paramArr = this.url.slice(index + 1).split('&')
       let paramObj = {}