Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
member-api
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
曲欣亮
member-api
Commits
ff69b954
Commit
ff69b954
authored
Dec 26, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
cb846d48
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
FilmController.java
src/main/java/com/egolm/film/api/web/FilmController.java
+0
-11
AdminFirstController.java
...va/com/egolm/film/api/web/admin/AdminFirstController.java
+11
-1
No files found.
src/main/java/com/egolm/film/api/web/FilmController.java
View file @
ff69b954
...
...
@@ -153,15 +153,4 @@ public class FilmController {
return
Rjx
.
jsonOk
();
}
@ResponseBody
@PostMapping
(
"update_state"
)
@ApiOperation
(
"修改影片状态"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
true
,
name
=
"state"
,
value
=
"影片状态:1未提交 2已提交"
),
})
public
Object
update_state
(
Long
member_film_id
,
Integer
state
)
{
memberFilmService
.
updateFilmState
(
member_film_id
,
state
);
return
Rjx
.
jsonOk
();
}
}
src/main/java/com/egolm/film/api/web/admin/AdminFirstController.java
View file @
ff69b954
...
...
@@ -190,5 +190,15 @@ public class AdminFirstController {
return
Rjx
.
jsonOk
();
}
@ResponseBody
@PostMapping
(
"update_state"
)
@ApiOperation
(
"修改影片状态"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"long"
,
required
=
true
,
name
=
"member_film_id"
,
value
=
"影片ID"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"int"
,
required
=
true
,
name
=
"state"
,
value
=
"影片状态:1未提交 2已提交"
),
})
public
Object
update_state
(
Long
member_film_id
,
Integer
state
)
{
memberFilmService
.
updateFilmState
(
member_film_id
,
state
);
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