请求日志
This commit is contained in:
parent
d4b7cfc105
commit
0664016fe3
|
|
@ -25,16 +25,16 @@ class DbCoroutineContext
|
|||
// put 存数据到 list
|
||||
public static function put(mixed $value): void
|
||||
{
|
||||
$val = self::get('startTrans');
|
||||
if (!empty($val) && $val === true) {
|
||||
$value->startTrans();
|
||||
}
|
||||
$cid = self::getCid();
|
||||
if ($cid !== null) {
|
||||
self::$list[$cid][] = $value;
|
||||
} else {
|
||||
self::$globalList[] = $value;
|
||||
}
|
||||
// $val = self::get('startTrans');
|
||||
// if (!empty($val) && $val === true) {
|
||||
// $value->startTrans();
|
||||
// }
|
||||
// $cid = self::getCid();
|
||||
// if ($cid !== null) {
|
||||
// self::$list[$cid][] = $value;
|
||||
// } else {
|
||||
// self::$globalList[] = $value;
|
||||
// }
|
||||
}
|
||||
|
||||
// set 设置 key-value
|
||||
|
|
|
|||
Loading…
Reference in New Issue