挂钩点名称
member_edit_group_after
挂钩点参数
\Phpcmf\Hooks::trigger('member_edit_group_after', $data);
参数说明
Array ( [username] => asdfa [phone] => [email] => daf@fda.com [password] => d45c371b35ded2de44e7b528c00ee964 [name] => [salt] => 59b90e1005 [money] => 0 [freeze] => 0 [spend] => 0 [score] => 0 [experience] => 0 [regip] => 127.0.0.1 [regtime] => 1481442182 [randcode] => 230252 [uid] => 8120 [id] => 8120 [is_lock] => 0 [is_auth] => 0 [is_admin] => 0 [is_avatar] => 0 [is_verify] => 0 [is_mobile] => 0 [group_name] => 本次用户组名称 ) #以实际输出的参数为准
用法举例
/config/hooks.php
\Phpcmf\Hooks::on('member_edit_group_after', function($data) { ..... });