xuqiaoying 2 жил өмнө
parent
commit
bca636898f

+ 3 - 3
common/request.js

@@ -19,10 +19,10 @@ export const BASE_IMG_URL = 'https://file.xyyxt.net/'     //release
 // 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://m.xyyxt.net/'  //release-祥粤云学堂
 // export const WEBVIEW_URL = 'https://cm.xyyxt.net/'  //release-祥粤学堂
 // export const WEBVIEW_URL = 'https://zstcm.xyyxt.net/'  //release-中建云学堂
-// export const WEBVIEW_URL = 'https://live.gdzzkj.net/'  //release-中正学堂
+export const WEBVIEW_URL = 'https://live.gdzzkj.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:18011/' // 测试环境-祥粤学堂  
@@ -40,7 +40,7 @@ hF6WiNlWfQTVoF1rhwIDAQAB
 -----END PUBLIC KEY-----`;
 
 export const version = '1.5.12' 
-export const tenantId = '867735392558919680'  // 祥粤云学堂:867735392558919680,祥粤学堂:667735392758919630, 中建云学堂-567735392758918520,中正学堂-141250585240548145
+export const tenantId = '141250585240548145'  // 祥粤云学堂:867735392558919680,祥粤学堂:667735392758919630, 中建云学堂-567735392758918520,中正学堂-141250585240548145
 export const myRequest = (options) => {
 	if (store.state.allowLoading && !options.noLoading) {
 		uni.showLoading({

+ 2 - 2
manifest.json

@@ -73,9 +73,9 @@
     },
     /* 快应用特有相关 */
     "quickapp" : {},
-    /* 小程序特有相关 */
+    /* 小程序特有相关 中正学堂-wx5872ef563d13dabf, */
     "mp-weixin" : {
-        "appid" : "wxd3c8ae80cf43a305", // 祥粤云学堂:wxd3c8ae80cf43a305, 祥粤学堂-wx871153afc95f55f4
+        "appid" : "wx5872ef563d13dabf", // 祥粤云学堂:wxd3c8ae80cf43a305, 祥粤学堂-wx871153afc95f55f4
         "setting" : {
             "urlCheck" : false,
             "postcss" : true,

+ 3 - 2
pages/index/index.vue

@@ -457,9 +457,10 @@ export default {
       this.OfficialLogin();
     } else {
       console.log("没有code");
-      // 没有code,就重定向到地址https://www.xyyxt.net?ask_type=h.xyyxt.net 去获取code,授权后就会把code带上然后访问域名,就拿到code了
+      // 没有code,就重定向到地址https://www.xyyxt.net?ask_type=h.xyyxt.net 去获取code,授权后就会把code带上然后访问域名
+      // h.gdzzkj.net
       if (!uni.getStorageSync('h5_code')) {
-      	location.replace('https://www.xyyxt.net/?ask_type=h.xyyxt.net')
+      	location.replace('https://www.xyyxt.net/?ask_type=h.gdzzkj.net')
       	return
       }
     }