From 2d9af1fa735059db2a173e5f8d26610d9301e8a8 Mon Sep 17 00:00:00 2001 From: lq Date: Wed, 4 Dec 2024 09:50:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B0=E5=BD=95=E6=97=A5=E5=BF=97=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/models/OpLog.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/common/models/OpLog.php b/common/models/OpLog.php index 6c8b845..34a0127 100644 --- a/common/models/OpLog.php +++ b/common/models/OpLog.php @@ -7,16 +7,16 @@ use yii\db\ActiveRecord; class OpLog extends \common\modelsgii\OpLog { - public function behaviors() - { - return [ - [ +// public function behaviors() +// { +// return [ +// [ // 'class' => TimestampBehavior::class, // 'attributes' => [ // ActiveRecord::EVENT_BEFORE_INSERT => ['created_at','updated_at'], // ActiveRecord::EVENT_BEFORE_UPDATE => ['updated_at'], // ], - ], - ]; - } +// ], +// ]; +// } } \ No newline at end of file