From f244fe1855c482d82c3f56ad496b1ab7998a9e15 Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期三, 29 十二月 2021 10:14:26 +0800 Subject: [PATCH] !395 fix https://gitee.com/y_project/RuoYi-Vue/issues/I4O5WD Merge pull request !395 from 马小法/master --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/AjaxResult.java | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/AjaxResult.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/AjaxResult.java index b26e066..8ca1b9b 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/AjaxResult.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/AjaxResult.java @@ -145,4 +145,18 @@ { return new AjaxResult(code, msg, null); } + + /** + * 鏂逛究閾惧紡璋冪敤 + * + * @param key 閿� + * @param value 鍊� + * @return 鏁版嵁瀵硅薄 + */ + @Override + public AjaxResult put(String key, Object value) + { + super.put(key, value); + return this; + } } -- Gitblit v1.9.3