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