/// <summary> /// 判断用户是否存在 /// </summary> /// <param name="content"></param> /// <param name="type"></param> /// <returns></returns> public static bool ExistUser(string content, ExistUserEnum type) { var u = YunClient.Instance.Execute(new ExistUserRequest { Content = content, Type = (int)type }); return(!u.IsError && u.Result); }
/// <summary> /// 判断用户是否存在 /// </summary> /// <param name="content"></param> /// <param name="type"></param> /// <returns></returns> public static bool ExistUser(string content, ExistUserEnum type) { var u = YunClient.Instance.Execute(new ExistUserRequest { Content = content, Type = (int)type }); return !u.IsError && u.Result; }