How to return the data of the hook function in thinkphp to the controller? ?
How to return the data of the hook function in thinkphp to the controller? ?
You can use the listen method of the thinkHook
class to add your own behavior listening location, for example:
<code>Hook::listen('action_init');</code>