public Dictionary <string, object> GetGroupInfoFromQun() { var furl = qq_qun_group; string para = "bkn=" + _user.GTK; string fresult = _helper.GetUrlText(furl, Encoding.UTF8.GetBytes(para), _baseRefer); return(QQHelper.FromJson <Dictionary <string, object> >(fresult)); }
public Dictionary <string, object> GetMemberInfoFromQun(long gcode, int st, int end) { var furl = qq_qun_member; string para = "gc=" + gcode + "&st=" + st + "&end=" + end + "&sort=0&bkn=" + _user.GTK; string fresult = _helper.GetUrlText(furl, Encoding.UTF8.GetBytes(para), _baseRefer); var dict = QQHelper.FromJson <Dictionary <string, object> >(fresult); return(dict); }
public Dictionary <string, object> GetMyInfo() { var furl = string.Format(qq_qun_myinfo, _user.GTK); string fresult = _helper.GetUrlText(furl, null, _baseRefer); var dict = QQHelper.FromJson <Dictionary <string, object> >(fresult); if ((int)dict["retcode"] == 0) { var data = dict["data"] as Dictionary <string, object>; if (data != null) { _user.Uin = data["uin"].ToString(); _user.QQNum = data["uin"].ToString(); _user.QQName = (string)data["nickName"]; } } return(dict); }