wechat_sdk/lib/crypto/base.py
def get_random_str(self):
        """ 随机生成16位字符串

        @return: 16位字符串
        """
        rule = string.ascii_letters + string.digits
        return "".join(random.sample(rule, 16))
def get_random_str(self):
        """ 随机生成16位字符串

        @return: 16位字符串
        """
        rule = string.ascii_letters + string.digits
        return "".join(random.sample(rule, 16))
随机生成16位字符串

        @return: 16位字符串