Skip to content

Commit

Permalink
Fixed overtrue#199
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue authored Sep 1, 2020
1 parent a317397 commit 3e91c7d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,18 @@ $easySms->send(13188888888, $message);
],
```

发送示例:

```php
$easySms->send(18888888888, [
'template' => 101234, // 模板ID
'content' => "您的动态验证码为:{1},请于5分钟内完成验证,如非本人操作,请忽略本短信!", // 模板内容
'data' => [
$code, // 模板变量
],
]);
```

### [阿凡达数据](http://www.avatardata.cn/)

短信内容使用 `template` + `data`
Expand Down

0 comments on commit 3e91c7d

Please sign in to comment.