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