提交 | 用户 | age
|
6b9aaf
|
1 |
package com.hz.his.feign.service.platform.refund; |
C |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.aduit.AduitDto; |
|
5 |
import com.hz.his.dto.order.*; |
|
6 |
import com.hz.his.vo.order.refund.RefundCancelVo; |
|
7 |
import com.hz.his.vo.order.refund.card.RefundUserCardVo; |
|
8 |
import org.springframework.cloud.openfeign.FeignClient; |
|
9 |
import org.springframework.web.bind.annotation.PostMapping; |
|
10 |
import org.springframework.web.bind.annotation.RequestBody; |
|
11 |
import org.springframework.web.bind.annotation.RequestHeader; |
|
12 |
|
|
13 |
/**用户卡项退款feign |
|
14 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
15 |
*/ |
|
16 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "card-refund") |
|
17 |
public interface SCardRefundService { |
|
18 |
|
|
19 |
/** |
|
20 |
* 开放平台-获取用户卡项条目可退款金额 |
|
21 |
* data 实体转化用(RefundUserCardVo) |
|
22 |
*/ |
|
23 |
@PostMapping(value = "/card/refund/get/amount") |
|
24 |
Result getRefundAmount(@RequestBody RefundUserCardVo refundUserCardVo); |
|
25 |
|
|
26 |
/** |
|
27 |
* 开放平台-确认提交退款 |
|
28 |
* data 无实体转化用 |
|
29 |
*/ |
|
30 |
@PostMapping(value = "/confirm") |
|
31 |
Result refundConfirm(@RequestBody RefundUserCardVo refundUserCardVo); |
|
32 |
|
|
33 |
} |