谢杰标 2 سال پیش
والد
کامیت
d385b079ba
3فایلهای تغییر یافته به همراه2 افزوده شده و 24 حذف شده
  1. 0 22
      common/request.js
  2. 1 1
      manifest.json
  3. 1 1
      pages/index/index.vue

+ 0 - 22
common/request.js

@@ -1,8 +1,4 @@
-// 'http://192.168.1.222:8088','https://file-dev.xyyxt.net/'线下
-// 'https://api.xyyxt.net' 'https://file.xyyxt.net/'线上
 import store from '@/store/index.js'
-import method from '@/common/methodTool.js'
-import api from './api.js'
 var num = 1
 //接口api   
 // export const BASE_URL = 'https://api.xyyxt.net'   //release
@@ -26,18 +22,6 @@ export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/'  //test
 // 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/' // 测试环境-祥粤学堂  
-// export const WEBVIEW_URL = 'http://api.xyyxt.net:6066/'  //预发布(弃用了)
-
-// export const socket_url = 'ws://42.192.164.187:19005/webSocket/'  //test
-// export const socket_url = 'ws://120.79.166.78:19009/webSocket/'  //预发布
-// export const socket_url = 'wss://api.xyyxt.net/webSocket/'  //release
-
-export const  PUBLIC_KEY = `-----BEGIN PUBLIC KEY-----
-MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4qkbwIKErstK1sFESPEhOShpR
-pj4+sOVpJHxl5r/2xLBfA/MrXcAEra5Ro9cXNQSqmLLt8wecoLk/glfa5IdhXV0h
-RVQplIVs5z3MxcUa9ptKPHUTgh8xMCBvl8sUJKwkmn4vYWeDfHT22EL7Hr1pTMwU
-hF6WiNlWfQTVoF1rhwIDAQAB
------END PUBLIC KEY-----`;
 
 export const version = '1.0.2' 
 export const tenantId = '867735392558919680'  // 祥粤云学堂:867735392558919680,祥粤学堂:667735392758919630, 中建云学堂-567735392758918520
@@ -63,12 +47,6 @@ export const myRequest = (options) => {
 				TenantId: tenantId
 			},
 			success: async (res) => {
-				// if(num == 2) {
-				// 	return;
-				// } else {
-				// 	num++
-				// }
-				// doRequest(options)
 				if (!options.compleLoading) { // 请求的接口有带compleLoading 就不隐藏加载中
 					uni.hideLoading()
 				}

+ 1 - 1
manifest.json

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

+ 1 - 1
pages/index/index.vue

@@ -345,7 +345,7 @@
 
 <script>
 import { mapGetters, mapActions } from "vuex";
-import { socket_url, version, tenantId } from "@/common/request.js";
+import { version, tenantId } from "@/common/request.js";
 export default {
   data() {
     return {