rx
2023-09-20 0559035e70ea4cc36011ae37db18ca2805028689
提交 | 用户 | age
a8b60b 1 package com.hz.his.feign.service.platform;
F 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.marketing.MarketActivityDto;
5 import org.springframework.cloud.openfeign.FeignClient;
6 import org.springframework.web.bind.annotation.PostMapping;
7 import org.springframework.web.bind.annotation.RequestBody;
8
9 /**
10  * 营销活动service
11  * @USER: fhx
12  * @DATE: 2023/8/2
13  **/
14 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-market-activity")
15 public interface SPhipMarketActivityService {
16
17     /** 列表 */
18     @PostMapping(value = "/market/activity/list")
19     Result list(@RequestBody MarketActivityDto dto);
20
21     /** 详情 */
22     @PostMapping(value = "/market/activity/detail")
23     Result detail(@RequestBody MarketActivityDto dto);
24
25     /** 领取优惠券 */
26     @PostMapping(value = "/market/activity/receiveCoupon")
27     Result receiveCoupon(@RequestBody MarketActivityDto dto);
28
29 }