ANDRU-PC\Andru
2023-06-12 7c7413c4353fb0acc312b8631267117b4770f048
提交 | 用户 | age
e8d588 1 package com.hz.his.feign.service.platform.questionnaire;
W 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.activity.ActivityDto;
b07575 5 import com.hz.phis.dt.reward.QuestionInvestigateDto;
e8d588 6 import com.hz.phis.dt.reward.RewardRecordDto;
W 7 import org.springframework.cloud.openfeign.FeignClient;
8 import org.springframework.web.bind.annotation.PostMapping;
9 import org.springframework.web.bind.annotation.RequestBody;
10
11 import java.util.List;
12
13 /**
14  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
15  */
16 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-reward")
17 public interface SPhipRewardService {
18
19     /**
20      * 查询打赏商品
21      */
22     @PostMapping(value = "/questionnaire/reward-goods/list")
23     Result rewardGoodsList();
24
25
26     /**
27      * 打赏
28      */
29     @PostMapping(value = "/questionnaire/reward")
e627fa 30     Result reward(RewardRecordDto recordDto);
b07575 31
W 32
33     /**
34      * 调查问卷详情
35      */
36     @PostMapping(value = "/questionnaire/investigate/details")
37     Result details(QuestionInvestigateDto questionInvestigateDto);
38
39     /**
40      * 提交调查问卷
41      */
0c3e8c 42     @PostMapping(value = "/questionnaire/investigate/submit")
b07575 43     Result submit(QuestionInvestigateDto questionInvestigateDto);
W 44
e8d588 45 }