Skip to content

Commit

Permalink
完善文档
Browse files Browse the repository at this point in the history
  • Loading branch information
mouday committed Sep 14, 2023
1 parent 4668d68 commit 873cfcc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion doc/source/manual/notify.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,20 @@ https://oapi.dingtalk.com/robot/send?access_token=<access_token>
```json
{
"msgtype": "text",
"text": {"content":"监控报警: 我就是我, 是不一样的烟火"}
"text": {
"content":"监控报警: 我就是我, 是不一样的烟火"
}
}
```

使用模板的请求体示例

```json
{
"msgtype": "text",
"text": {
"content": "{% for row in list %}{{row.domain}} {{row.start_date or '-' }} - {{row.expire_date or '-' }} ({{row.expire_days}}){% endfor %}"
}
}
```

Expand Down

0 comments on commit 873cfcc

Please sign in to comment.