chenjiahe
2024-08-01 e74dade001072c3a0e93cd6d698df4df2262f5a3
提交 | 用户 | age
bb0cb6 1 package com.hz.his.feign.service.phis;
C 2
3 import com.hx.resultTool.Result;
56916a 4 import com.hz.phis.vo.order.OrderActivityCountVo;
bb0cb6 5 import com.hz.phis.vo.order.OrderActivityVo;
C 6 import org.springframework.cloud.openfeign.FeignClient;
7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9
10 /**订单活动查询
11  * @author CJH
12  */
13 @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "order-activity")
14 public interface SOrderActivityService {
15
16     /**
56916a 17      * 根据活动编码查询是否执行+是否消费+赠送数据
bb0cb6 18      * @param orderActivityVo 对象
C 19      * @return Result 使用OrderActivityReturnVo转化
20      */
21     @PostMapping(value = "/order/activity/execute")
22     Result getActivityExecute(@RequestBody OrderActivityVo orderActivityVo);
23
49fb1b 24     /**
56916a 25      * 获取用户活动返赠的数据
F 26      * @param orderActivityVo 对象
27      * @return Result 使用OrderActivityReturnVo转化
49fb1b 28      */
F 29     @PostMapping(value = "/order/activity/increment/money")
56916a 30     Result getActivityReturn(@RequestBody OrderActivityCountVo orderActivityVo);
49fb1b 31
bb0cb6 32 }