| | |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | import java.util.List; |
| | | |
| | | @FeignClient("mb-cloud-competition") |
| | | public interface CompetitionClient { |
| | | |
| | | /** |
| | | * 获取赛事报名记录 |
| | | */ |
| | | @RequestMapping("/base/competition/listAllPayment") |
| | | List<PaymentCompetition> listAllPayment(@RequestBody CompetitionQuery query); |
| | | @PostMapping("/base/competition/queryById") |
| | | Competition queryById(Integer id); |
| | | |
| | |
| | | |
| | | @PostMapping("/base/competition/listUser") |
| | | Page<CompetitionUser> listUser(CompetitionUserQuery competitionUserQuery); |
| | | |
| | | @PostMapping("/base/competition/listAudit") |
| | | Page<Competition> listAudit(ListQuery listQuery); |
| | | } |
| | | |
| | | |