Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
9e1ecdc6
Commit
9e1ecdc6
authored
Sep 21, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
驿联uat配置
parent
09141bd3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
1 deletions
+39
-1
config/index.js
+2
-0
config/ylkj_uat.env.js
+33
-0
package.json
+1
-0
src/App.vue
+3
-1
No files found.
config/index.js
View file @
9e1ecdc6
...
@@ -39,6 +39,7 @@ module.exports = {
...
@@ -39,6 +39,7 @@ module.exports = {
xhyx_uat
:
require
(
'./xhyx_uat.env'
),
xhyx_uat
:
require
(
'./xhyx_uat.env'
),
xhyx_prod
:
require
(
'./xhyx_prod.env'
),
xhyx_prod
:
require
(
'./xhyx_prod.env'
),
wly_prod
:
require
(
'./wly_prod.env'
),
wly_prod
:
require
(
'./wly_prod.env'
),
ylkj_uat
:
require
(
'./ylkj_uat.env'
),
}
}
return
configFile
[
process
.
env
.
NODE_ENV
];
return
configFile
[
process
.
env
.
NODE_ENV
];
})(),
})(),
...
@@ -68,6 +69,7 @@ module.exports = {
...
@@ -68,6 +69,7 @@ module.exports = {
production
:
require
(
'./prod.env'
),
production
:
require
(
'./prod.env'
),
xhyx_uat
:
require
(
'./xhyx_uat.env'
),
xhyx_uat
:
require
(
'./xhyx_uat.env'
),
xhyx_prod
:
require
(
'./xhyx_prod.env'
),
xhyx_prod
:
require
(
'./xhyx_prod.env'
),
ylkj_uat
:
require
(
'./ylkj_uat.env'
),
}
}
return
configFile
[
process
.
env
.
NODE_ENV
];
return
configFile
[
process
.
env
.
NODE_ENV
];
})(),
})(),
...
...
config/ylkj_uat.env.js
0 → 100644
View file @
9e1ecdc6
/*
* @Author: your name
* @Date: 2020-10-21 09:46:59
* @LastEditTime: 2020-10-22 14:09:41
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \mayi-mp-shop\config\dev.env.js
*/
var
merge
=
require
(
'webpack-merge'
)
var
prodEnv
=
require
(
'./prod.env'
)
module
.
exports
=
merge
(
prodEnv
,
{
//zjgyl
SHOP_MIXID
:
"'YLKJ'"
,
NODE_ENV
:
'"ylkj_uat"'
,
// BASE_URL:"'https://shop.mayi888.com'",
// BASE_URL:"'http://192.168.1.146:3005'",
// BASE_URL:"'http://172.16.1.18:3000'",
BASE_URL
:
"'https://uatcustomer.elinkstation.com'"
,
ADMIN_URL
:
"'https://uatadmin.elinkstation.com'"
,
GUIDE_URL
:
"'https://guide-m.mayi888.cn'"
,
// BASE_URL:"'http://192.168.137.1:3004'",
OLSHOP_URL
:
'"https://uatcustomer.elinkstation.com/innerApi/shopApiService"'
,
// OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
IMG_DOMAIN
:
'"https://uatadmin.elinkstation.com"'
,
POSTHOG_KEY
:
'"phc_nTr1oY7NkSuDMZsqCskE6iUIGKgWPmFHlRAKFVuZD2B"'
,
POSTHOG_HOST
:
'"https://posthog.mayi118.com"'
,
AREA_JSON
:
'"https://mayi-newshop.oss-cn-shanghai.aliyuncs.com/static/js/app.area.json"'
,
MANALYTICS_HOST
:
'"https://analytics.mayi888.cn/ma.gif"'
,
// IMG_DOMAIN: '"http://cdn.mayi888.com"',
})
package.json
View file @
9e1ecdc6
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
"scripts"
:
{
"scripts"
:
{
"dev:wx"
:
"cross-env NODE_ENV=development node build/dev-server.js wx"
,
"dev:wx"
:
"cross-env NODE_ENV=development node build/dev-server.js wx"
,
"dev:xhyx_uat"
:
"cross-env NODE_ENV=xhyx_uat node build/dev-server.js wx"
,
"dev:xhyx_uat"
:
"cross-env NODE_ENV=xhyx_uat node build/dev-server.js wx"
,
"dev:ylkj_uat"
:
"cross-env NODE_ENV=ylkj_uat node build/dev-server.js wx"
,
"dev:production"
:
"cross-env NODE_ENV=production node build/dev-server.js wx"
,
"dev:production"
:
"cross-env NODE_ENV=production node build/dev-server.js wx"
,
"pro:wx"
:
"cross-env NODE_ENV=production node build/dev-server.js wx"
,
"pro:wx"
:
"cross-env NODE_ENV=production node build/dev-server.js wx"
,
"pro:xhyx_prod"
:
"cross-env NODE_ENV=xhyx_prod node build/dev-server.js wx"
,
"pro:xhyx_prod"
:
"cross-env NODE_ENV=xhyx_prod node build/dev-server.js wx"
,
...
...
src/App.vue
View file @
9e1ecdc6
...
@@ -20,6 +20,7 @@ export default {
...
@@ -20,6 +20,7 @@ export default {
// development: { mixid: "iLntd3", "shopid": 3814}, //道可测试2
// development: { mixid: "iLntd3", "shopid": 3814}, //道可测试2
// development: { mixid: "ssa", "shopid": 2342}, //五粮液uat
// development: { mixid: "ssa", "shopid": 2342}, //五粮液uat
development
:
{
mixid
:
"antgood"
,
"shopid"
:
67
},
development
:
{
mixid
:
"antgood"
,
"shopid"
:
67
},
// development: { mixid: "ytVVdX", "shopid": 3812}, // 驿联科技uat
production
:
{
"mixid"
:
"xhyxshop"
,
"shopid"
:
1095
},
// 小工蚁新零售
production
:
{
"mixid"
:
"xhyxshop"
,
"shopid"
:
1095
},
// 小工蚁新零售
// production: { "mixid":"AntTechnology", "shopid": 1095 }, // 小工蚁新零售
// production: { "mixid":"AntTechnology", "shopid": 1095 }, // 小工蚁新零售
// production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可
// production: { "mixid":"qiyeCT", "shopid": 1045 }, // 道可
...
@@ -36,7 +37,8 @@ export default {
...
@@ -36,7 +37,8 @@ export default {
// production: { "mixid":"CYNZ", "shopid": 1609 }, // 晨语女装
// production: { "mixid":"CYNZ", "shopid": 1609 }, // 晨语女装
xhyx_uat
:
{
"mixid"
:
"xhyxshop"
,
"shopid"
:
1
},
xhyx_uat
:
{
"mixid"
:
"xhyxshop"
,
"shopid"
:
1
},
xhyx_prod
:
{
"mixid"
:
"xhyxshop"
,
"shopid"
:
1
},
xhyx_prod
:
{
"mixid"
:
"xhyxshop"
,
"shopid"
:
1
},
wly_prod
:
{
"mixid"
:
"WLYSWT"
,
"shopid"
:
2
}
wly_prod
:
{
"mixid"
:
"WLYSWT"
,
"shopid"
:
2
},
ylkj_uat
:
{
"mixid"
:
"YLKJ"
,
"shopid"
:
8
}
}
}
extConfig
=
shopItem
[
process
.
env
.
NODE_ENV
];
extConfig
=
shopItem
[
process
.
env
.
NODE_ENV
];
wx
.
setStorageSync
(
"extConfig"
,
JSON
.
stringify
(
extConfig
));
wx
.
setStorageSync
(
"extConfig"
,
JSON
.
stringify
(
extConfig
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment