/// <summary>
 /// 普通序列化(不进行UI友好的json化)
 /// </summary>
 /// <param name="c">控制器</param>
 /// <param name="data">数据</param>
 /// <returns></returns>
 public static FormatJsonResult JsonFormat(this Controller c, object data)
 {
     FormatJsonResult result = new FormatJsonResult();
       result.NotUIFriendlySerialize = true;
     result.Data = data;
     return result;
 }
        /// <summary>
        /// UI友好的json格式序列化
        /// </summary>
        /// <param name="c"></param>
        /// <param name="data"></param>
        /// <param name="isError"></param>
        /// <param name="message"></param>
        /// <returns></returns>
        public static FormatJsonResult JsonFormat(this Controller c, object data, bool isError, string message)
        {
            FormatJsonResult result = new FormatJsonResult();

            result.Data = data;
            result.Message = message;
            result.IsError = isError;
            return result;
        }