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