记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
f31ea650
Commit
f31ea650
authored
Mar 14, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改消费
parent
31685685
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
GoblinFrontController.java
...dnet/service/goblin/controller/GoblinFrontController.java
+5
-1
GoblinFrontServiceImpl.java
...t/service/goblin/service/impl/GoblinFrontServiceImpl.java
+2
-0
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/GoblinFrontController.java
View file @
f31ea650
...
@@ -75,7 +75,11 @@ public class GoblinFrontController {
...
@@ -75,7 +75,11 @@ public class GoblinFrontController {
@GetMapping
(
"getGoodsDetail"
)
@GetMapping
(
"getGoodsDetail"
)
@ApiOperation
(
"获得商品详情"
)
@ApiOperation
(
"获得商品详情"
)
public
ResponseDto
<
GoblinFrontGoodDetailVo
>
getGoodsDetail
(
@RequestParam
(
name
=
"spuId"
,
required
=
true
)
String
spuId
)
throws
ParseException
{
public
ResponseDto
<
GoblinFrontGoodDetailVo
>
getGoodsDetail
(
@RequestParam
(
name
=
"spuId"
,
required
=
true
)
String
spuId
)
throws
ParseException
{
return
ResponseDto
.
success
(
goblinFrontService
.
getGoodsDetail
(
spuId
));
GoblinFrontGoodDetailVo
vo
=
goblinFrontService
.
getGoodsDetail
(
spuId
);
if
(
vo
==
null
){
return
ResponseDto
.
failure
(
"商品不存在"
);
}
return
ResponseDto
.
success
(
vo
);
}
}
@GetMapping
(
"getMoudleIndex"
)
@GetMapping
(
"getMoudleIndex"
)
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/GoblinFrontServiceImpl.java
View file @
f31ea650
...
@@ -331,6 +331,8 @@ public class GoblinFrontServiceImpl implements GoblinFrontService {
...
@@ -331,6 +331,8 @@ public class GoblinFrontServiceImpl implements GoblinFrontService {
goblinFrontGoodDetailVo
.
setStoreName
(
goblinStoreInfoVo
.
getStoreName
());
goblinFrontGoodDetailVo
.
setStoreName
(
goblinStoreInfoVo
.
getStoreName
());
}
}
goblinFrontGoodDetailVo
.
setGoblinGoodsSkuInfoVolist
(
list
);
goblinFrontGoodDetailVo
.
setGoblinGoodsSkuInfoVolist
(
list
);
}
else
{
return
null
;
}
}
ArrayList
<
String
>
list
=
goblinCouponService
.
getSpuType
(
spuId
,
goblinGoodsInfoDetailVo
.
getStoreId
());
ArrayList
<
String
>
list
=
goblinCouponService
.
getSpuType
(
spuId
,
goblinGoodsInfoDetailVo
.
getStoreId
());
goblinFrontGoodDetailVo
.
setGetSpuType
(
list
);
goblinFrontGoodDetailVo
.
setGetSpuType
(
list
);
...
...
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