* Adjust codes.

This commit is contained in:
daitingting
2018-05-31 09:47:15 +08:00
parent 101f8e372b
commit 99bb895557
+1 -1
View File
@@ -342,7 +342,7 @@ class webhookModel extends model
{
$attachment = array();
$attachment['title'] = $file->title;
$attachment['images'][]['url'] = $data->host . $this->file->webPath . $file->pathname;
$attachment['images'][]['url'] = common::getSysURL() . $this->file->webPath . $file->pathname;
$data->attachments[] = $attachment;
}
}