Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-mall
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
前端-吴智勇
jinfa-mall
Commits
9408ec2f
Commit
9408ec2f
authored
Mar 22, 2022
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改配置域名
parent
8ef8ee3f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
87 additions
and
7 deletions
+87
-7
package.json
apps/srm/package.json
+2
-2
base.config.json
config/base.config.json
+81
-1
env.js
env.js
+4
-4
No files found.
apps/srm/package.json
View file @
9408ec2f
...
...
@@ -82,10 +82,10 @@
"stop"
:
"pm2 stop lingxi-mall-srm"
,
"prod:egg"
:
"npm run build && NODE_ENV=production egg-scripts start --daemon --title=lingxi-mall-srm --framework=@midwayjs/web --ts"
,
"start"
:
"yarn getLocale && concurrently
\"
npm run ssr
\"
\"
npm run csr
\"
"
,
"ssr"
:
"concurrently
\"
cross-env app=srm NODE_ENV=development SOCKET_URL=ws://m
jsrm-gateway-test.shushangyun.com:12880 BACK_GATEWAY=http://mjsrm-gateway-test.shushangyun.com:12880
midway-bin dev --ts --entryFile=bootstrap.js
\"
\"
cross-env NODE_ENV=development webpack --watch --config ./build/webpack.config.server.js
\"
"
,
"ssr"
:
"concurrently
\"
cross-env app=srm NODE_ENV=development SOCKET_URL=ws://m
iju-gateway-uat.nmmhome.com BACK_GATEWAY=http://miju-gateway-uat.nmmhome.com
midway-bin dev --ts --entryFile=bootstrap.js
\"
\"
cross-env NODE_ENV=development webpack --watch --config ./build/webpack.config.server.js
\"
"
,
"csr"
:
"cross-env app=srm NODE_ENV=development FE_PORT=6018 ykcli dev"
,
"build"
:
"midway-bin build -c && npm run build:ssr && npm run build:csr"
,
"build:ssr"
:
"cross-env app=srm NODE_ENV=production BACK_GATEWAY=http://m
jsrm-gateway-test.shushangyun.com:12880
webpack --config ./build/webpack.config.server.js"
,
"build:ssr"
:
"cross-env app=srm NODE_ENV=production BACK_GATEWAY=http://m
iju-gateway-uat.nmmhome.com
webpack --config ./build/webpack.config.server.js"
,
"build:csr"
:
"cross-env app=srm NODE_ENV=production ykcli build"
,
"getLocale"
:
"cross-env app=srm node ../../scripts/genarateLocales.js"
},
...
...
config/base.config.json
View file @
9408ec2f
{
"userRegister"
:{
"useType"
:[{
"memberTypeId"
:
1
,
"memberTypeName"
:
"企业会员"
,
"businessTypes"
:[{
"businessTypeId"
:
2
,
"businessTypeName"
:
"SRM采购商"
},{
"businessTypeId"
:
3
,
"businessTypeName"
:
"SRM供应商"
}]},{
"memberTypeId"
:
2
,
"memberTypeName"
:
"个人会员"
,
"businessTypes"
:[]},{
"memberTypeId"
:
3
,
"memberTypeName"
:
"渠道企业会员"
,
"businessTypes"
:[]},{
"memberTypeId"
:
4
,
"memberTypeName"
:
"渠道个人会员"
,
"businessTypes"
:[]}]},
"web"
:{
"shopInfo"
:[{
"id"
:
3
,
"name"
:
"米居采购商城"
,
"type"
:
6
,
"environment"
:
1
,
"property"
:
1
,
"memberOperate"
:
0
,
"logoUrl"
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/B003E031-2ED4-4f26-A114-919C782ECFBDc6c1b8978df042cfa82a53b04665fe6e.png"
,
"state"
:
1
,
"url"
:
"mjsrm-test"
,
"isDefault"
:
1
,
"createTime"
:
1646388136588
}],
"orderMode"
:[{
"id"
:
12
,
"platformType"
:
3
,
"platformWayName"
:
"采购询价合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
}],
"orderType"
:[{
"id"
:
9
,
"platformType"
:
4
,
"platformWayName"
:
"采购询价合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
}]},
"global"
:{
"siteInfo"
:{
"id"
:
5
,
"name"
:
"米居采购商城"
,
"logo"
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/1111140a35f1cbcd64cd2a49de0317f13f97c.png"
,
"siteUrl"
:
"mjsrm-test.shushangyun.com:12880"
,
"symbol"
:
"¥"
,
"language"
:
"China"
}}}
{
"userRegister"
:
{
"useType"
:
[
{
"memberTypeId"
:
1
,
"memberTypeName"
:
"企业会员"
,
"businessTypes"
:
[
{
"businessTypeId"
:
2
,
"businessTypeName"
:
"SRM采购商"
},
{
"businessTypeId"
:
3
,
"businessTypeName"
:
"SRM供应商"
}
]
},
{
"memberTypeId"
:
2
,
"memberTypeName"
:
"个人会员"
,
"businessTypes"
:
[]
},
{
"memberTypeId"
:
3
,
"memberTypeName"
:
"渠道企业会员"
,
"businessTypes"
:
[]
},
{
"memberTypeId"
:
4
,
"memberTypeName"
:
"渠道个人会员"
,
"businessTypes"
:
[]
}
]
},
"web"
:
{
"shopInfo"
:
[
{
"id"
:
3
,
"name"
:
"米居采购商城"
,
"type"
:
6
,
"environment"
:
1
,
"property"
:
1
,
"memberOperate"
:
0
,
"logoUrl"
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/B003E031-2ED4-4f26-A114-919C782ECFBDc6c1b8978df042cfa82a53b04665fe6e.png"
,
"state"
:
1
,
"url"
:
"mjsrm-test"
,
"isDefault"
:
1
,
"createTime"
:
1646388136588
}
],
"orderMode"
:
[
{
"id"
:
12
,
"platformType"
:
3
,
"platformWayName"
:
"采购询价合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
}
],
"orderType"
:
[
{
"id"
:
9
,
"platformType"
:
4
,
"platformWayName"
:
"采购询价合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
}
]
},
"global"
:
{
"siteInfo"
:
{
"id"
:
5
,
"name"
:
"米居采购商城"
,
"logo"
:
"https://shushangyun01.oss-cn-shenzhen.aliyuncs.com/1111140a35f1cbcd64cd2a49de0317f13f97c.png"
,
"siteUrl"
:
"miju-mall-uat.nmmhome.com"
,
"symbol"
:
"¥"
,
"language"
:
"China"
}
}
}
\ No newline at end of file
env.js
View file @
9408ec2f
...
...
@@ -2,11 +2,11 @@
module
.
exports
=
{
"srm"
:
{
SITE_ID
:
'
1
'
,
BACK_GATEWAY
:
'http://m
jsrm-gateway-test.shushangyun.com:12880
'
,
SITE_ID
:
'
5
'
,
BACK_GATEWAY
:
'http://m
iju-gateway-uat.nmmhome.com
'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://m
jsrm-gateway-test.shushangyun.com:12880
'
,
MEMBER_URL
:
'm
jsrm-platform-tes
t'
,
SOCKET_URL
:
'ws://m
iju-gateway-uat.nmmhome.com
'
,
MEMBER_URL
:
'm
iju-platform-ua
t'
,
YAPI_URL
:
'http://10.0.0.25:4000/'
,
SINGLE_SRM
:
1
,
}
...
...
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