lisy
2023-07-21 c37acfa5fd70c1d658295f5635b630d3beef7ce0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.dsh.other.feignclient;
 
import com.dsh.other.model.vo.questionVo.QuestionDetailsVo;
import com.dsh.other.model.vo.questionVo.QuestionIns;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
import java.util.List;
 
 
@FeignClient(value = "mb-cloud-other")
public interface QuestionClient {
 
    @PostMapping("/base/notice/queryQuestionDetails")
    List<QuestionIns> getSysQuestionDetails();
 
    @PostMapping("/base/notice/queryQuestion")
    QuestionIns getSysQuestionBuId(@RequestParam("quesId") Integer quesId);
 
}