提交 | 用户 | age
|
beca7d
|
1 |
package com.hz.his.feign.service.phis; |
W |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import org.springframework.cloud.openfeign.FeignClient; |
|
5 |
import org.springframework.web.bind.annotation.PostMapping; |
|
6 |
import org.springframework.web.bind.annotation.RequestParam; |
|
7 |
|
|
8 |
/** |
|
9 |
* @ClassName SActivityController |
|
10 |
* @Description 活动规则 |
|
11 |
* @Author Wrh |
|
12 |
* @Date 2022/8/8 17:36 |
|
13 |
* @Version 1.0 |
|
14 |
*/ |
|
15 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "activity") |
|
16 |
public interface SActivityController { |
|
17 |
|
|
18 |
/** |
|
19 |
* 获取渠道详情 |
|
20 |
* @param id 活动标识 |
|
21 |
* @return Result |
|
22 |
*/ |
|
23 |
@PostMapping(value = "/activity/detail") |
|
24 |
Result getActivityDetail(@RequestParam("id") String id); |
|
25 |
|
|
26 |
} |