コード例 #1
0
 /// <summary>
 /// 返回错误消息
 /// </summary>
 /// <returns></returns>
 public static AjaxReponseBase Error()
 {
     return(AjaxReponseBase.Error(YouGeSystemConst.OPERATE_FAIL));
 }
コード例 #2
0
 /// <summary>
 /// 返回成功消息
 /// </summary>
 /// <param name="msg"></param>
 /// <returns></returns>
 public static AjaxReponseBase Success(string msg)
 {
     return(AjaxReponseBase.Success(msg, null));
 }
コード例 #3
0
 /// <summary>
 /// 返回成功消息
 /// </summary>
 /// <returns></returns>
 public static AjaxReponseBase Success(object data)
 {
     return(AjaxReponseBase.Success(YouGeSystemConst.OPERATE_SUCESS, data));
 }
コード例 #4
0
 /// <summary>
 /// 返回成功消息
 /// </summary>
 /// <returns></returns>
 public static AjaxReponseBase Success()
 {
     return(AjaxReponseBase.Success(YouGeSystemConst.OPERATE_SUCESS));
 }
コード例 #5
0
 /// <summary>
 /// 返回错误消息
 /// </summary>
 /// <param name="msg"></param>
 /// <returns></returns>
 public static AjaxReponseBase Error(string msg)
 {
     return(AjaxReponseBase.Error(msg, null));
 }