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
328d2170
Commit
328d2170
authored
Nov 16, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
驿联生产配置
parent
84ab7a98
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
1 deletions
+38
-1
config/index.js
+2
-0
config/ylkj_prod.env.js
+33
-0
package.json
+1
-0
src/App.vue
+2
-1
No files found.
config/index.js
View file @
328d2170
...
@@ -40,6 +40,7 @@ module.exports = {
...
@@ -40,6 +40,7 @@ module.exports = {
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'
),
ylkj_uat
:
require
(
'./ylkj_uat.env'
),
ylkj_prod
:
require
(
'./ylkj_prod.env'
),
}
}
return
configFile
[
process
.
env
.
NODE_ENV
];
return
configFile
[
process
.
env
.
NODE_ENV
];
})(),
})(),
...
@@ -70,6 +71,7 @@ module.exports = {
...
@@ -70,6 +71,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'
),
ylkj_uat
:
require
(
'./ylkj_uat.env'
),
ylkj_uat
:
require
(
'./ylkj_uat.env'
),
ylkj_prod
:
require
(
'./ylkj_prod.env'
),
}
}
return
configFile
[
process
.
env
.
NODE_ENV
];
return
configFile
[
process
.
env
.
NODE_ENV
];
})(),
})(),
...
...
config/ylkj_prod.env.js
0 → 100644
View file @
328d2170
/*
* @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_prod"'
,
// 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://customer.elinkstation.com'"
,
ADMIN_URL
:
"'https://admin.elinkstation.com'"
,
GUIDE_URL
:
"'https://guide-m.mayi888.cn'"
,
// BASE_URL:"'http://192.168.137.1:3004'",
OLSHOP_URL
:
'"https://customer.elinkstation.com/innerApi/shopApiService"'
,
// OLSHOP_URL:'"https://shop.mayi888.com/innerApi/shopApiService"',
IMG_DOMAIN
:
'"https://admin.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 @
328d2170
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
"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:ylkj_uat"
:
"cross-env NODE_ENV=ylkj_uat node build/dev-server.js wx"
,
"dev:ylkj_prod"
:
"cross-env NODE_ENV=ylkj_prod 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 @
328d2170
...
@@ -38,7 +38,8 @@ export default {
...
@@ -38,7 +38,8 @@ export default {
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
}
ylkj_uat
:
{
"mixid"
:
"YLKJ"
,
"shopid"
:
8
},
ylkj_prod
:
{
"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