fix: messages list status select

This commit is contained in:
2021-09-14 11:21:58 +08:00
parent a0b6041394
commit a8c75f3b20
2 changed files with 3 additions and 19 deletions

View File

@@ -16,19 +16,11 @@ class Notice::Read::ListService < Notice::Read::ClientService
private
def request_status
case status
when 1 then 1
else
2
end
end
def request_params
{
receiver: receiver,
page: page,
show: request_status,
status: status,
size: size,
type: type
}.stringify_keys