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