From 96238de8e3ac653d5c02376e26cee93e4bfa1015 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Mon, 30 Jan 2017 14:33:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9BQuery=E7=B1=BBafter=5Fupdate?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Query.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/think/db/Query.php b/library/think/db/Query.php index 3736f85e..b5f0eb9a 100644 --- a/library/think/db/Query.php +++ b/library/think/db/Query.php @@ -2213,6 +2213,7 @@ class Query // 执行操作 $result = '' == $sql ? 0 : $this->execute($sql, $bind); if ($result) { + $options['data'] = $data; $this->trigger('after_update', $options); } return $result;