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