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
52267b4b
Commit
52267b4b
authored
Oct 09, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员公共接口,基本信息接口定义
parent
38061ef9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
95 additions
and
0 deletions
+95
-0
MemberOpenApiController.java
...main/java/com/egolm/film/api/MemberOpenApiController.java
+38
-0
MemberApplyController.java
...java/com/egolm/film/api/member/MemberApplyController.java
+15
-0
MemberInfoController.java
.../java/com/egolm/film/api/member/MemberInfoController.java
+42
-0
No files found.
src/main/java/com/egolm/film/api/MemberOpenApiController.java
0 → 100644
View file @
52267b4b
package
com
.
egolm
.
film
.
api
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
com.egolm.common.bean.Rjx
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
@Api
@Controller
@RequestMapping
(
"open/member"
)
public
class
MemberOpenApiController
{
@PostMapping
(
"register"
)
@ApiOperation
(
"会员注册"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"username"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"password"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"email"
),
})
public
Object
register
(
String
username
,
String
password
,
String
email
)
{
return
Rjx
.
jsonOk
();
}
@PostMapping
(
"getPassword"
)
@ApiOperation
(
"找回密码"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"email"
),
})
public
Object
getPassword
(
String
email
)
{
return
Rjx
.
jsonOk
();
}
}
src/main/java/com/egolm/film/api/member/MemberApplyController.java
0 → 100644
View file @
52267b4b
package
com
.
egolm
.
film
.
api
.
member
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.Api
;
@Api
@Controller
@RequestMapping
(
"member/apply"
)
public
class
MemberApplyController
{
}
src/main/java/com/egolm/film/api/member/MemberInfoController.java
0 → 100644
View file @
52267b4b
package
com
.
egolm
.
film
.
api
.
member
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
com.egolm.common.bean.Rjx
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
@Api
@Controller
@RequestMapping
(
"member/info"
)
public
class
MemberInfoController
{
@PostMapping
(
"query"
)
@ApiOperation
(
"查询会员基本信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"id"
),
})
public
Object
query
(
String
id
)
{
return
Rjx
.
jsonOk
();
}
@PostMapping
(
"save"
)
@ApiOperation
(
"保存会员基本信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"id"
),
@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
id
,
String
email
,
String
realname
,
String
address
,
String
company
,
String
tel
)
{
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