helper
This commit is contained in:
parent
347344bae0
commit
b6cb9da481
@ -42,6 +42,7 @@ class TokenHelper
|
||||
public static function verify($tokenString)
|
||||
{
|
||||
try {
|
||||
Log::info("token: " . $tokenString);
|
||||
$parts = explode('.', $tokenString);
|
||||
if (count($parts) != 2) {
|
||||
Log::error("验证失败,token无效");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user