package com.mvc.model;

import java.util.HashMap;

@SuppressWarnings("serial")
public class ErrorMap extends HashMap<String, Object>{
	public ErrorMap() {
		super();
		this.put("flag", "0");//0  请求错误  1 成功   2业务处理错误
		this.put("res","");
	}

	public ErrorMap(String msg) {
		super();
		this.put("flag", "0");//0  请求错误  1 成功   2业务处理错误
		this.put("error",msg);
	}
}
