ANDRU-PC\Andru
2023-09-14 1934da939bf75cf674d7f11cdecfa7760c18f46a
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
package com.hz.his.feign.service.platform;
 
import com.hx.resultTool.Result;
import com.hz.his.dto.marketing.MarketActivityDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
/**
 * 营销活动service
 * @USER: fhx
 * @DATE: 2023/8/2
 **/
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-market-activity")
public interface SPhipMarketActivityService {
 
    /** 列表 */
    @PostMapping(value = "/market/activity/list")
    Result list(@RequestBody MarketActivityDto dto);
 
    /** 详情 */
    @PostMapping(value = "/market/activity/detail")
    Result detail(@RequestBody MarketActivityDto dto);
 
    /** 领取优惠券 */
    @PostMapping(value = "/market/activity/receiveCoupon")
    Result receiveCoupon(@RequestBody MarketActivityDto dto);
 
}