new public static JsonModelNum GetJsonModel(int errNum, string erMsg) { JsonModelNum jsonModel = new JsonModelNum() { errNum = errNum, errMsg = erMsg, retData = "" }; return(jsonModel); }
new public static JsonModelNum GetJsonModel(int errNum, string erMsg, object refdata) { JsonModelNum jsonModel = new JsonModelNum() { errNum = errNum, errMsg = erMsg, retData = refdata }; return(jsonModel); }