摘要: 在thinkphp里,链接缓存函数只有cache,如$Model->cache(true)->select(); 但只支持select方法和其派生的函数, 这里我改了一下缓存方法,可以用D和M方法调用的任意函数 文件/common/cacheModel.php 1 model = $fun;3... 阅读全文
posted @ 2013-05-27 22:27 无嗔 阅读(973) 评论(0) 推荐(0) 编辑