This commit is contained in:
2023-12-17 21:29:59 +08:00
parent 3ae0046c88
commit ec6b900318
20 changed files with 652 additions and 31 deletions

17
app/Const/RedisConst.php Normal file
View File

@ -0,0 +1,17 @@
<?php
namespace App\Const;
class RedisConst{
const COMMON_EXP_TIME = 86400*60;
const UID_TOKENS = 'UID_TOKENS:';
const TOKEN_UID = 'TOKEN_UID:';
const ORM_FIND_CACHE_SECOND = 120;
const ORM_CACHE_USER = 'ORM_CACHE_USER:';
}