//检查手机是否重复 public ActionResult CheckPhone(PhoneOrNameCheck model) { return(Content(http.DoPost(ApplicationPropertys.WEBAPI_URL + "/User/CheckPhone/", model))); }
public int CheckPhone(PhoneOrNameCheck model) { return(oper.Exists(" CellPhone ='" + model.Infos + "' and UserType =" + model.UserType.ToString())); }