Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
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
曲欣亮
sentinel
Commits
43cc487f
Commit
43cc487f
authored
Jan 08, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c
parent
5905b42a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
FilmGroupController.java
...ava/com/egolm/film/api/web/admin/FilmGroupController.java
+4
-4
No files found.
src/main/java/com/egolm/film/api/web/admin/FilmGroupController.java
View file @
43cc487f
...
@@ -43,7 +43,7 @@ public class FilmGroupController {
...
@@ -43,7 +43,7 @@ public class FilmGroupController {
@ResponseBody
@ResponseBody
@PostMapping
(
"delete"
)
@PostMapping
(
"delete"
)
@ApiOperation
(
"
保存或更新
分类"
)
@ApiOperation
(
"
删除
分类"
)
public
Object
delete
(
Integer
id
)
{
public
Object
delete
(
Integer
id
)
{
filmGroupService
.
removeFilmGroupById
(
id
);
filmGroupService
.
removeFilmGroupById
(
id
);
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
();
...
@@ -51,7 +51,7 @@ public class FilmGroupController {
...
@@ -51,7 +51,7 @@ public class FilmGroupController {
@ResponseBody
@ResponseBody
@PostMapping
(
"getFilmGroupList"
)
@PostMapping
(
"getFilmGroupList"
)
@ApiOperation
(
"
保存分类
"
)
@ApiOperation
(
"
查询分类列表
"
)
public
Object
getFilmGroupList
()
{
public
Object
getFilmGroupList
()
{
List
<
Map
<
String
,
Object
>>
list
=
filmGroupService
.
queryFilmGroupList
();
List
<
Map
<
String
,
Object
>>
list
=
filmGroupService
.
queryFilmGroupList
();
return
Rjx
.
jsonOk
().
setData
(
list
);
return
Rjx
.
jsonOk
().
setData
(
list
);
...
@@ -59,7 +59,7 @@ public class FilmGroupController {
...
@@ -59,7 +59,7 @@ public class FilmGroupController {
@ResponseBody
@ResponseBody
@PostMapping
(
"getFilmListByGroupId"
)
@PostMapping
(
"getFilmListByGroupId"
)
@ApiOperation
(
"
保存分类
"
)
@ApiOperation
(
"
查询分类下影片列表
"
)
public
Object
getFilmListByGroupId
(
Integer
group_id
)
{
public
Object
getFilmListByGroupId
(
Integer
group_id
)
{
List
<
Map
<
String
,
Object
>>
list
=
filmGroupService
.
queryFilmListByGroupId
(
group_id
);
List
<
Map
<
String
,
Object
>>
list
=
filmGroupService
.
queryFilmListByGroupId
(
group_id
);
return
Rjx
.
jsonOk
().
setData
(
list
);
return
Rjx
.
jsonOk
().
setData
(
list
);
...
@@ -67,7 +67,7 @@ public class FilmGroupController {
...
@@ -67,7 +67,7 @@ public class FilmGroupController {
@ResponseBody
@ResponseBody
@PostMapping
(
"updateFilmGroupId"
)
@PostMapping
(
"updateFilmGroupId"
)
@ApiOperation
(
"
保存
分类"
)
@ApiOperation
(
"
更新影片
分类"
)
public
Object
updateFilmGroupId
(
Integer
film_id
,
Integer
group_id
)
{
public
Object
updateFilmGroupId
(
Integer
film_id
,
Integer
group_id
)
{
filmGroupService
.
updateFilmGroupId
(
film_id
,
group_id
);
filmGroupService
.
updateFilmGroupId
(
film_id
,
group_id
);
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
();
...
...
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