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
RuoYi Vue
Commits
d3696f52
Commit
d3696f52
authored
Oct 22, 2021
by
若依
Committed by
Gitee
Oct 22, 2021
Browse files
!347 update ruoyi-common/src/main/java/com/ruoyi/common/core/domain/AjaxResult.java.
Merge pull request !347 from abbfun/N/A
parents
c2a179e9
2d7d137a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/AjaxResult.java
View file @
d3696f52
...
...
@@ -145,4 +145,16 @@ public class AjaxResult extends HashMap<String, Object>
{
return
new
AjaxResult
(
code
,
msg
,
null
);
}
/**
* 链式调用
*
* @param key 键
* @param value 内容
* @return 警告消息
*/
public
AjaxResult
put
(
String
key
,
Object
value
)
{
super
.
put
(
key
,
value
);
return
this
;
}
}
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