ThinkPHP 分组,应用,跳转

一、多应用配置技巧
    在主入口文件index.php同级目录,新建一个 config.php 写入公共的配置项,然后在前后台各自的配置文件config.php中
    $arr = include "./config.php";
    $arr2 = array(
        //自己的配置项
    );
    return array_merge($arr,$arr2);
二、使用分组
    看手册
三、页面跳转
    $this->success('查询成功',U('User/test'));
    $this->redirect('User/test','',5,'页面正在跳');
四、Ajax技巧

posted @ 2014-09-17 12:13  笑笑别人  阅读(220)  评论(0编辑  收藏  举报