根据时间来决定使用的模板

        if(time() > strtotime('2016-05-15 23:59:59')){
            $this->display('/be_vip');
        }else{
            $this->display('/vip');        
        } 
原文地址:https://www.cnblogs.com/henry-xu/p/5884991.html