config.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. return {
  2. -- 通知类型 telegram, pushdeer, bark, dingtalk, feishu, wecom, next-smtp-proxy
  3. NOTIFY_TYPE = "pushdeer",
  4. --
  5. -- telegram 通知配置, https://github.com/0wQ/telegram-notify
  6. TELEGRAM_PROXY_API = "",
  7. TELEGRAM_TOKEN = "",
  8. TELEGRAM_CHAT_ID = "",
  9. --
  10. -- pushdeer 通知配置, https://www.pushdeer.com/
  11. PUSHDEER_API = "https://api2.pushdeer.com/message/push",
  12. PUSHDEER_KEY = "",
  13. --
  14. -- bark 通知配置, https://github.com/Finb/Bark
  15. BARK_API = "https://api.day.app",
  16. BARK_KEY = "",
  17. --
  18. -- dingtalk 通知配置, https://open.dingtalk.com/document/robots/custom-robot-access
  19. DINGTALK_WEBHOOK = "",
  20. --
  21. -- feishu 通知配置, https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN
  22. FEISHU_WEBHOOK = "",
  23. --
  24. -- wecom 通知配置, https://developer.work.weixin.qq.com/document/path/91770
  25. WECOM_WEBHOOK = "",
  26. --
  27. -- next-smtp-proxy 通知配置, https://github.com/0wQ/next-smtp-proxy
  28. NEXT_SMTP_PROXY_API = "",
  29. NEXT_SMTP_PROXY_USER = "",
  30. NEXT_SMTP_PROXY_PASSWORD = "",
  31. NEXT_SMTP_PROXY_HOST = "smtp-mail.outlook.com",
  32. NEXT_SMTP_PROXY_PORT = 587,
  33. NEXT_SMTP_PROXY_FORM_NAME = "Air780E",
  34. NEXT_SMTP_PROXY_TO_EMAIL = "",
  35. NEXT_SMTP_PROXY_SUBJECT = "来自 Air780E 的通知",
  36. --
  37. -- 定时查询流量间隔, 单位毫秒, 设置为 0 关闭
  38. QUERY_TRAFFIC_INTERVAL = 1000 * 60 * 60 * 6,
  39. --
  40. -- 定时基站定位间隔, 单位毫秒, 设置为 0 关闭
  41. LOCATION_INTERVAL = 1000 * 60 * 30
  42. }