mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
改进Query类after_update回调方法
This commit is contained in:
@@ -2213,6 +2213,7 @@ class Query
|
|||||||
// 执行操作
|
// 执行操作
|
||||||
$result = '' == $sql ? 0 : $this->execute($sql, $bind);
|
$result = '' == $sql ? 0 : $this->execute($sql, $bind);
|
||||||
if ($result) {
|
if ($result) {
|
||||||
|
$options['data'] = $data;
|
||||||
$this->trigger('after_update', $options);
|
$this->trigger('after_update', $options);
|
||||||
}
|
}
|
||||||
return $result;
|
return $result;
|
||||||
|
|||||||
Reference in New Issue
Block a user