1234567891011121314151617181920212223242526272829 |
- '''
- Created on 2012-6-29
- @author: lihao
- '''
- from top.api.base import sign
- class appinfo(object):
- def __init__(self,appkey,secret):
- self.appkey = appkey
- self.secret = secret
-
- def getDefaultAppInfo():
- pass
-
- def setDefaultAppInfo(appkey,secret):
- default = appinfo(appkey,secret)
- global getDefaultAppInfo
- getDefaultAppInfo = lambda: default
-
-
|