def build_check_qr_status_url(self, qrsig):
     # milli_timestamps
     milli_timestamps = webqq_utils.get_current_milli_time()
     ptqrtoken = webqq_utils.hash33(qrsig)
     return "https://ssl.ptlogin2.qq.com/ptqrlogin?u1=https://web2.qq.com/proxy.html&ptqrtoken=" + (bytes)(
         ptqrtoken) + "&ptredirect=0&h=1&t=1&g=1&from_ui=1&ptlang=2052&action=0-0-" + (bytes)(
         milli_timestamps) + "&js_ver=10284&js_type=1&login_sig=&pt_uistyle=40&aid=" + (bytes)(self.__aid)\
            + "&daid=164&mibao_css=m_webqq&"
 def build_get_discus_list_url(self, psessionid, vfwebqq):
     url = "https://s.web2.qq.com/api/get_discus_list?clientid=" + (bytes)(self.__client_id) + "&psessionid=" +\
           psessionid + "&vfwebqq=" + vfwebqq + "&t=" + (bytes)(webqq_utils.get_current_milli_time())
     return url
 def build_get_qq_avatar_url(self, uid):
     """get qq avatar"""
     return "https://q.qlogo.cn/g?b=qq&nk=" + (bytes)(uid) + "&s=100&t=" + (
         bytes)(webqq_utils.get_current_milli_time())
 def build_change_status_url(self, newstatus, psessionid):
     url = "https://d1.web2.qq.com/channel/change_status2?newstatus=" + newstatus + "&clientid="\
           + (bytes)(self.__client_id) + "&psessionid=" + psessionid + "&t=" \
           + (bytes)(webqq_utils.get_current_milli_time())
     return url
 def build_get_vfwebqq_url(self):
     return "https://s.web2.qq.com/api/getvfwebqq?ptwebqq=&clientid=" + (bytes)(self.__client_id)\
            + "&psessionid=&t=" + (bytes)(webqq_utils.get_current_milli_time())
 def build_report_url(self):
     return "https://report.url.cn/report/report?strValue=0&nValue=11202&tag=0&qver=0.0.1&t="\
            + (bytes)(webqq_utils.get_current_milli_time())
 def build_get_discu_info_url(self, did, vfwebqq, psessionid):
     url = "https://d1.web2.qq.com/channel/get_discu_info?did=" + (bytes)(did) + "&vfwebqq=" + vfwebqq\
           + "&clientid=" + (bytes)(self.__client_id) + "&psessionid=" + psessionid\
           + "&t=" + (bytes)(webqq_utils.get_current_milli_time())
     return url
 def build_get_group_info_ext2_url(self, gcode, vfwebqq):
     url = "https://s.web2.qq.com/api/get_group_info_ext2?gcode=" + (bytes)(gcode) + "&vfwebqq=" + vfwebqq + "&t="\
           + (bytes)(webqq_utils.get_current_milli_time())
     return url
 def build_get_friend_info2_url(self, tuin, vfwebqq, psessionid):
     url = "https://s.web2.qq.com/api/get_friend_info2?tuin=" + (bytes)(tuin) + "&vfwebqq=" + vfwebqq \
           + "&clientid=" + (bytes)(self.__client_id) + "&psessionid=" + psessionid\
           + "&t=" + (bytes)(webqq_utils.get_current_milli_time())
     return url
 def build_get_single_long_nick2(self, tuin, vfwebqq):
     url = "https://s.web2.qq.com/api/get_single_long_nick2?tuin=" + (bytes)(tuin) + "&vfwebqq=" + vfwebqq + "&t=" \
           + (bytes)(webqq_utils.get_current_milli_time())
     return url
 def build_get_online_buddies2_url(self, psessionid, vfwebqq):
     url = "https://d1.web2.qq.com/channel/get_online_buddies2?vfwebqq=" + vfwebqq + "&clientid="\
           + (bytes)(self.__client_id) + "&psessionid=" + psessionid + "&t="\
           + (bytes)(webqq_utils.get_current_milli_time())
     return url
 def build_get_self_info2_url(self):
     url = "https://s.web2.qq.com/api/get_self_info2?t=" + (bytes)(
         webqq_utils.get_current_milli_time())
     return url