Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
linweijiong
jinfa-admin
Commits
e0ccb566
Commit
e0ccb566
authored
Mar 22, 2022
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改配置域名和网关
parent
660395a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
258 additions
and
5 deletions
+258
-5
base.config.json
config/base.config.json
+255
-2
env.js
env.js
+3
-3
No files found.
config/base.config.json
View file @
e0ccb566
{
"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"
:
15
,
"platformType"
:
3
,
"platformWayName"
:
"请购单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
14
,
"platformType"
:
3
,
"platformWayName"
:
"采购招标合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
13
,
"platformType"
:
3
,
"platformWayName"
:
"采购竞价合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
12
,
"platformType"
:
3
,
"platformWayName"
:
"采购询价合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
11
,
"platformType"
:
3
,
"platformWayName"
:
"渠道积分下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
10
,
"platformType"
:
3
,
"platformWayName"
:
"积分下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
9
,
"platformType"
:
3
,
"platformWayName"
:
"渠道现货手工下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
8
,
"platformType"
:
3
,
"platformWayName"
:
"渠道现货进货单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
7
,
"platformType"
:
3
,
"platformWayName"
:
"渠道直采手工下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
6
,
"platformType"
:
3
,
"platformWayName"
:
"渠道直采进货单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
5
,
"platformType"
:
3
,
"platformWayName"
:
"合并订单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
4
,
"platformType"
:
3
,
"platformWayName"
:
"需求报价下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
3
,
"platformType"
:
3
,
"platformWayName"
:
"询价报价下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
2
,
"platformType"
:
3
,
"platformWayName"
:
"手工下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},{
"id"
:
1
,
"platformType"
:
3
,
"platformWayName"
:
"进货单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
}],
"orderType"
:[{
"id"
:
12
,
"platformType"
:
4
,
"platformWayName"
:
"请购单采购"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
11
,
"platformType"
:
4
,
"platformWayName"
:
"采购招标合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
10
,
"platformType"
:
4
,
"platformWayName"
:
"采购竞价合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
9
,
"platformType"
:
4
,
"platformWayName"
:
"采购询价合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
8
,
"platformType"
:
4
,
"platformWayName"
:
"渠道积分兑换"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
7
,
"platformType"
:
4
,
"platformWayName"
:
"积分兑换"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
6
,
"platformType"
:
4
,
"platformWayName"
:
"渠道现货"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
5
,
"platformType"
:
4
,
"platformWayName"
:
"渠道直采"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
4
,
"platformType"
:
4
,
"platformWayName"
:
"集采"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
3
,
"platformType"
:
4
,
"platformWayName"
:
"现货采购"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
2
,
"platformType"
:
4
,
"platformWayName"
:
"需求采购"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},{
"id"
:
1
,
"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"
}}}
\ No newline at end of file
{
"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"
:
15
,
"platformType"
:
3
,
"platformWayName"
:
"请购单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
14
,
"platformType"
:
3
,
"platformWayName"
:
"采购招标合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
13
,
"platformType"
:
3
,
"platformWayName"
:
"采购竞价合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
12
,
"platformType"
:
3
,
"platformWayName"
:
"采购询价合同下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
11
,
"platformType"
:
3
,
"platformWayName"
:
"渠道积分下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
10
,
"platformType"
:
3
,
"platformWayName"
:
"积分下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
9
,
"platformType"
:
3
,
"platformWayName"
:
"渠道现货手工下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
8
,
"platformType"
:
3
,
"platformWayName"
:
"渠道现货进货单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
7
,
"platformType"
:
3
,
"platformWayName"
:
"渠道直采手工下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
6
,
"platformType"
:
3
,
"platformWayName"
:
"渠道直采进货单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
5
,
"platformType"
:
3
,
"platformWayName"
:
"合并订单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
4
,
"platformType"
:
3
,
"platformWayName"
:
"需求报价下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
3
,
"platformType"
:
3
,
"platformWayName"
:
"询价报价下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
2
,
"platformType"
:
3
,
"platformWayName"
:
"手工下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
},
{
"id"
:
1
,
"platformType"
:
3
,
"platformWayName"
:
"进货单下单"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"下单模式"
}
],
"orderType"
:
[
{
"id"
:
12
,
"platformType"
:
4
,
"platformWayName"
:
"请购单采购"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
11
,
"platformType"
:
4
,
"platformWayName"
:
"采购招标合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
10
,
"platformType"
:
4
,
"platformWayName"
:
"采购竞价合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
9
,
"platformType"
:
4
,
"platformWayName"
:
"采购询价合同"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
8
,
"platformType"
:
4
,
"platformWayName"
:
"渠道积分兑换"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
7
,
"platformType"
:
4
,
"platformWayName"
:
"积分兑换"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
6
,
"platformType"
:
4
,
"platformWayName"
:
"渠道现货"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
5
,
"platformType"
:
4
,
"platformWayName"
:
"渠道直采"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
4
,
"platformType"
:
4
,
"platformWayName"
:
"集采"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
3
,
"platformType"
:
4
,
"platformWayName"
:
"现货采购"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
2
,
"platformType"
:
4
,
"platformWayName"
:
"需求采购"
,
"isPitchOn"
:
1
,
"platformTypeName"
:
"订单类型"
},
{
"id"
:
1
,
"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"
}
}
}
env.js
View file @
e0ccb566
...
...
@@ -3,10 +3,10 @@
const
path
=
require
(
'path'
)
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
'
,
SOCKET_URL
:
'ws://m
iju-gateway-uat.nmmhome.com
'
,
YAPI_URL
:
'http://10.0.0.25:4000/'
}
}
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