Пример #1
0
        /// <summary>
        /// 执行成功返回
        /// </summary>
        /// <param name="description"></param>
        /// <param name="tts"></param>
        /// <returns></returns>
        public static CheckDataResult SuccessResult(RequestData data)
        {
            var result = new CheckDataResult
            {
                Status = true,
                Data   = data
            };

            return(result);
        }
Пример #2
0
        /// <summary>
        /// 执行失败返回
        /// </summary>
        /// <param name="description"></param>
        /// <param name="tts"></param>
        /// <returns></returns>
        public static CheckDataResult FailResult(ResponseData data)
        {
            var result = new CheckDataResult
            {
                Status   = false,
                Response = data
            };

            return(result);
        }