wangrenhuang
2022-08-08 d768d607e24628420c6416ac955e491e8d747d9d
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
package com.hz.his.feign.service.phis;
 
import com.hx.resultTool.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
/**
 * @ClassName SActivityController
 * @Description 活动规则
 * @Author Wrh
 * @Date 2022/8/8 17:36
 * @Version 1.0
 */
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "activity")
public interface SActivityController {
 
    /**
     * 获取渠道详情
     * @param id 活动标识
     * @return Result
     */
    @PostMapping(value = "/activity/detail")
    Result getActivityDetail(@RequestParam("id") String id);
 
}