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