WebApiConfig ->
config.Formatters.JsonFormatter.SupportedMediaTypes.Add(new MediaTypeHeaderValue("text/html"));
修改为 Json 返回内容。
WebApiConfig ->
config.Formatters.JsonFormatter.SupportedMediaTypes.Add(new MediaTypeHeaderValue("text/html"));
修改为 Json 返回内容。