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
jinli gu
Litemall
Commits
bf5646da
Commit
bf5646da
authored
Dec 30, 2018
by
Junling Bu
Browse files
fix[litemall-admin-api]: 检验ad的内容。
parent
a82af83b
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-admin-api/src/main/java/org/linlinjava/litemall/admin/web/AdminAdController.java
View file @
bf5646da
...
...
@@ -52,7 +52,7 @@ public class AdminAdController {
if
(
StringUtils
.
isEmpty
(
name
))
{
return
ResponseUtil
.
badArgument
();
}
String
content
=
ad
.
get
Name
();
String
content
=
ad
.
get
Content
();
if
(
StringUtils
.
isEmpty
(
content
))
{
return
ResponseUtil
.
badArgument
();
}
...
...
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