| | |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | |
| | | |
| | | @AnonymousAccess |
| | | @GetMapping("/listMsg") |
| | | public ResponseVO<Object> list(BaseConditionVO conditionVO){ |
| | | public ResponseVO<Object> list(BaseConditionVO conditionVO, @RequestParam(value = "type", required = false) String type) { |
| | | |
| | | return ResponseUtil.success(errorMsgService.listMsg(conditionVO)); |
| | | return ResponseUtil.success(errorMsgService.listMsg(conditionVO, type)); |
| | | } |
| | | } |