/// <summary> /// OAuth授权之后,获取授权用户的UID /// </summary> /// <returns>JSON</returns> public string GetUID() { var result = JObject.Parse(api.GetUID()); if (result["uid"] != null) { return(result["uid"].ToString()); } else { return(string.Empty); } }
/// <summary> /// OAuth授权之后,获取授权用户的UID /// </summary> /// <returns>JSON</returns> public dynamic GetUID() { return(DynamicJson.Parse(api.GetUID())); }