<?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($sFwJk, $eIeJB) { return self::client()->rememberForever($sFwJk, $eIeJB); } public static function remember($sFwJk, $AySRI, $eIeJB) { return self::client()->remember($sFwJk, intval($AySRI / 60), $eIeJB); } public static function forget($sFwJk) { return self::client()->forget($sFwJk); } public static function get($sFwJk) { return self::client()->get($sFwJk); } public static function put($sFwJk, $jkY57, $AySRI) { self::client()->put($sFwJk, $jkY57, ceil($AySRI / 60)); } public static function forever($sFwJk, $jkY57) { self::client()->forever($sFwJk, $jkY57); } }