ANDRU-PC\Andru
2023-07-04 29b248ecc7f45968e9b36305f909601c44c3dbf8
提交 | 用户 | 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;
039978 7 import com.hz.his.dto.marketing.OrderPayMarketingDto;
562cb4 8 import org.springframework.cloud.openfeign.FeignClient;
F 9 import org.springframework.web.bind.annotation.PostMapping;
10 import org.springframework.web.bind.annotation.RequestBody;
11
12 /**
13  * 营销助手
14  */
ad8304 15 @FeignClient(name="marketing-assistant-user",path = "/m_assistant",contextId = "m-order")
e8414d 16 public interface MOrderService {
562cb4 17
F 18     /**
19      * 订单折扣申请
20      */
21     @PostMapping(value = "/order/apply/discount")
22     Result applyOrderDiscount(@RequestBody OrderDiscountDto orderDiscountDto);
23
24
25     /**
26      * 订单取消申请
27      */
28     @PostMapping(value = "/order/apply/cancel")
29     Result applyOrderCancel(@RequestBody OrderCancelDto orderCancelDto);
30
31
1a904b 32     /**
F 33      * 订单部分退款申请
34      */
35     @PostMapping(value = "/order/apply/part/refund")
36     Result applyPartRefund(@RequestBody OrderPartRefundDto orderPartRefundDto);
37
039978 38     /**
F 39      * 订单支付申请
40      */
41     @PostMapping(value = "/order/apply/order/pay")
42     Result orderPay(@RequestBody OrderPayMarketingDto orderPayMarketingDto);
43
562cb4 44 }