fwq
2024-06-14 5d542ef50426fdaf5c06d09f6a7c5d13529ea4ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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);
 
}