1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- // test 测试环境
- const test = {
- BASE_URL: 'http://120.79.166.78:19012',
- BASE_IMG_URL: 'https://file-dev.xyyxt.net/',
- WEBVIEW_URL: 'http://120.79.166.78:18001/',
- domain: 'h.xyyxt.net',
- tenantId: '867735392558919680', //详粤云学堂
- appid: 'wxd3c8ae80cf43a305',
- version: '1.0.2',
- TOP_LOGO: '/static/logo2.png',
- SCAN_LOGO: '/static/me/logo.png'
- }
- let isDev
- // #ifdef H5
- isDev = process.env.NODE_ENV === 'development'
- // #endif
- // #ifdef MP-WEIXIN
- isDev = __wxConfig.envVersion === 'develop'
- // #endif
- // const index = 0 // 祥粤云学堂
- // const index = 1 // 祥粤学堂
- // const index = 2 // 勘设云学堂
- const index = 3 // 中正云学堂
- const set = [
- // 祥粤云学堂
- {
- BASE_URL: 'https://api.xyyxt.net',
- BASE_IMG_URL: 'https://file.xyyxt.net/',
- WEBVIEW_URL: 'https://m.xyyxt.net/',
- domain: 'h.xyyxt.net',
- tenantId: '867735392558919680',
- appid: 'wxd3c8ae80cf43a305',
- tenantName: '祥粤云学堂',
- version: '1.0.2',
- TOP_LOGO: '/static/logo2.png',
- SCAN_LOGO: '/static/me/logo.png'
- },
- // 祥粤学堂
- {
- BASE_URL: 'https://api.xyyxt.net',
- BASE_IMG_URL: 'https://file.xyyxt.net/',
- WEBVIEW_URL: 'https://cm.xyyxt.net/',
- domain: '',
- tenantId: '667735392758919630',
- appid: 'wx871153afc95f55f4',
- tenantName: '祥粤学堂',
- version: '1.0.2',
- TOP_LOGO: '/static/logo2.png',
- SCAN_LOGO: '/static/me/logo.png'
- },
- // 勘设云学堂
- {
- BASE_URL: 'https://api.xyyxt.net',
- BASE_IMG_URL: 'https://file.xyyxt.net/',
- WEBVIEW_URL: 'https://zstcm.xyyxt.net/',
- domain: '',
- tenantId: '567735392758918520',
- appid: 'wx29d0ad81e625ad81',
- tenantName: '勘设云学堂',
- version: '1.0.2',
- TOP_LOGO: '/static/logo520.png',
- SCAN_LOGO: '/static/me/logo520.png'
- },
- // 中正云学堂
- {
- BASE_URL: 'https://api.xyyxt.net',
- BASE_IMG_URL: 'https://file.xyyxt.net/',
- WEBVIEW_URL: 'https://live.gdzzkj.net/',
- domain: 'h.gdzzkj.net',
- tenantId: '141250585240548145',
- appid: 'wx5872ef563d13dabf',
- tenantName: '中正云学堂',
- version: '1.0.2',
- TOP_LOGO: '/static/logo145.png',
- SCAN_LOGO: '/static/me/logo145.png'
- }
- ]
- export default isDev ? test : set[index]
|