This commit is contained in:
2018-07-19 18:48:36 +08:00
parent 837f6285f8
commit e329401a0a
5 changed files with 28 additions and 11 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class Template extends Base
{
$url = 'https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=' . $access;
$postBody = json_encode($postBody);
return http::post($url, $postBody, NULL, ['content-type' => 'application/json'])
return Http::post($url, $postBody, NULL, ['content-type' => 'application/json'])
->append('postBody', $postBody);
}
}