Skip to content

Commit

Permalink
Update notice.md (EasyWeChat#37)
Browse files Browse the repository at this point in the history
append two function description
  • Loading branch information
foamzou authored and overtrue committed Jul 4, 2016
1 parent 1ab8d79 commit 2a905bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions notice.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ $notice = $app->notice;
+ `boolean setIndustry($industryId1, $industryId2)` 修改账号所属行业;
+ `array getIndustry()` 返回所有支持的行业列表,用于做下拉选择行业可视化更新;
+ `string addTemplate($shortId)` 添加模板并获取模板ID;
+ `int send($message)` 发送模板消息, 返回消息ID。
+ `int send($message)` 发送模板消息, 返回消息ID;
+ `array getPrivateTemplates()` 获取所有模板列表;
+ `array deletePrivateTemplate($templateId)` 删除指定ID的模板。

非链接调用方法:

Expand Down Expand Up @@ -148,4 +150,4 @@ $messageId = $notice->uses($templateId)->withUrl($url)->andData($data)->andRecei
);
```

关于模板消息的使用请参考 [微信官方文档](http://mp.weixin.qq.com/wiki/)
关于模板消息的使用请参考 [微信官方文档](http://mp.weixin.qq.com/wiki/)

0 comments on commit 2a905bb

Please sign in to comment.