| | |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | public void queryExport(PrizeRecordQuery searchParams) { |
| | | HttpServletResponse response = ThreadContextHolder.getHttpResponse(); |
| | | prizeRecordService.queryExportStock(response,searchParams);} |
| | | @GetMapping("{id}") |
| | | public Result push(@PathVariable String id){ |
| | | return prizeRecordService.push(id); |
| | | } |
| | | } |