throw new System.ServiceModel.Web.WebFaultException<string>("\"mes\":\"认证信息失效\"", System.Net.HttpStatusCode.Unauthorized);
需要引用 System.ServiceModel.Web.dll
throw new System.ServiceModel.Web.WebFaultException<string>("\"mes\":\"认证信息失效\"", System.Net.HttpStatusCode.Unauthorized);
需要引用 System.ServiceModel.Web.dll
转载于:https://www.cnblogs.com/ligl/p/5006585.html