mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	!347 update ruoyi-common/src/main/java/com/ruoyi/common/core/domain/AjaxResult.java.
Merge pull request !347 from abbfun/N/A
This commit is contained in:
		@@ -145,4 +145,16 @@ public class AjaxResult extends HashMap<String, Object>
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        return new AjaxResult(code, msg, null);
 | 
					        return new AjaxResult(code, msg, null);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/**
 | 
				
			||||||
 | 
						 * 链式调用
 | 
				
			||||||
 | 
						 * 
 | 
				
			||||||
 | 
						 * @param key   键
 | 
				
			||||||
 | 
						 * @param value 内容
 | 
				
			||||||
 | 
						 * @return 警告消息
 | 
				
			||||||
 | 
						 */
 | 
				
			||||||
 | 
						public AjaxResult put(String key, Object value) {
 | 
				
			||||||
 | 
							super.put(key, value);
 | 
				
			||||||
 | 
							return this;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user