添加钉钉配置文件

This commit is contained in:
Echowxsy
2019-01-14 20:15:02 +08:00
parent ff8a09e3fb
commit dbe98ca867
3 changed files with 12 additions and 0 deletions

View File

@@ -42,6 +42,10 @@ NOTIFICATION_BY_VOICE_CODE = 1 # 开启语音通知
NOTIFICATION_API_APP_CODE = 'your app code'
NOTIFICATION_VOICE_CODE_PHONE = 'your phone' # 接受通知的手机号
# 钉钉通知
DINGTALK_ENABLED = 0
DINGTALK_WEBHOOK = 'https://oapi.dingtalk.com/robot/send?access_token=your token'
# 输出日志到文件
OUT_PUT_LOG_TO_FILE_ENABLED = 0
OUT_PUT_LOG_TO_FILE_PATH = 'runtime/12306.log' # 日志目录