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
17c73bd3
Commit
17c73bd3
authored
Oct 09, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加申报单模型
parent
bd53071a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
541 additions
and
0 deletions
+541
-0
MemberApplyController.java
...java/com/egolm/film/api/member/MemberApplyController.java
+23
-0
Apply.java
src/main/java/com/egolm/film/api/member/model/Apply.java
+518
-0
No files found.
src/main/java/com/egolm/film/api/member/MemberApplyController.java
View file @
17c73bd3
package
com
.
egolm
.
film
.
api
.
member
;
package
com
.
egolm
.
film
.
api
.
member
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
com.egolm.common.bean.Rjx
;
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
;
@Api
@Api
@Controller
@Controller
@RequestMapping
(
"member/apply"
)
@RequestMapping
(
"member/apply"
)
public
class
MemberApplyController
{
public
class
MemberApplyController
{
@PostMapping
(
"query"
)
@ApiOperation
(
"已申报项目查询"
)
public
Object
query
()
{
return
Rjx
.
jsonOk
();
}
@PostMapping
(
"save"
)
@ApiOperation
(
"保存申报项目信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"email"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"realname"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"address"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"company"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
false
,
name
=
"tel"
),
})
public
Object
save
(
String
email
,
String
realname
,
String
address
,
String
company
,
String
tel
)
{
return
Rjx
.
jsonOk
();
}
}
}
src/main/java/com/egolm/film/api/member/model/Apply.java
0 → 100644
View file @
17c73bd3
This diff is collapsed.
Click to expand it.
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