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
adf0e47e
Commit
adf0e47e
authored
Jul 01, 2021
by
macro
Browse files
Update MemberProductCollectionController.java
parent
e9d09708
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/java/com/macro/mall/portal/controller/MemberProductCollectionController.java
View file @
adf0e47e
...
@@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.*;
import
java.util.List
;
import
java.util.List
;
/**
/**
* 会员收藏管理Controller
* 会员
商品
收藏管理Controller
* Created by macro on 2018/8/2.
* Created by macro on 2018/8/2.
*/
*/
@Controller
@Controller
...
@@ -36,7 +36,7 @@ public class MemberProductCollectionController {
...
@@ -36,7 +36,7 @@ public class MemberProductCollectionController {
}
}
}
}
@ApiOperation
(
"删除
收藏
商品"
)
@ApiOperation
(
"删除商品
收藏
"
)
@RequestMapping
(
value
=
"/delete"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/delete"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
@ResponseBody
public
CommonResult
delete
(
Long
productId
)
{
public
CommonResult
delete
(
Long
productId
)
{
...
@@ -48,7 +48,7 @@ public class MemberProductCollectionController {
...
@@ -48,7 +48,7 @@ public class MemberProductCollectionController {
}
}
}
}
@ApiOperation
(
"显示收藏列表"
)
@ApiOperation
(
"显示
商品
收藏列表"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
@ResponseBody
public
CommonResult
<
CommonPage
<
MemberProductCollection
>>
list
(
@RequestParam
(
value
=
"pageNum"
,
defaultValue
=
"1"
)
Integer
pageNum
,
public
CommonResult
<
CommonPage
<
MemberProductCollection
>>
list
(
@RequestParam
(
value
=
"pageNum"
,
defaultValue
=
"1"
)
Integer
pageNum
,
...
@@ -57,7 +57,7 @@ public class MemberProductCollectionController {
...
@@ -57,7 +57,7 @@ public class MemberProductCollectionController {
return
CommonResult
.
success
(
CommonPage
.
restPage
(
page
));
return
CommonResult
.
success
(
CommonPage
.
restPage
(
page
));
}
}
@ApiOperation
(
"显示
收藏
商品详情"
)
@ApiOperation
(
"显示商品
收藏
详情"
)
@RequestMapping
(
value
=
"/detail"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/detail"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
@ResponseBody
public
CommonResult
<
MemberProductCollection
>
detail
(
@RequestParam
Long
productId
)
{
public
CommonResult
<
MemberProductCollection
>
detail
(
@RequestParam
Long
productId
)
{
...
@@ -65,7 +65,7 @@ public class MemberProductCollectionController {
...
@@ -65,7 +65,7 @@ public class MemberProductCollectionController {
return
CommonResult
.
success
(
memberProductCollection
);
return
CommonResult
.
success
(
memberProductCollection
);
}
}
@ApiOperation
(
"清空收藏列表"
)
@ApiOperation
(
"清空
商品
收藏列表"
)
@RequestMapping
(
value
=
"/clear"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/clear"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
@ResponseBody
public
CommonResult
clear
()
{
public
CommonResult
clear
()
{
...
...
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