thinkphp中钩子函数的数据怎么返回给控制器??
回复内容: thinkphp中钩子函数的数据怎么返回给控制器??
可以使用thinkhook类的listen方法添加自己的行为侦听位置,例如:
hook::listen('action_init');