更改:查询

This commit is contained in:
yystopf 2024-01-13 10:34:01 +08:00
parent eac6304ef2
commit d83839c168
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class MemosService
def batch_show_simple params, current_user
memo_ids = params[:ids].split(",") rescue []
memos = Memo.where(memo_ids)
memos = Memo.where(id: memo_ids)
memo_info = memos.map do |memo|
{id: memo.id,