优化临时插入用户接口/api/user/Login和抽奖接口/api/game/playStart

This commit is contained in:
2026-04-08 17:32:14 +08:00
parent ef684a1c55
commit 765f50963a
5 changed files with 39 additions and 14 deletions

View File

@@ -58,7 +58,7 @@ class GameController extends BaseController
try {
$logic = new UserLogic();
$result = $logic->loginByUsername($username, $password, $lang === 'en' ? 'en' : 'chs', 0.0, $time, $adminId, $adminIdsInTopDept);
$result = $logic->loginByUsername($username, $password, $lang, 0.0, $time, $adminId, $adminIdsInTopDept);
} catch (\plugin\saiadmin\exception\ApiException $e) {
return $this->fail($e->getMessage(), ReturnCode::PARAMS_ERROR);
}