package com.hz.his.feign.service.phis; import com.hx.resultTool.Result; import com.hz.phis.vo.order.OrderActivityCountVo; import com.hz.phis.vo.order.OrderActivityVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; /**订单活动查询 * @author CJH */ @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "order-activity") public interface SOrderActivityService { /** * 根据活动编码查询是否执行+是否消费+赠送数据 * @param orderActivityVo 对象 * @return Result 使用OrderActivityReturnVo转化 */ @PostMapping(value = "/order/activity/execute") Result getActivityExecute(@RequestBody OrderActivityVo orderActivityVo); /** * 获取用户活动返赠的数据 * @param orderActivityVo 对象 * @return Result 使用OrderActivityReturnVo转化 */ @PostMapping(value = "/order/activity/increment/money") Result getActivityReturn(@RequestBody OrderActivityCountVo orderActivityVo); }