📖 update README

This commit is contained in:
Song
2020-09-01 17:05:01 +08:00
parent b2d31d4d77
commit 0cb75f9913
2 changed files with 29 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ router.get("/push", (req, res, next) => {
touser: process.env.OPEN_ID,
template_id: process.env.TEMPLATE_ID,
};
request_data.data = { text: content };
request_data.data = { text: { value: content } };
axios
.post(
`https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=${access_token}`,