类 NotificationController

所有已实现的接口:
JpaController, JpaReadableController<Notification,String>, JpaWriteableController<Notification,String>, cn.herodotus.stirrup.web.core.definition.Controller

@RestController @RequestMapping("/message/notification") public class NotificationController extends AbstractJpaWriteableController<Notification,String>

Description: 系统通知

作者:
: gengwei.zheng
Date:
: 2024/3/27 15:38
  • 构造器详细资料

    • NotificationController

      public NotificationController(NotificationService notificationService)
  • 方法详细资料

    • getWriteableService

      public cn.herodotus.stirrup.data.crud.service.JpaWriteableService<Notification,String> getWriteableService()
    • findByCondition

      @GetMapping("/condition") public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<Map<String,Object>>> findByCondition(@NotNull @RequestParam("pageNumber") @NotNull Integer pageNumber, @NotNull @RequestParam("pageSize") @NotNull Integer pageSize, @NotNull @RequestParam("userId") @NotNull String userId, @RequestParam(value="category",required=false) Integer category, @RequestParam(value="read",required=false) Boolean read)
    • setAllRead

      @PutMapping("/all-read") public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<Integer>> setAllRead(@RequestParam("userId") String userId)