From b8b58cb2029176d1472121ae397ee6c236b7b74f Mon Sep 17 00:00:00 2001 From: “ <hxq@qzldkj.com> Date: 星期五, 22 七月 2022 10:57:00 +0800 Subject: [PATCH] 所有的覆写方法,必须加@Override注解 --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/AjaxResult.java | 24 +++++++++++++----------- 1 files changed, 13 insertions(+), 11 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 472afc8..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 @@ -146,15 +146,17 @@ return new AjaxResult(code, msg, null); } - /** - * 閾惧紡璋冪敤 - * - * @param key 閿� - * @param value 鍐呭 - * @return 璀﹀憡娑堟伅 - */ - public AjaxResult put(String key, Object value) { - super.put(key, value); - return this; - } + /** + * 鏂逛究閾惧紡璋冪敤 + * + * @param key 閿� + * @param value 鍊� + * @return 鏁版嵁瀵硅薄 + */ + @Override + public AjaxResult put(String key, Object value) + { + super.put(key, value); + return this; + } } -- Gitblit v1.9.3