修复:查询全部数据

This commit is contained in:
yystopf 2025-11-05 16:03:31 +08:00
parent 9440ce9572
commit 720cfea5bc
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
json.total_count @rows.total_count
json.users @rows.each do |row|
user = User.find(row[0])
user = User.find_by_id(row[0])
if user.blank?
json.user nil
else