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
b5139e88
Commit
b5139e88
authored
Feb 08, 2022
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改渠道商城跳转链接
parent
0d800e1f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
index.tsx
src/pages/channel/channelInfo/index.tsx
+3
-3
viewDirectChannel.tsx
src/pages/commodity/products/viewDirectChannel.tsx
+1
-1
commodity.tsx
src/pages/systemSetting/collection/commodity.tsx
+2
-2
No files found.
src/pages/channel/channelInfo/index.tsx
View file @
b5139e88
...
...
@@ -305,13 +305,13 @@ const ChannelInfo: React.FC<ShopInfoPropsType> = (props) => {
let
url
=
''
switch
(
option
.
type
)
{
case
3
:
url
=
`
${
CHANNEL_CENTER_URL
}
/
m
${
shopInfo
.
memberId
}
`
url
=
`
${
CHANNEL_CENTER_URL
}
/
${
shopInfo
.
memberId
}
`
break
case
4
:
url
=
`
${
ICHANNEL_CENTER_URL
}
/
m
${
shopInfo
.
memberId
}
`
url
=
`
${
ICHANNEL_CENTER_URL
}
/
${
shopInfo
.
memberId
}
`
break
case
5
:
url
=
`
${
CHANNEL_CENTER_URL
}
/
m
${
shopInfo
.
memberId
}
/integral`
url
=
`
${
CHANNEL_CENTER_URL
}
/
${
shopInfo
.
memberId
}
/integral`
break
}
setResUrl
(
url
)
...
...
src/pages/commodity/products/viewDirectChannel.tsx
View file @
b5139e88
...
...
@@ -159,7 +159,7 @@ const ViewDriectChannel: React.FC<{}> = () => {
href=
{
channelDetails
?.
channelCommodity
?.
source
===
1
?
`${CHANNEL_CENTER_URL}/
m
${channelDetails?.channelCommodity?.parentMemberId}/commodity/detail/${channelDetails?.channelCommodity?.commodity?.id}`
`${CHANNEL_CENTER_URL}/${channelDetails?.channelCommodity?.parentMemberId}/commodity/detail/${channelDetails?.channelCommodity?.commodity?.id}`
:
`/memberCenter/commodityAbility/commodity/products/detail?id=${channelDetails?.channelCommodity?.commodity?.id}`
}
...
...
src/pages/systemSetting/collection/commodity.tsx
View file @
b5139e88
...
...
@@ -50,10 +50,10 @@ const Commodity: React.FC = () => {
switch
(
detail
.
commodity
.
priceType
)
{
case
1
:
case
2
:
el
.
href
=
`
${
mallUrl
}
/
m
${
detail
.
channelMemberId
}
/commodity/detail/
${
detail
.
commodity
.
id
}
`
;
el
.
href
=
`
${
mallUrl
}
/
${
detail
.
channelMemberId
}
/commodity/detail/
${
detail
.
commodity
.
id
}
`
;
break
case
3
:
el
.
href
=
`
${
mallUrl
}
/
m
${
detail
.
channelMemberId
}
/integral/detail/
${
detail
.
commodity
.
id
}
`
;
el
.
href
=
`
${
mallUrl
}
/
${
detail
.
channelMemberId
}
/integral/detail/
${
detail
.
commodity
.
id
}
`
;
break
}
}
else
{
...
...
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