package com.aixs.crud.bean; import java.util.HashMap; import java.util.Map; /** * * ͨ�õķ����� * @author AixsCode * */ public class Msg { //״̬�� 100-�ɹ� 200-ʧ�� private int code; private String msg; //�û�Ҫ���ظ������������ private Map<String, Object> extend=new HashMap<String, Object>(); public static Msg success() { Msg result=new Msg(); result.setCode(100); result.setMsg("成功"); return result; } public static Msg fail() { Msg result=new Msg(); result.setCode(100); result.setMsg("失败"); return result; } public Msg add(String key, Object value) { this.getExtend().put(key, value); return this; } public int getCode() { return code; } public void setCode(int code) { this.code = code; } public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } public Map<String, Object> getExtend() { return extend; } public void setExtend(Map<String, Object> extend) { this.extend = extend; } }

血羽如风 LV6
2024年1月25日
taoshen95 LV16
2023年12月25日
2775645521 LV7
2023年12月13日
微信网友_6512020493586432 LV2
2023年6月19日
雨后不归 LV4
2022年12月18日
sweetbox LV10
2022年9月3日
qq970040477 LV24
2022年4月11日
快来救救胡桃 LV6
2021年12月30日
huyyyyy LV8
2021年12月24日
王东东 LV17
2021年12月24日

微信网友_7316199114199040
2024年12月28日
暂无贡献等级
三秋桂子 LV1
2024年12月22日
微信网友_7265127836766208
2024年11月22日
暂无贡献等级
chn-lei LV2
2024年8月1日
37633030 LV1
2024年6月19日
ma406805131 LV19
2024年6月18日
adminww1234 LV1
2024年6月17日
ProjectAshe
2024年6月17日
暂无贡献等级
wanderingsoul LV2
2024年6月15日
ailixiya LV1
2024年5月7日