diff --git a/README.md b/README.md index b883a9a..3dca83f 100644 --- a/README.md +++ b/README.md @@ -15,15 +15,16 @@ Send pushover notifications from yunkong2. To send notification from ScriptEngine just write: + + +```javascript + //短信发送 sendTo("pushover.0", { phone: '15273732255', message: '室内温度高于40度报警,并打开电磁阀风机(室外水位不高的情况下)及冷却循环装置' }); - - -```javascript // send notification to all instances of pushover adapter sendTo("pushover", "message body");