chenjiahe
2024-06-03 d87373b12e4217fe9a4ddd2aaaee952899ce0d63
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
package com.hz.his.feign.service.phis;
 
import com.hx.resultTool.Result;
import com.hz.his.dto.activity.SecKillActivityDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
/**
 * 秒杀日历活动
 * @USER: fhx
 * @DATE: 2024/5/30
 **/
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "sec-kill-activity")
public interface SSecKillActivityService {
 
    /** 检查是否符合可见人群限制 */
    @PostMapping(value = "/sec/kill/activity/check/see/crowd/limit")
    Result checkSeeCrowdLimit(@RequestBody SecKillActivityDto dto);
 
    /** 检查是否符合可购买人群限制 */
    @PostMapping(value = "/sec/kill/activity/check/buy/crowd/limit")
    Result checkBuyCrowdLimit(@RequestBody SecKillActivityDto dto);
 
}