| | |
| | | public R<TVip> getById(Integer id) { |
| | | return R.ok(vipService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * 远程调用 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/getInfo1") |
| | | public R<TVip> getInfo1(@RequestParam("id")Integer id) { |
| | | return R.ok(vipService.getById(id)); |
| | | } |
| | | @ApiOperation(value = "会员列表分页查询") |
| | | @PostMapping(value = "/pageList") |
| | | @ApiImplicitParams({ |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping(value = "/getVipInfoByType") |
| | | public R<TVip> getVipInfoByType(@RequestParam Integer type){ |
| | | public R<TVip> getVipInfoByType(@RequestParam("type") Integer type){ |
| | | switch (type){ |
| | | case 1: |
| | | return R.ok(vipService.getOne(Wrappers.lambdaQuery(TVip.class) |