挂钩点名称
member_verify_group_after
参数介绍
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 [is_complete] => 0 [verify_group] = > 平台会员组名称 [verify_status] = > 审核状态 [verify_content] = > 审核备注内容 ) #以实际输出的参数为准
用法举例
/config/hooks.php
\Phpcmf\Hooks::on('member_verify_group_after', function($data) { ... 你的程序段 });