update user api

This commit is contained in:
2026-03-06 15:29:04 +08:00
parent e6130d76c7
commit 3eb517bc3a
8 changed files with 412 additions and 11 deletions
+4
View File
@@ -33,6 +33,10 @@ return [
'platforms' => (static function (): array {
$platforms = [];
if (env('APP_ENV', 'dev') === 'testing') {
return $platforms;
}
try {
// 从数据库获取所有启用的平台
$rows = Db::table('platforms')