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