| | |
| | | import com.dsh.course.feignClient.activity.model.IntegralGoodsOfSearch; |
| | | import com.dsh.course.feignClient.activity.model.PointMercharsPayedVo; |
| | | import com.dsh.course.feignClient.activity.model.PointMercharsVo; |
| | | import com.dsh.guns.modular.system.model.CoachChangeStateVO; |
| | | import com.dsh.guns.modular.system.model.PointMerchandiseIncomeVo; |
| | | 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.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @FeignClient(value = "mb-cloud-activity") |
| | | public interface PointMercharsClient { |
| | | /** |
| | | * 门票上下架 state=1 上架 state=2 下架 |
| | | */ |
| | | @RequestMapping("/base/pointMerchars/changeState") |
| | | Object changeState(@RequestBody CoachChangeStateVO dto); |
| | | /** |
| | | * 门票管理查询 |
| | | * @param ofSearch |
| | | * @return |
| | | */ |
| | | @PostMapping("/base/pointMerchars/ticketList") |
| | | List<Map<String,Object>> ticketList(@RequestBody IntegralGoodsOfSearch ofSearch); |
| | | /** |
| | | * 获取积分商票消费金额 |
| | | */ |
| | | @RequestMapping("/base/pointMerchars/getAmount") |
| | | List<PointMerchandiseIncomeVo> getAmount(); |
| | | |
| | | @PostMapping("/base/pointMerchars/queryGoodsListSearch") |
| | | List<Map<String,Object>> getIntegralGoodsListOfSearch(@RequestBody IntegralGoodsOfSearch ofSearch); |
| | |
| | | |
| | | @PostMapping("/base/pointMerchars/queryUserPayedGoodsList") |
| | | List<Map<String, Object>> queryUserPayedGoodsList(@RequestBody PointMercharsPayedVo pointMercharsPayedVo); |
| | | |
| | | @PostMapping("/base/pointMerchars/writeOffGoodsStatus") |
| | | boolean writeOffGoodsStatus(@RequestBody Map<String, Object> map); |
| | | |
| | | @PostMapping("/base/pointMerchars/updateGoodsDetail") |
| | | boolean updateGoodsDetail(@RequestBody Map<String, Object> stringObjectHashMap); |
| | | |
| | | } |