/// <summary> /// 检测用户名是否可用 /// </summary> /// <param name="username"></param> /// <returns></returns> public bool DetectUsernameAvailable(string username) { return(dal.DetectUserName(username)); }