$first = true;
}
$data = json_encode($value);
if ($this->options['data_compress'] && function_exists('gzcompress')) {
//数据压缩
$data = gzcompress($data, 3);
}
//$data = str_replace(PHP_EOL, '', $data);
$data = "<?php\n//" . sprintf('%012d', $expire) . $data . "\n?>";
$result = file_put_contents($filename, $data);
if ($result) {
isset($first) && $this->setTagItem($filename);
clearstatcache();
return true;
} else {
return false;
}
}
name | shop_info |
value | { "site_logo": "http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_logo20200706.jpg", "wechat_qr": "http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_erweima20200706.jpg", "site_title": "\u6807\u51c6\u6570\u636e", "card_site_title": "\u6995\u6c5f2021\u6625\u5b63\u201d\u8bda\u4fe1\u5bb6\u88c5\u72c2\u8d2d\u8282\u201d", "card_site_logo": "http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_logo20200706.jpg", "card_phone": "18785545024", "refund_phone": "18785545024", "card_qq": "657943979", "card_wechat": "rjwsh0855", "card_wechat_qr": "http:\/\/p21.pccoo.cn\/kaola_website\/20210324\/2021032411301681889787_200_200.png", "wx_share_title": "\u6995\u6c5f2021\u6625\u5b63\u201d\u8bda\u4fe1\u5bb6\u88c5\u72c2\u8d2d\u8282\u201d\uff0c\u65b0\u5e74\u5343\u4e07\u8ba9\u5229\u6c42\u751f\u5b58\uff01", "wx_share_content": "19.9\u5143\u5c3d\u4eab\u65b0\u5e74\u88c5\u4fee\u7279\u60e0\u5927\u793c\u5305\uff0c\u66f4\u6709\u7ea2\u5305\uff0c\u5927\u5956\uff0c\u8d85\u503c\u79d2\u6740\u5c3d\u5728\u6995\u6c5f\u5bb6\u88c5\u7f51", "wx_share_img": "http:\/\/p21.pccoo.cn\/kaola_website\/20210325\/2021032511593019388081_200_200.png" } |
expire | 300 |
filename | /www/wwwroot/zx.ccoojkm.cn/runtime/cache/aec116d36ff31ff54dc1f3c343142f44/b3/aa26c3e083dd4303eb87f6f626dc4e.php |
data | <?php //000000000300{"site_logo":"http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_logo20200706.jpg","wechat_qr":"http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_erweima20200706.jpg","site_title":"\u6807\u51c6\u6570\u636e","card_site_title":"\u6995\u6c5f2021\u6625\u5b63\u201d\u8bda\u4fe1\u5bb6\u88c5\u72c2\u8d2d\u8282\u201d","card_site_logo":"http:\/\/r.imgccoo.cn\/wsh_new\/uploadpic\/zyb_logo20200706.jpg","card_phone":"18785545024","refund_phone":"18785545024","card_qq":"657943979","card_wechat":"rjwsh0855","card_wechat_qr":"http:\/\/p21.pccoo.cn\/kaola_website\/20210324\/2021032411301681889787_200_200.png","wx_share_title":"\u6995\u6c5f2021\u6625\u5b63\u201d\u8bda\u4fe1\u5bb6\u88c5\u72c2\u8d2d\u8282\u201d\uff0c\u65b0\u5e74\u5343\u4e07\u8ba9\u5229\u6c42\u751f\u5b58\uff01","wx_share_content":"19.9\u5143\u5c3d\u4eab\u65b0\u5e74\u88c5\u4fee\u7279\u60e0\u5927\u793c\u5305\uff0c\u66f4\u6709\u7ea2\u5305\uff0c\u5927\u5956\uff0c\u8d85\u503c\u79d2\u6740\u5c3d\u5728\u6995\u6c5f\u5bb6\u88c5\u7f51","wx_share_img":"http:\/\/p21.pccoo.cn\/kaola_website\/20210325\/2021032511593019388081_200_200.png"} ?> |