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);
|
}
|