コード例 #1
0
ファイル: referer.py プロジェクト: XinMa1/work
    def __init__(self, name = '微信管理'):
        adminAction.__init__(self, name)

        aboutObj = about().getOne('wxtoken,wxappid,wxsecret', {})
        self.appid = aboutObj['wxappid']
        self.secret = aboutObj['wxsecret']
        self.url_access_token = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s" % (self.appid, self.secret)
コード例 #2
0
ファイル: index.py プロジェクト: XinMa1/work
 def __init__(self, name = '微信管理'):
     adminAction.__init__(self, name)