From 8fabead3056308faef7d76718b4eeaf3baa1547c Mon Sep 17 00:00:00 2001 From: mzl Date: Tue, 12 Aug 2025 08:45:51 +0800 Subject: [PATCH] ts --- app/controller/IndexController.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/controller/IndexController.php b/app/controller/IndexController.php index 77c5622..fa0fce1 100644 --- a/app/controller/IndexController.php +++ b/app/controller/IndexController.php @@ -106,8 +106,13 @@ class IndexController public function test() { - $data = DataPermission::getRoleTreeUserIds(1); - var_dump($data); - return 22; + $uidRotator = new \app\common\utils\RedisUidRotator('email_parsed_result_20250804'); + $uidRotator->setUids([64, 63, 83, 93, 108, 118, 131, 132, 145, 150, 143, 156, 157, 158]); + + $assignedUid = $uidRotator->next(); + + flg($assignedUid, false); + + return $assignedUid; } } \ No newline at end of file