This commit is contained in:
2025-04-07 11:52:11 +08:00
parent de7dcdf011
commit 6247d8cf4d
+1 -1
View File
@@ -283,7 +283,7 @@ class UserController
if (Util::isEmpty($language)) {
return Util::fail([], 'language' . trans('not_null'));
}
if (!in_array($language, ['en', 'zh_CN'])) {
if (!in_array($language, ['en', 'zh_CN','ru'])) {
return Util::fail([], trans('param_error'));
}
$data = [