提交 | 用户 | age
|
562cb4
|
1 |
package com.hz.his.feign.service.marketing; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.marketing.OrderCancelDto; |
|
5 |
import com.hz.his.dto.marketing.OrderDiscountDto; |
1a904b
|
6 |
import com.hz.his.dto.marketing.OrderPartRefundDto; |
562cb4
|
7 |
import org.springframework.cloud.openfeign.FeignClient; |
F |
8 |
import org.springframework.web.bind.annotation.PostMapping; |
|
9 |
import org.springframework.web.bind.annotation.RequestBody; |
|
10 |
|
|
11 |
/** |
|
12 |
* 营销助手 |
|
13 |
*/ |
ad8304
|
14 |
@FeignClient(name="marketing-assistant-user",path = "/m_assistant",contextId = "m-order") |
e8414d
|
15 |
public interface MOrderService { |
562cb4
|
16 |
|
F |
17 |
/** |
|
18 |
* 订单折扣申请 |
|
19 |
*/ |
|
20 |
@PostMapping(value = "/order/apply/discount") |
|
21 |
Result applyOrderDiscount(@RequestBody OrderDiscountDto orderDiscountDto); |
|
22 |
|
|
23 |
|
|
24 |
/** |
|
25 |
* 订单取消申请 |
|
26 |
*/ |
|
27 |
@PostMapping(value = "/order/apply/cancel") |
|
28 |
Result applyOrderCancel(@RequestBody OrderCancelDto orderCancelDto); |
|
29 |
|
|
30 |
|
1a904b
|
31 |
/** |
F |
32 |
* 订单部分退款申请 |
|
33 |
*/ |
|
34 |
@PostMapping(value = "/order/apply/part/refund") |
|
35 |
Result applyPartRefund(@RequestBody OrderPartRefundDto orderPartRefundDto); |
|
36 |
|
562cb4
|
37 |
} |