提交 | 用户 | 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; |
|
5 |
import com.hz.phis.dt.reward.RewardRecordDto; |
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
|
7 |
import org.springframework.web.bind.annotation.PostMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestBody; |
|
9 |
|
|
10 |
import java.util.List; |
|
11 |
|
|
12 |
/** |
|
13 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
14 |
*/ |
|
15 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-reward") |
|
16 |
public interface SPhipRewardService { |
|
17 |
|
|
18 |
/** |
|
19 |
* 查询打赏商品 |
|
20 |
*/ |
|
21 |
@PostMapping(value = "/questionnaire/reward-goods/list") |
|
22 |
Result rewardGoodsList(); |
|
23 |
|
|
24 |
|
|
25 |
/** |
|
26 |
* 打赏 |
|
27 |
*/ |
|
28 |
@PostMapping(value = "/questionnaire/reward") |
|
29 |
Result reward(List<RewardRecordDto> list); |
|
30 |
} |