/// <summary> /// 返回错误消息 /// </summary> /// <returns></returns> public static AjaxReponseBase Error() { return(AjaxReponseBase.Error(YouGeSystemConst.OPERATE_FAIL)); }
/// <summary> /// 返回成功消息 /// </summary> /// <param name="msg"></param> /// <returns></returns> public static AjaxReponseBase Success(string msg) { return(AjaxReponseBase.Success(msg, null)); }
/// <summary> /// 返回成功消息 /// </summary> /// <returns></returns> public static AjaxReponseBase Success(object data) { return(AjaxReponseBase.Success(YouGeSystemConst.OPERATE_SUCESS, data)); }
/// <summary> /// 返回成功消息 /// </summary> /// <returns></returns> public static AjaxReponseBase Success() { return(AjaxReponseBase.Success(YouGeSystemConst.OPERATE_SUCESS)); }
/// <summary> /// 返回错误消息 /// </summary> /// <param name="msg"></param> /// <returns></returns> public static AjaxReponseBase Error(string msg) { return(AjaxReponseBase.Error(msg, null)); }