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
shenshaokai
jinfa-mall
Commits
7dfc5cc4
Commit
7dfc5cc4
authored
Jun 15, 2022
by
Gavin Peng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 金发618配置
parent
af03fe01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
97 deletions
+25
-97
ytt.config.ts
apps/srm/ytt.config.ts
+17
-17
env.js
env.js
+7
-72
package.json
package.json
+1
-8
No files found.
apps/srm/ytt.config.ts
View file @
7dfc5cc4
const
tokenList
=
[
{
name
:
'LogisticsV2'
,
token
:
'
9d00f667e5f1ec2342134a3f1ecb27bc0e5b3cdaa46e4518d9cb04a2815f5baf
'
,
categoryIds
:
[
0
],
},
// 物流能力v2
{
name
:
'ProductV2'
,
token
:
'
3969a1870a57283277f8f906de4378dbe6c78591a8f46856c6647a49cab674cd
'
,
categoryIds
:
[
0
],
},
// 商品服务V2
{
name
:
'TemplateV2'
,
token
:
'
e0c87762264d8d22c2dc7608a59a3e8fb78161623fe9395dba637c80ee840991
'
,
categoryIds
:
[
0
],
},
// 页面模板服务V2
{
name
:
'PayV2'
,
token
:
'
9aabf6ab41b0a5b5f8844354ffeec28bd9a6234e751f7b0f3d3388638a7e455a
'
,
categoryIds
:
[
0
],
},
// 支付服务
{
name
:
'SearchV2'
,
token
:
'
acb675feb15638d9d663314b00d7ec238c67f29b26afdfcad6281c1e4e03a418
'
,
categoryIds
:
[
0
],
},
// 搜索服务V2
{
name
:
'PurchaseV2'
,
token
:
'
dd7c05647654f518aa60222bafb2d50418f25f850c3f3b73c79aaf453977ce82
'
,
categoryIds
:
[
0
]
},
// 采购服务V2
{
name
:
'SettleV2'
,
token
:
'
173b40f541fb17d86881b25b342cfe49324ddbb32e96d2de48c9ea846fdaccd6
'
,
categoryIds
:
[
0
]
},
// 结算服务v2
{
name
:
'TransactionV2'
,
token
:
'
5f4d3bb2ee37c3f390bb09ef2ca5694bc978b6578239d50faf5ea579a9a1127a
'
,
categoryIds
:
[
0
]
},
// 交易服务V2
{
name
:
'ContractV2'
,
token
:
'c
d3e8fe3c94af42c20871e45af4e5b9241bd1752f33944af7562bf7c74349659
'
,
categoryIds
:
[
0
]
},
// 合同能力V2
{
name
:
'OrderNewV2'
,
token
:
'
f122746b38ea3c3d05e3e7ace587a8b6adc4d33395587f2f00beeb19868dc908
'
,
categoryIds
:
[
0
],
},
//订单服务V2 New
{
name
:
'MemberV2'
,
token
:
'
0984987df5e222fd023565733c55237c5dfc958242a42f16fb89635ec0c6ffd8
'
,
categoryIds
:
[
0
]},
//会员服务 V2
{
name
:
'ReportV2'
,
token
:
'
f1867444395ca36adeb619eb0442b46541b28103302cb0601dc400d986996a26
'
,
categoryIds
:
[
0
]},
// 报表服务v2 首页
{
name
:
'EnhanceV2'
,
token
:
'
f9e43d5e53eead45cd0d879550baede5d94c5e1b1cc224379348991bf20d5d5e
'
,
categoryIds
:
[
0
],
},
// 加工服务v2
{
name
:
'MessageV2'
,
token
:
'
e23bc60cd7ab5512bbf757d8bcfead70c76e91d9b30fcc44ab79f06f0425ab4b
'
,
categoryIds
:
[
0
],
},
// 消息中心v2
{
name
:
'MarketingV2'
,
token
:
'
020f482a8ecb470a1ed8c99bcb1eb93b0e0ff5a1deba60f03a6942f9fe09caaa
'
,
categoryIds
:
[
0
],
},
// 营销能力
{
name
:
'AfterServiceV2'
,
token
:
'
9726648495299eae8b8f7ce291c64124cc36173fa5089684ac63fcd1ba1cff62
'
,
categoryIds
:
[
0
],
},
// 售后能力V2
{
name
:
'ManageV2'
,
token
:
'
986ed1501673515ce3cd47f952ae89f75f1ee51f5ec8c66fd96b2d3cb0222c14
'
,
categoryIds
:
[
0
]
},
// 平台后台v2
{
name
:
'LogisticsV2'
,
token
:
'
0a278f10ee9a690c970d225e63c7cefa1f185e53b975a2dc17ab2fdb32fb6d2b
'
,
categoryIds
:
[
0
],
},
// 物流能力v2
{
name
:
'ProductV2'
,
token
:
'
7beecba8c13d1bfb3f263948f846b7f0b9fbb56d39bab2ce2d5fb39393674e99
'
,
categoryIds
:
[
0
],
},
// 商品服务V2
{
name
:
'TemplateV2'
,
token
:
'
b2c3c0f101b0194614652ff764a386006e00886d101176fb96da0a4c3f7d5027
'
,
categoryIds
:
[
0
],
},
// 页面模板服务V2
{
name
:
'PayV2'
,
token
:
'
751e8ed92879337eed7e4ba89b5b6dd7bd1dad1f6afdfb48d757e089915dbc38
'
,
categoryIds
:
[
0
],
},
// 支付服务
{
name
:
'SearchV2'
,
token
:
'
b659b94d144a8db029649ff93627ad069e2f47b5b871de20c6449c2d195e2051
'
,
categoryIds
:
[
0
],
},
// 搜索服务V2
{
name
:
'PurchaseV2'
,
token
:
'
a5ffa17a013e98b501f3699d34430e1f677349b6059eb40691d5ea3b3d0e4255
'
,
categoryIds
:
[
0
]
},
// 采购服务V2
{
name
:
'SettleV2'
,
token
:
'
ebda80db64d1a886b5b72127c5f9301ac15b7f9d8099c00c12d0034665159be5
'
,
categoryIds
:
[
0
]
},
// 结算服务v2
{
name
:
'TransactionV2'
,
token
:
'
6cdb756a0a141012e96879263c76620b47055de8712fa3bcc6fbea2ebc9d2360
'
,
categoryIds
:
[
0
]
},
// 交易服务V2
{
name
:
'ContractV2'
,
token
:
'c
ca88aad9d6f2383ff6aee7dd6fb2a4eca153b3c6ccc7115d6f652d718e6229f
'
,
categoryIds
:
[
0
]
},
// 合同能力V2
{
name
:
'OrderNewV2'
,
token
:
'
45f23e61236ebccef5edfea895dfa32bd9301dc8795cf8aa6b81615bd75ffad7
'
,
categoryIds
:
[
0
],
},
//订单服务V2 New
{
name
:
'MemberV2'
,
token
:
'
77959f9f6053053bbac2ff2f6d5d583da2b71b2bebc7cabbfa8c82e8630aed9e
'
,
categoryIds
:
[
0
]},
//会员服务 V2
{
name
:
'ReportV2'
,
token
:
'
80ade9724fe9d602c59715a77d940dea726fab59354ed526aecfb3e0c0d61527
'
,
categoryIds
:
[
0
]},
// 报表服务v2 首页
{
name
:
'EnhanceV2'
,
token
:
'
8ea2dc6c681b5d55280256a3020fc83dd59a0c8d88909a5de7b8a0526e93037d
'
,
categoryIds
:
[
0
],
},
// 加工服务v2
{
name
:
'MessageV2'
,
token
:
'
99811f53028fb92f7a8c4f18b25355b348d887033b61cb69931cf874e22e54a6
'
,
categoryIds
:
[
0
],
},
// 消息中心v2
{
name
:
'MarketingV2'
,
token
:
'
6b2c04f5fc779eb3721f7df288c66783afea0eb01ee37130b6d45019f111162e
'
,
categoryIds
:
[
0
],
},
// 营销能力
{
name
:
'AfterServiceV2'
,
token
:
'
e1dccd4c78f475d68469f27a1c44bfa716638153630e9fd0253b0945f5f083e1
'
,
categoryIds
:
[
0
],
},
// 售后能力V2
{
name
:
'ManageV2'
,
token
:
'
03c5ae960d90fe0d027f1a68ba5aca65ce7fb57a6f4e9ad935b2f3dd9b79cef7
'
,
categoryIds
:
[
0
]
},
// 平台后台v2
]
const
getConfigMap
=
(
tokens
:
any
)
=>
tokens
.
map
((
v
:
any
)
=>
({
...
...
env.js
View file @
7dfc5cc4
// 项目环境参数配置
module
.
exports
=
{
v2
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://10.0.0.17:8100'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://10.0.0.17:8100'
,
MEMBER_URL
:
'jinfa-platform-test'
,
IM_URL
:
'im'
,
H5_LINK
:
'http://pt-h5.shushangyun.com:13880'
,
SINGLE_SRM
:
undefined
,
},
"v2-0318"
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://10.0.0.27:8100'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://10.0.0.27:9880'
,
MEMBER_URL
:
'jinfa-platform-test'
,
IM_URL
:
'im'
,
H5_LINK
:
'http://pt-h5.shushangyun.com:13880'
,
SINGLE_SRM
:
undefined
,
},
study
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://10.0.1.207:8100'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://10.0.1.207:8100'
,
MEMBER_URL
:
'jinfa-platform-test'
,
IM_URL
:
'im'
,
H5_LINK
:
'http://pt-h5.shushangyun.com:13880'
,
SINGLE_SRM
:
undefined
,
},
// v2本地demo站
v2scm
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://10.0.1.220:8100'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://10.0.1.220:8100'
,
MEMBER_URL
:
'member'
,
IM_URL
:
'im'
,
H5_LINK
:
'http://pt-h5.shushangyun.com:13880'
,
SINGLE_SRM
:
1
},
// v2阿里云demo站
"v2-demo"
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://lingxi-scm-gateway.shushangyun.com'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://lingxi-scm-gateway.shushangyun.com'
,
MEMBER_URL
:
'lingxi-member'
,
IM_URL
:
'im'
,
H5_LINK
:
'http://pt-h5.shushangyun.com:13880'
,
//SINGLE_SRM: 1,
SINGLE_SRM
:
undefined
,
},
// 0418 版本
"v20418-1"
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://10.0.0.27:8100'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://10.0.0.27:9880'
,
MEMBER_URL
:
'lx-member'
,
IM_URL
:
'lx-im'
,
H5_LINK
:
''
,
SINGLE_SRM
:
undefined
,
},
// 0518 版本
v20518
:
{
'jinfa-0518'
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://
10.0.1.156:810
0'
,
BACK_GATEWAY
:
'http://
jinfa-gateway-test.shushangyun.com:1288
0'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://
10.0.1.146:9
880'
,
SOCKET_URL
:
'ws://
jinfa-gateway-test.shushangyun.com:12
880'
,
MEMBER_URL
:
'jinfa-platform-test'
,
IM_URL
:
'lx-im'
,
H5_LINK
:
''
,
SINGLE_SRM
:
undefined
,
},
'jinfa-0
5
18'
:
{
'jinfa-0
6
18'
:
{
SITE_ID
:
'1'
,
BACK_GATEWAY
:
'http://jinfa-gateway-test.shushangyun.com:12880'
,
BACK_GATEWAY
:
'http://jinfa
0618
-gateway-test.shushangyun.com:12880'
,
USE_ROUTE_CONFIG
:
true
,
SOCKET_URL
:
'ws://jinfa-gateway-test.shushangyun.com:12880'
,
MEMBER_URL
:
'jinfa-platform-test'
,
SOCKET_URL
:
'ws://jinfa
0618
-gateway-test.shushangyun.com:12880'
,
MEMBER_URL
:
'jinfa
0618
-platform-test'
,
IM_URL
:
'lx-im'
,
H5_LINK
:
''
,
SINGLE_SRM
:
undefined
,
...
...
package.json
View file @
7dfc5cc4
...
...
@@ -55,15 +55,8 @@
"platform-api"
:
"lerna run --scope lingxi-mall-platform api"
,
"self-api"
:
"lerna run --scope lingxi-mall-self api"
,
"srm-api"
:
"lerna run --scope lingxi-mall-srm api"
,
"getconfig:v2"
:
"cross-env PRO_ENV=v2 yarn scripts:build"
,
"getconfig:v2-0318"
:
"cross-env PRO_ENV=v2-0318 yarn scripts:build"
,
"getconfig:v20418"
:
"cross-env PRO_ENV=v20418 yarn scripts:build"
,
"getconfig:v20518"
:
"cross-env PRO_ENV=v20518 yarn scripts:build"
,
"getconfig:v2scm"
:
"cross-env PRO_ENV=v2scm yarn scripts:build"
,
"getconfig:study"
:
"cross-env PRO_ENV=study yarn scripts:build"
,
"getconfig:v2-demo"
:
"cross-env PRO_ENV=v2-demo yarn scripts:build"
,
"getconfig:v2-220218"
:
"cross-env PRO_ENV=v2-220218 yarn scripts:build"
,
"getconfig:jinfa-0518"
:
"cross-env PRO_ENV=jinfa-0518 yarn scripts:build"
,
"getconfig:jinfa-0618"
:
"cross-env PRO_ENV=jinfa-0618 yarn scripts:build"
,
"scripts:build"
:
"node scripts/run"
},
"devDependencies"
:
{
...
...
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