提交 | 用户 | age
|
11de66
|
1 |
package com.hz.his.feign.service.phis; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.activity.SecKillActivityDto; |
|
5 |
import org.springframework.cloud.openfeign.FeignClient; |
|
6 |
import org.springframework.web.bind.annotation.PostMapping; |
|
7 |
import org.springframework.web.bind.annotation.RequestBody; |
|
8 |
|
|
9 |
/** |
|
10 |
* 秒杀日历活动 |
|
11 |
* @USER: fhx |
|
12 |
* @DATE: 2024/5/30 |
|
13 |
**/ |
|
14 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "sec-kill-activity") |
|
15 |
public interface SSecKillActivityService { |
|
16 |
|
|
17 |
/** 检查是否符合可见人群限制 */ |
|
18 |
@PostMapping(value = "/sec/kill/activity/check/see/crowd/limit") |
|
19 |
Result checkSeeCrowdLimit(@RequestBody SecKillActivityDto dto); |
|
20 |
|
|
21 |
/** 检查是否符合可购买人群限制 */ |
|
22 |
@PostMapping(value = "/sec/kill/activity/check/buy/crowd/limit") |
|
23 |
Result checkBuyCrowdLimit(@RequestBody SecKillActivityDto dto); |
|
24 |
|
5b42f5
|
25 |
/** 获取活动前用户总数 */ |
F |
26 |
@PostMapping(value = "/sec/kill/activity/after/user/total/num") |
|
27 |
Result afterUserTotalNum(@RequestBody SecKillActivityDto dto); |
|
28 |
|
|
29 |
/** 查询用户是否沉睡客 */ |
|
30 |
@PostMapping(value = "/sec/kill/activity/check/user/is/sleep/member") |
|
31 |
Result checkUserIsSleepMember(@RequestBody SecKillActivityDto dto); |
11de66
|
32 |
} |