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
6d2b2132
Commit
6d2b2132
authored
Jan 07, 2021
by
GuanHua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 渠道积分商品传参错误问题
parent
7ea08af3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
index.tsx
...iption/components/Introduction/template/science/index.tsx
+1
-0
index.tsx
src/pages/lxMall/commodityDetail/index.tsx
+15
-2
No files found.
src/pages/lxMall/commodityDetail/components/ProductDescription/components/Introduction/template/science/index.tsx
View file @
6d2b2132
...
...
@@ -36,6 +36,7 @@ const ScienceTemplate: React.FC<ScienceTemplatePropsType> = (props) => {
</
Player
>
))
}
</
div
>
<
div
className=
"img_list"
>
{
...
...
src/pages/lxMall/commodityDetail/index.tsx
View file @
6d2b2132
...
...
@@ -187,19 +187,32 @@ const CommodityDetail = (props) => {
commodityId
:
id
}
let
headers
=
{}
console
.
log
(
layoutType
,
"layoutType"
)
switch
(
layoutType
)
{
case
LAYOUT_TYPE
.
channel
:
if
(
type
===
"3"
)
{
headers
=
{
type
:
5
}
}
else
{
headers
=
{
type
:
3
}
}
params
.
channelMemberId
=
memberId
getDetailFn
=
PublicApi
.
getSearchShopChannelGetCommodityDetail
break
case
LAYOUT_TYPE
.
ichannel
:
if
(
type
===
"3"
)
{
headers
=
{
type
:
5
}
}
else
{
headers
=
{
type
:
4
}
}
params
.
channelMemberId
=
memberId
getDetailFn
=
PublicApi
.
getSearchShopChannelGetCommodityDetail
break
...
...
@@ -225,7 +238,7 @@ const CommodityDetail = (props) => {
getMemberCredit
(
res
.
data
?.
memberId
,
res
.
data
?.
memberRoleId
)
}
}
else
{
message
.
info
(
res
.
message
)
//
message.info(res.message)
setErrorInfo
(
res
.
message
)
}
setSpinLoading
(
false
)
...
...
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