예제 #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)