feat: 记录 Telegram 配置启用状态并初始化设备中间件响应写入器字段。
Build docker and publish / build (20.15.1) (push) Successful in 5m3s
Build docker and publish / build (20.15.1) (push) Successful in 5m3s
This commit is contained in:
@@ -14,6 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func Telegram(svc *svc.ServiceContext) {
|
||||
logger.Infof("Telegram Config Enable: %v", svc.Config.Telegram.Enable)
|
||||
if !svc.Config.Telegram.Enable {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user