Thinkphp5 调用其他控制器函数的方法

 

 

action('index/index/upload',['参数' => '参数值']); //第一种
controller('index/index')->upload('参数'); //第二种

 

posted @ 2022-01-25 09:27  赵瑛  阅读(499)  评论(0编辑  收藏  举报

版权所有 © 2022 沅来是澧

如果有程序开发、网站建设等需求的请联系我,QQ:47419233