|
@@ -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()
|
|
|
}
|