<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Cache; use Illuminate\Support\Facades\Cache; class CacheUtil { private static function client() { return Cache::store(); } public static function rememberForever($OSU2M, $jlZvo) { return self::client()->rememberForever($OSU2M, $jlZvo); } public static function remember($OSU2M, $smz_9, $jlZvo) { return self::client()->remember($OSU2M, intval($smz_9 / 60), $jlZvo); } public static function forget($OSU2M) { return self::client()->forget($OSU2M); } public static function get($OSU2M) { return self::client()->get($OSU2M); } public static function put($OSU2M, $qQcPQ, $smz_9) { self::client()->put($OSU2M, $qQcPQ, ceil($smz_9 / 60)); } public static function forever($OSU2M, $qQcPQ) { self::client()->forever($OSU2M, $qQcPQ); } }