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