This commit is contained in:
2026-04-04 08:52:59 +08:00
parent 66bcd8061a
commit d98ac8f146
33 changed files with 2565 additions and 328 deletions
+3
View File
@@ -192,6 +192,9 @@ class Utils
return self::getTokenManager()->clearToken($userID, $isAdmin);
}
public static function getPlatformId($name=''): int{
if(ctype_digit($name)){
return (int)$name;
}
$arr = [
'ios' => 1,
'android' => 2,