You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
690 B
35 lines
690 B
4 years ago
|
namespace QMAPP.Common.Web
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 处理结果Json对象,对应脚本中的_handleResponse方法(_submitFormByUI中调用)
|
||
|
/// </summary>
|
||
|
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
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 处理正常
|
||
|
/// </summary>
|
||
|
OK,
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
NG,
|
||
|
|
||
|
Exception,
|
||
|
Other,
|
||
|
}
|
||
|
}
|