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