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
9a30ef67
Commit
9a30ef67
authored
Oct 10, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化API
parent
ab0616fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
MemberApplyController.java
...java/com/egolm/film/api/member/MemberApplyController.java
+21
-3
No files found.
src/main/java/com/egolm/film/api/member/MemberApplyController.java
View file @
9a30ef67
...
@@ -9,6 +9,8 @@ import com.egolm.common.bean.Rjx;
...
@@ -9,6 +9,8 @@ import com.egolm.common.bean.Rjx;
import
com.egolm.film.api.member.model.ApplyModel
;
import
com.egolm.film.api.member.model.ApplyModel
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
@Api
@Api
...
@@ -17,9 +19,9 @@ import io.swagger.annotations.ApiOperation;
...
@@ -17,9 +19,9 @@ import io.swagger.annotations.ApiOperation;
public
class
MemberApplyController
{
public
class
MemberApplyController
{
@ResponseBody
@ResponseBody
@PostMapping
(
"
query
"
)
@PostMapping
(
"
list
"
)
@ApiOperation
(
"
已
申报项目查询"
)
@ApiOperation
(
"申报项目查询"
)
public
Object
query
()
{
public
Object
list
()
{
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
();
}
}
...
@@ -30,4 +32,20 @@ public class MemberApplyController {
...
@@ -30,4 +32,20 @@ public class MemberApplyController {
return
Rjx
.
jsonOk
();
return
Rjx
.
jsonOk
();
}
}
@ResponseBody
@PostMapping
(
"get"
)
@ApiOperation
(
"获取申报详情"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"id"
)})
public
Object
get
(
String
id
)
{
return
Rjx
.
jsonOk
();
}
@ResponseBody
@PostMapping
(
"doApply"
)
@ApiOperation
(
"提交申报"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"id"
)})
public
Object
doApply
(
String
id
)
{
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