Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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-platform
Commits
7a1402e3
Commit
7a1402e3
authored
Apr 21, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改 商品V2构建信息
parent
fc19db1e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
9 deletions
+16
-9
index.ts
config/routes/index.ts
+4
-4
index.js
scripts/services/index.js
+7
-3
api.ts
src/services/api.ts
+2
-0
ytt.config.ts
ytt.config.ts
+3
-2
No files found.
config/routes/index.ts
View file @
7a1402e3
/*
* @Author: LeeJiancong
* @Date: 2020-07-13 14:08:50
* @LastEditors:
Please set LastEditors
* @LastEditTime: 202
0-10-19 11:12:51
* @LastEditors:
XieZhiXiong
* @LastEditTime: 202
1-04-21 16:53:13
*/
// import CommodityRoute from './commodityRoute' // 商品能力路由
// import MemberRoute from './memberRoute' // 会员能力路由
...
...
@@ -57,12 +57,12 @@ const memberCenterRoute = {
// ShopRoute,
// CommodityRoute,
// srm开发临时使用...
ProcurementRoute
,
//
ProcurementRoute,
// // 合同能力
// contracRoute,
//...
// AuthConfigRoute,
//
...asyncRoutes,
...
asyncRoutes
,
{
path
:
'/memberCenter/noAuth'
,
auth
:
false
,
...
...
scripts/services/index.js
View file @
7a1402e3
/*
* @Author: LeeJiancong
* @Date: 2020-07-17 18:01:43
* @LastEditors:
LeeJianc
ong
* @LastEditors:
XieZhiXi
ong
* @Copyright: 1549414730@qq.com
* @LastEditTime: 202
0-08-27 18:04:0
3
* @LastEditTime: 202
1-04-21 17:03:3
3
*/
/**
* 用于在项目开始前获取所有的配置
...
...
@@ -58,7 +58,11 @@ const serviceConfig = {
orderMode
:
{
url
:
'/order/rule/configuration/all'
,
method
:
'get'
}
},
orderType
:
{
url
:
'/system/rule/getOrderType'
,
method
:
'get'
},
},
global
:
{
siteInfo
:
{
...
...
src/services/api.ts
View file @
7a1402e3
...
...
@@ -19,6 +19,7 @@ import * as TransactionV2Api from './TransactionV2Api';
import
*
as
ContractV2Api
from
'./ContractV2Api'
;
import
*
as
OrderV2Api
from
'./OrderV2Api'
;
import
*
as
PlatformApi
from
'./PlatformApi'
;
import
*
as
ProductV2Api
from
'./ProductV2Api'
;
/**
* 可在这里写入自定义的接口
...
...
@@ -50,4 +51,5 @@ export const PublicApi = {
...
ContractV2Api
,
...
OrderV2Api
,
...
PlatformApi
,
...
ProductV2Api
,
}
ytt.config.ts
View file @
7a1402e3
...
...
@@ -3,7 +3,7 @@ const tokenList = [
{
name
:
'Warehouse'
,
token
:
'7c8f235d95f6224ceb97c4d832b09658f9a75fb8721a95699b230af0733d7fa4'
,
categoryIds
:
[
0
],
},
// 仓库服务
{
name
:
'Logistics'
,
token
:
'592c2a238eeb0e608ecaa4ec9f09aa2bf7da02d764aa3fb1dfd493cae7a9a036'
,
categoryIds
:
[
0
],
},
// 物流服务
{
name
:
'Member'
,
token
:
'c0e920f071595a73ba234b6fa6cfe42192d3d740d59f030caa2c7f0f08777d78'
,
categoryIds
:
[
0
],
},
// 商户会员管理服务
{
name
:
'Product'
,
token
:
'
b915026587fa1f6edf056f3335817fe2d4b350b0aa84da456786e15e83d45827
'
,
categoryIds
:
[
0
],
},
// 商品服务
{
name
:
'Product'
,
token
:
'
dbfeae0baf614a6dd8f1de2b1403444cdfa9c052a3757da6a0d6d7d52fb26178
'
,
categoryIds
:
[
0
],
},
// 商品服务
{
name
:
'Template'
,
token
:
'7ec923520215c7e2f771867cb4d29cafbf823daf0fb2d3d9fa70b57a523c8bfb'
,
categoryIds
:
[
0
],
},
// 店铺模板服务
{
name
:
'Pay'
,
token
:
'34608cd33222b1650795459d73b8eb0b260eb92cf5e8d1e646f85a4875e36f05'
,
categoryIds
:
[
0
],
},
// 支付服务
{
name
:
'Search'
,
token
:
'ca19f532efba91f7773cbfbd526b798c6ac83df670071e97d72c50dca1d53a48'
,
categoryIds
:
[
0
],
},
// 搜索服务
...
...
@@ -20,7 +20,8 @@ const tokenList = [
{
name
:
'TransactionV2'
,
token
:
'3ad04435494d01c359b9f07948338e019133a3e6c0fccdbe1bc3adc19cf1e0b1'
,
categoryIds
:
[
0
]
},
// 交易服务V2
{
name
:
'ContractV2'
,
token
:
'bbf1f327cfe7c59d1e7fd9c5d25119829dd79d238b1f1c79ed97331e220721a4'
,
categoryIds
:
[
0
]
},
// 合同能力V2
{
name
:
'OrderV2'
,
token
:
'033f83bd5f519506f65f46d1513b1f8028a1dc1b5238d22edd0a2feb53cd3a19'
,
categoryIds
:
[
0
],
},
//订单服务V2
{
name
:
'Platform'
,
token
:
'cadc3b13452c3ec67b5ef0c57063f12142e857a9eaa64669e80165adf42f5861'
,
categoryIds
:
[
0
]
}
// 平台后台v2
{
name
:
'Platform'
,
token
:
'cadc3b13452c3ec67b5ef0c57063f12142e857a9eaa64669e80165adf42f5861'
,
categoryIds
:
[
0
]
},
// 平台后台v2
{
name
:
'ProductV2'
,
token
:
'b915026587fa1f6edf056f3335817fe2d4b350b0aa84da456786e15e83d45827'
,
categoryIds
:
[
0
],
}
// 商品服务V2
]
const
getConfigMap
=
(
tokens
)
=>
tokens
.
map
(
v
=>
({
...
...
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