<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Session; use Illuminate\Support\Facades\Session; use Module\Vendor\Util\AtomicUtil; class SessionUtil { public static function atomicProduce($zO6V5, $jkY57, $Jd4L6 = 3600) { AtomicUtil::produce("{$zO6V5}:" . Session::getId(), $jkY57, $Jd4L6); } public static function atomicConsume($zO6V5) { return AtomicUtil::consume("{$zO6V5}:" . Session::getId()); } public static function atomicRemove($zO6V5) { AtomicUtil::remove("{$zO6V5}:" . Session::getId()); } }