Skip to content

Commit 7a383c9

Browse files
author
蒋吉兆
committed
添加钉钉通知插件
1 parent 40e7a8b commit 7a383c9

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,12 @@
169169
Body string `json:"body"` // 邮件内容
170170
}
171171
172+
### api插入语句
173+
174+
```sql
175+
INSERT INTO `你的数据库名字`.`sys_apis`(`created_at`, `updated_at`, `deleted_at`, `path`, `description`, `api_group`, `method`) VALUES ( '2021-08-25 23:09:12', '2021-08-25 23:09:12', NULL, '/email/emailTest', '发送测试邮件', 'email', 'POST');
176+
INSERT INTO `你的数据库名字`.`sys_apis`(`created_at`, `updated_at`, `deleted_at`, `path`, `description`, `api_group`, `method`) VALUES ( '2021-08-28 14:20:27', '2021-08-28 14:20:27', NULL, '/email/sendEmail', '发送邮件', 'email', 'POST');
177+
```
172178
173179
```
174180

notify/README.MD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,10 @@ SendMarkdownMessage(content,title string,atMobiles []string,isAtAll bool)
7171
Body string `json:"body"` // 邮件内容
7272
}
7373

74+
### 添加api SQL语句
7475

76+
```sql
77+
INSERT INTO `你的数据库名字`.`sys_apis`(`created_at`, `updated_at`, `deleted_at`, `path`, `description`, `api_group`, `method`) VALUES ( '2021-08-25 23:09:12', '2021-08-25 23:09:12', NULL, '/notify/sendTextMessage', '发送文字消息', 'notify', 'POST');
78+
INSERT INTO `你的数据库名字`.`sys_apis`(`created_at`, `updated_at`, `deleted_at`, `path`, `description`, `api_group`, `method`) VALUES ( '2021-08-28 14:20:27', '2021-08-28 14:20:27', NULL, '/notify/sendLinkMessage', '发送图文链接消息', 'notify', 'POST');
79+
INSERT INTO `你的数据库名字`.`sys_apis`(`created_at`, `updated_at`, `deleted_at`, `path`, `description`, `api_group`, `method`) VALUES ( '2021-08-28 14:20:27', '2021-08-28 14:20:27', NULL, '/notify/sendMarkdownMessage', '发送markdown消息', 'notify', 'POST');
80+
```

0 commit comments

Comments
 (0)