Skip to content

Commit

Permalink
修改默认为json
Browse files Browse the repository at this point in the history
  • Loading branch information
LiXunGuan committed Aug 19, 2015
1 parent 9a6c0f8 commit 6a92773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lixunguan/Yuntongxun/Sdk.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function authen()
* @param string $dataType 数据类型 json 或xml
* @return xml/object
*/
public function sendTemplateSMS($to, array $datas, $templateID, $dataType = 'xml')
public function sendTemplateSMS($to, array $datas, $templateID, $dataType = 'json')
{
# 请求包体
$param = array(
Expand Down

0 comments on commit 6a92773

Please sign in to comment.