Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
c4e81fdb
Commit
c4e81fdb
authored
Aug 18, 2020
by
macro
Browse files
注册失败返回失败结果
parent
e9bf7c1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-admin/src/main/java/com/macro/mall/controller/UmsAdminController.java
View file @
c4e81fdb
...
...
@@ -49,7 +49,7 @@ public class UmsAdminController {
public
CommonResult
<
UmsAdmin
>
register
(
@RequestBody
UmsAdminParam
umsAdminParam
,
BindingResult
result
)
{
UmsAdmin
umsAdmin
=
adminService
.
register
(
umsAdminParam
);
if
(
umsAdmin
==
null
)
{
CommonResult
.
failed
();
return
CommonResult
.
failed
();
}
return
CommonResult
.
success
(
umsAdmin
);
}
...
...
Write
Preview
Supports
Markdown
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