mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
8d10b52a35
commit
26252aee02
@ -9,7 +9,7 @@ class CacheKey
|
|||||||
'LAST_SEND_EMAIL_VERIFY_TIMESTAMP' => '最后一次发送邮箱验证码时间'
|
'LAST_SEND_EMAIL_VERIFY_TIMESTAMP' => '最后一次发送邮箱验证码时间'
|
||||||
];
|
];
|
||||||
|
|
||||||
public static function get(string $key, $uniqueValue):string
|
public static function get(string $key, $uniqueValue)
|
||||||
{
|
{
|
||||||
if (!in_array($key, array_keys(self::KEYS))) {
|
if (!in_array($key, array_keys(self::KEYS))) {
|
||||||
abort(500, 'key is not in cache key list');
|
abort(500, 'key is not in cache key list');
|
||||||
|
Loading…
Reference in New Issue
Block a user