feat : common redis cache and common logger

This commit is contained in:
2025-09-14 15:58:45 +08:00
parent 48ad2ebd1b
commit 0db9995c19
15 changed files with 640 additions and 14 deletions

View File

@@ -0,0 +1,15 @@
<?php
namespace App\Cache\Redis;
class RedisKey
{
/**
* @param int $id
* @return string
*/
public static function getAdminUserInfoKey(int $id): string
{
return 'admin_user:'.$id;
}
}