POSCMS 版主:POSCMS负责人
poscms怎么加载缓存文件呢
类型:POSCMS 更新时间:2021-04-17 08:19:18

想把一些数据放到缓存文件夹里,但是不知道怎么加载到页面中

回帖
  • 可爱的小兔子
    #1楼    可爱的小兔子
    2018-08-30 09:58:39
    0

    存储方法

    $this->set_cache_data("缓存名称", $data, 有效期秒);

    读取方法

    $this->get_cache_data("缓存名称");
    满意答案
  • wubinlove
    #2楼    wubinlove
    2021-04-17 08:19:18
    Firefox 87.0 0
    @可爱的小兔子:谢谢帮助