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.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);
 
    /** 获取活动前用户总数 */
    @PostMapping(value = "/sec/kill/activity/after/user/total/num")
    Result afterUserTotalNum(@RequestBody SecKillActivityDto dto);
 
    /** 查询用户是否沉睡客 */
    @PostMapping(value = "/sec/kill/activity/check/user/is/sleep/member")
    Result checkUserIsSleepMember(@RequestBody SecKillActivityDto dto);
}