Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
8a1c24bc
Commit
8a1c24bc
authored
Jan 16, 2022
by
macro
Browse files
Update OmsCartItemController.java
parent
b2608286
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/java/com/macro/mall/portal/controller/OmsCartItemController.java
View file @
8a1c24bc
...
@@ -38,7 +38,7 @@ public class OmsCartItemController {
...
@@ -38,7 +38,7 @@ public class OmsCartItemController {
return
CommonResult
.
failed
();
return
CommonResult
.
failed
();
}
}
@ApiOperation
(
"获取
某个
会员的购物车列表"
)
@ApiOperation
(
"获取
当前
会员的购物车列表"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
@ResponseBody
public
CommonResult
<
List
<
OmsCartItem
>>
list
()
{
public
CommonResult
<
List
<
OmsCartItem
>>
list
()
{
...
@@ -46,7 +46,7 @@ public class OmsCartItemController {
...
@@ -46,7 +46,7 @@ public class OmsCartItemController {
return
CommonResult
.
success
(
cartItemList
);
return
CommonResult
.
success
(
cartItemList
);
}
}
@ApiOperation
(
"获取
某个
会员的购物车列表,包括促销信息"
)
@ApiOperation
(
"获取
当前
会员的购物车列表,包括促销信息"
)
@RequestMapping
(
value
=
"/list/promotion"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list/promotion"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
@ResponseBody
public
CommonResult
<
List
<
CartPromotionItem
>>
listPromotion
(
@RequestParam
(
required
=
false
)
List
<
Long
>
cartIds
)
{
public
CommonResult
<
List
<
CartPromotionItem
>>
listPromotion
(
@RequestParam
(
required
=
false
)
List
<
Long
>
cartIds
)
{
...
...
Write
Preview
Supports
Markdown
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