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
0511fc48
Commit
0511fc48
authored
Jul 17, 2024
by
macro
Browse files
Update SmsHomeRecommendSubjectController.java
parent
cf9ddbf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/controller/SmsHomeRecommendSubjectController.java
View file @
0511fc48
...
...
@@ -25,7 +25,7 @@ public class SmsHomeRecommendSubjectController {
@Autowired
private
SmsHomeRecommendSubjectService
recommendSubjectService
;
@ApiOperation
(
"添加首页
推荐
专题"
)
@ApiOperation
(
"添加首页专题
推荐
"
)
@RequestMapping
(
value
=
"/create"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
CommonResult
create
(
@RequestBody
List
<
SmsHomeRecommendSubject
>
homeRecommendSubjectList
)
{
...
...
@@ -36,7 +36,7 @@ public class SmsHomeRecommendSubjectController {
return
CommonResult
.
failed
();
}
@ApiOperation
(
"修改推荐排序"
)
@ApiOperation
(
"修改
专题
推荐排序"
)
@RequestMapping
(
value
=
"/update/sort/{id}"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
CommonResult
updateSort
(
@PathVariable
Long
id
,
Integer
sort
)
{
...
...
@@ -47,7 +47,7 @@ public class SmsHomeRecommendSubjectController {
return
CommonResult
.
failed
();
}
@ApiOperation
(
"批量删除推荐"
)
@ApiOperation
(
"批量删除
专题
推荐"
)
@RequestMapping
(
value
=
"/delete"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
CommonResult
delete
(
@RequestParam
(
"ids"
)
List
<
Long
>
ids
)
{
...
...
@@ -58,7 +58,7 @@ public class SmsHomeRecommendSubjectController {
return
CommonResult
.
failed
();
}
@ApiOperation
(
"批量修改推荐状态"
)
@ApiOperation
(
"批量修改
专题
推荐状态"
)
@RequestMapping
(
value
=
"/update/recommendStatus"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
CommonResult
updateRecommendStatus
(
@RequestParam
(
"ids"
)
List
<
Long
>
ids
,
@RequestParam
Integer
recommendStatus
)
{
...
...
@@ -69,7 +69,7 @@ public class SmsHomeRecommendSubjectController {
return
CommonResult
.
failed
();
}
@ApiOperation
(
"分页查询推荐"
)
@ApiOperation
(
"分页查询
专题
推荐"
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
public
CommonResult
<
CommonPage
<
SmsHomeRecommendSubject
>>
list
(
@RequestParam
(
value
=
"subjectName"
,
required
=
false
)
String
subjectName
,
...
...
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