ThinkPHP call other controller method, helper function action ()

usage:

Action A = $ ( 'ADMIN / user / detail', [ 'id' => 10]); 

var_dump ($ A)

indicates that the call controller user controller detail in other methods, a passed parameter id

Guess you like

Origin www.cnblogs.com/youantianqin/p/12027425.html