TP5.0.9如何在公共函数文件common.php中调用跳转方法

浏览:1795 发布日期:2017/06/22 分类:ThinkPHP5专区 关键字: thinkphp5
在common.php中 如何使用以下方法,$this只能在类中使用,那在common.php中如何做页面提示,跳转,不会要header吧?
$this->error();
$this->success();
$this->redirect();
最佳答案
评论( 相关
后面还有条评论,点击查看>>