Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Это в менеджере
- case class AddContest(beginTime: DateTime, endTime: DateTime) extends ApiRequest with Pagination with ContestRequest
- object AddContest {
- implicit val _ = jsonFormat2(AddContest.apply)
- }
- это в спрейсервисе
- (path("add_contest") & post) {
- perRequest[AddContest, SuccessResponse]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement