* Finish task #3337,3338,3357,3358,3365,3366,3367.

This commit is contained in:
liugang
2017-11-09 15:16:22 +08:00
parent 3cc063d5b3
commit 90211f67fa
22 changed files with 197 additions and 144 deletions
+2
View File
@@ -399,6 +399,8 @@ class webhookModel extends model
*/
public function fetchHook($webhook, $sendData)
{
if(!extension_loaded('curl')) die(helper::jsonEncode($this->lang->webhook->error->curl));
$header[] = "Content-Type: {$webhook->contentType};charset=utf-8";
$ch = curl_init();