| | |
| | | package com.dsh.course.feignClient.activity; |
| | | |
| | | import com.baomidou.mybatisplus.extension.api.R; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.dsh.course.feignClient.activity.model.THuiminCard; |
| | | import com.dsh.guns.modular.system.model.CoachChangeStateVO; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author mitao |
| | |
| | | */ |
| | | @FeignClient(value = "mb-cloud-activity") |
| | | public interface HuiminCardClient { |
| | | @PostMapping(value = "/tHuiminCard/save") |
| | | void save(@RequestBody THuiminCard tHuiminCard); |
| | | |
| | | @PostMapping(value = "/tHuiminCard/queryPage") |
| | | Page<THuiminCard> queryPage(@RequestBody THuiminCard tHuiminCard); |
| | | |
| | | @GetMapping(value = "/tHuiminCard/getById") |
| | | THuiminCard getById(@RequestParam("id") Integer id); |
| | | |
| | | @PostMapping(value = "/tHuiminCard/updateById") |
| | | void updateById(@RequestBody THuiminCard tHuiminCard); |
| | | |
| | | |
| | | @GetMapping("/tHuiminCard/deleteById") |
| | | void deleteById(@RequestParam("id") Integer id); |
| | | @PostMapping("/tHuiminCard/deleteBatchIds") |
| | | void deleteBatchIds(@RequestBody List<Integer> ids); |
| | | |
| | | @GetMapping("/tHuiminCard/changeState") |
| | | String changeState(@RequestParam("id")Integer id, @RequestParam("status") Integer status); |
| | | } |