ad-password-self-service/utils/dingtalk_sdk/__init__.py

22 lines
358 B
Python

"""
Created on 2018-9-17
@author: xiaoxuan.lp
"""
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