namespace QMAPP.Common.Web { /// /// 处理结果Json对象,对应脚本中的_handleResponse方法(_submitFormByUI中调用) /// public class JsonViewResult { public JsonViewResult() { Type = JsonViewResultType.OK; } public JsonViewResultType Type { get; set; } public string Message { get; set; } public object RstData { get; set; } } public enum JsonViewResultType { /// /// 处理正常 /// OK, /// /// /// NG, Exception, Other, } }