config.py 435 Bytes
Newer Older
1 2
#coding:utf-8

fanxun committed
3 4 5 6
class BaseConfig():
    """基础配置类"""
    # 请求头
    headers = {'Content-Type': 'application/json; charset=utf-8'}
7 8 9
    # 当前运行的产品名
    current_product = ""

jiaqiying committed
10

11
class BMCConfig(BaseConfig):
dengmaosheng committed
12
    """斑马信用app的配置1类"""
13
    pass
fanxun committed
14 15 16 17


class DingTalk(BaseConfig):
    """钉钉机器人"""
fanxun committed
18
    webhook = ''
fanxun committed
19

fanxun committed
20 21 22 23

class SSOLoginConfig(BaseConfig):
    """登录配置"""
    salt = 'hikcreate_xj'