游戏-用户管理-优化表格和表单样式

This commit is contained in:
2026-04-01 16:37:03 +08:00
parent 3438c711f0
commit 7fc9470f45
2 changed files with 10 additions and 0 deletions

View File

@@ -167,6 +167,8 @@ class User extends Backend
return $this->error(__('No rows updated'));
}
// GET: 返回编辑数据时,剔除敏感字段
unset($row['password'], $row['salt'], $row['token'], $row['refresh_token']);
return $this->success('', [
'row' => $row
]);