Url time query field description

A need to find a user created within 05-01 05-24 and last logged in a time field greater than 05-11 a comparison type how to map to url I currently write http://localhost/user?create_. creation time field is range creation time is > < how to elegantly express what I think of

http://localhost/user?create_at=1527094100472,1527094100472&login_at=1527094100472,

means that the login time within the creation time is greater than

http://localhost/user?create_at=1527094100472,1527094100472&login_at=,1527094100472

means that the login time within the creation time is less than

how did the bosses solve the problem


created_at_low=
created_at_up=

1 field, how else do you want to be elegant


maybe it's a little more elegant?

router

/user/time/range/:start/:end

demo

http://localhost/user/time/range/1527094100472/1527094100472
Menu