如果你在PC的基础上写模块程序,那么我可以告诉你缓存操作的函数在哪里
phpcms\libs\functions\global.func.php
写缓存setcache
读缓存getcache
删除缓存delcache
基础用法如下:
写缓存setcache("test","这里是任何数据");
读缓存getcache("test");
删除缓存delcache("test");
转载于:https://www.cnblogs.com/gzmg/p/3421566.html
如果你在PC的基础上写模块程序,那么我可以告诉你缓存操作的函数在哪里
phpcms\libs\functions\global.func.php
写缓存setcache
读缓存getcache
删除缓存delcache
基础用法如下:
写缓存setcache("test","这里是任何数据");
读缓存getcache("test");
删除缓存delcache("test");
转载于:https://www.cnblogs.com/gzmg/p/3421566.html