throw new System.ServiceModel.Web.WebFaultException<string>("\"mes\":\"认证信息失效\"", System.Net.HttpStatusCode.Unauthorized);
需要引用 System.ServiceModel.Web.dll