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
c6db00ea
Commit
c6db00ea
authored
Dec 03, 2018
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c
parent
31db823a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
AdminUserController.java
...ava/com/egolm/film/api/web/admin/AdminUserController.java
+2
-1
No files found.
src/main/java/com/egolm/film/api/web/admin/AdminUserController.java
View file @
c6db00ea
...
...
@@ -5,6 +5,7 @@ import java.util.List;
import
java.util.Map
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.bind.annotation.PostMapping
;
...
...
@@ -125,7 +126,7 @@ public class AdminUserController {
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"email"
,
value
=
"邮件"
),
@ApiImplicitParam
(
paramType
=
"query"
,
dataType
=
"string"
,
required
=
true
,
name
=
"tel"
,
value
=
"电话"
),
})
public
Rjx
saveOrUpdateUser
(
Integer
uid
,
String
realname
,
String
username
,
String
password
,
Integer
group_id
,
Date
expire_date
,
String
email
,
String
tel
)
{
public
Rjx
saveOrUpdateUser
(
Integer
uid
,
String
realname
,
String
username
,
String
password
,
Integer
group_id
,
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
Date
expire_date
,
String
email
,
String
tel
)
{
Fc_user
user
=
new
Fc_user
();
user
.
setUid
(
uid
);
user
.
setRealname
(
realname
);
...
...
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