'ID', 'store_id' => 'Store ID', 'integral_shuoming' => 'Integral Shuoming', 'register_rule' => 'Register Rule', 'register_integral' => 'Register Integral', 'register_continuation' => 'Register Continuation', 'register_reward' => 'Register Reward', ]; } public function afterSave($insert, $changedAttributes) { $data = $insert ? json_encode($this->attributes) : json_encode($changedAttributes); CommonActionLog::storeActionLog('', $insert, 0, $data, $this->id); } }