迅睿CMS 用户组取消/删除之后
挂钩点名称
member_del_group_after
挂钩点参数
\Phpcmf\Hooks::trigger('member_del_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_del_group_after', function($data) { ..... });
迅睿CMS系统:https://www.xunruicms.com/
本文档原文地址:https://www.xunruicms.com/doc/795.html
来源:oschina
链接:https://my.oschina.net/finecms/blog/4299011