Beispiel #1
0
 /// <summary>
 /// 获取当前登录用户的隐私设置
 /// </summary>
 /// <returns>JSON</returns>
 public dynamic GetPrivacy()
 {
     return(DynamicJson.Parse(api.GetPrivacy()));
 }
Beispiel #2
0
 /// <summary>
 ///     获取当前登录用户的隐私设置
 /// </summary>
 /// <returns>JSON</returns>
 public PrivacyEntity GetPrivacy()
 {
     return(JsonConvert.DeserializeObject <PrivacyEntity>(api.GetPrivacy()));
 }