|
@@ -4,18 +4,21 @@
|
|
const node_dev = process.env.H_NODE_ENV;
|
|
const node_dev = process.env.H_NODE_ENV;
|
|
|
|
|
|
let baseUrl = null
|
|
let baseUrl = null
|
|
|
|
+let linkUrl = null
|
|
let upFileUrl= null
|
|
let upFileUrl= null
|
|
let staticUrl= null
|
|
let staticUrl= null
|
|
let redirectUri = null
|
|
let redirectUri = null
|
|
|
|
|
|
|
|
|
|
baseUrl='https://greath5.dev.gztjy.top/serviceapi';
|
|
baseUrl='https://greath5.dev.gztjy.top/serviceapi';
|
|
|
|
+ linkUrl='';
|
|
upFileUrl='';
|
|
upFileUrl='';
|
|
staticUrl='';
|
|
staticUrl='';
|
|
redirectUri= 'https://h5.wdzzgs.com/distribution/pages/login/index'
|
|
redirectUri= 'https://h5.wdzzgs.com/distribution/pages/login/index'
|
|
|
|
|
|
|
|
|
|
baseUrl='/api';
|
|
baseUrl='/api';
|
|
|
|
+ linkUrl='https://greath5.dev.gztjy.top/distributionlink/link.html';
|
|
upFileUrl='';
|
|
upFileUrl='';
|
|
staticUrl='https://greath5.dev.gztjy.top/distribution/static/';
|
|
staticUrl='https://greath5.dev.gztjy.top/distribution/static/';
|
|
redirectUri= 'https://greath5.dev.gztjy.top/distribution/pages/login/index'
|
|
redirectUri= 'https://greath5.dev.gztjy.top/distribution/pages/login/index'
|
|
@@ -25,11 +28,13 @@ let redirectUri = null
|
|
if (node_dev =='development') {
|
|
if (node_dev =='development') {
|
|
|
|
|
|
baseUrl='';
|
|
baseUrl='';
|
|
|
|
+ linkUrl='';
|
|
upFileUrl='';
|
|
upFileUrl='';
|
|
staticUrl='';
|
|
staticUrl='';
|
|
|
|
|
|
|
|
|
|
baseUrl='https://greath5.dev.gztjy.top/serviceapi';
|
|
baseUrl='https://greath5.dev.gztjy.top/serviceapi';
|
|
|
|
+ linkUrl='https://greath5.dev.gztjy.top/distributionlink/link.html';
|
|
upFileUrl='h';
|
|
upFileUrl='h';
|
|
staticUrl='https://greath5.dev.gztjy.top/distribution/static/';
|
|
staticUrl='https://greath5.dev.gztjy.top/distribution/static/';
|
|
redirectUri= 'https://greath5.dev.gztjy.top/distribution/pages/login/index'
|
|
redirectUri= 'https://greath5.dev.gztjy.top/distribution/pages/login/index'
|
|
@@ -38,12 +43,14 @@ if (node_dev =='development') {
|
|
if (node_dev =='production') {
|
|
if (node_dev =='production') {
|
|
|
|
|
|
baseUrl='';
|
|
baseUrl='';
|
|
|
|
+ linkUrl='';
|
|
upFileUrl='';
|
|
upFileUrl='';
|
|
staticUrl='';
|
|
staticUrl='';
|
|
redirectUri= 'https://h5.wdzzgs.com/distribution/pages/login/index'
|
|
redirectUri= 'https://h5.wdzzgs.com/distribution/pages/login/index'
|
|
|
|
|
|
|
|
|
|
baseUrl='https://h5.wdzzgs.com/serviceapi';
|
|
baseUrl='https://h5.wdzzgs.com/serviceapi';
|
|
|
|
+ linkUrl='https://h5.wdzzgs.com/distributionlink/link.html'
|
|
upFileUrl='';
|
|
upFileUrl='';
|
|
staticUrl='https://h5.wdzzgs.com/distribution/static/';
|
|
staticUrl='https://h5.wdzzgs.com/distribution/static/';
|
|
redirectUri= 'https://h5.wdzzgs.com/distribution/pages/login/index'
|
|
redirectUri= 'https://h5.wdzzgs.com/distribution/pages/login/index'
|
|
@@ -56,6 +63,7 @@ const commonConfig = {
|
|
appid: 'wx6490eaa0d20d2be2',
|
|
appid: 'wx6490eaa0d20d2be2',
|
|
redirectUri: encodeURIComponent(redirectUri),
|
|
redirectUri: encodeURIComponent(redirectUri),
|
|
baseUrl: baseUrl,
|
|
baseUrl: baseUrl,
|
|
|
|
+ linkUrl: linkUrl,
|
|
uploadFileUrl: upFileUrl,
|
|
uploadFileUrl: upFileUrl,
|
|
staticUrl:staticUrl,
|
|
staticUrl:staticUrl,
|
|
paginationConfig:{
|
|
paginationConfig:{
|