255] ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'route' => '路由', 'description' => '详情', 'created_at' => '操作时间', 'user_id' => '操作人', 'ip' => '操作人ip' ]; } public function behaviors() { return [ [ 'class' => TimestampBehavior::className(), 'updatedAtAttribute' => null ], UserBehavior::className() ]; } }