+ Add en lang files.

* Finish task 3292,3293,3294,3305,3306,3307,3308,3309.
This commit is contained in:
liugang
2017-11-02 11:35:52 +08:00
parent 0b90bae736
commit e8cdfe2bff
30 changed files with 301 additions and 172 deletions
+2 -3
View File
@@ -151,9 +151,8 @@ class webhook extends control
$webhook = zget($webhooks, $data->webhook, '');
if($webhook)
{
$contentType = zget($this->config->webhook->contentTypes, $webhook->contentType, 'application/json');
$result = $this->webhook->fetchHook($contentType, $webhook->url, $data->data);
$this->webhook->saveLog($data->webhook, $data->action, $webhook->url, $contentType, $data->data, $result);
$result = $this->webhook->fetchHook($webhook, $data->data);
$this->webhook->saveLog($webhook, $data->action, $data->data, $result);
}
$this->dao->update(TABLE_WEBHOOKDATAS)->set('status')->eq('sended')->where('id')->eq($data->id)->exec();