TP5在SAE部署用官方拓展出错

浏览:906 发布日期:2016/11/13 分类:ThinkPHP5专区
按教程
http://www.kancloud.cn/manual/thinkphp5/175109
操作后报错:致命错误: Class '\think\sae\Cache' not found

出错Index.php代码:<?php
namespace app\index\controller;

use think\Cache;

class Index
{
    public function index()
    {
        Cache::set('cache_name', 'ABC', 3600);
        $cache_get = dump(Cache::get('cache_name'));
        Cache::rm('cache_name');
        return $cache_get;
    }
}
请教该如何操作?
最佳答案
评论() 相关
后面还有条评论,点击查看>>