zhangxu
2022-12-02 596fbb32e2a26579b66818e33ed472d74c1c070a
提交 | 用户 | 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;
6 import org.springframework.cloud.openfeign.FeignClient;
7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9 import org.springframework.web.bind.annotation.RequestParam;
10
11 import java.math.BigDecimal;
12
13 /**
14  * 营销助手
15  */
ad8304 16 @FeignClient(name="marketing-assistant-user",path = "/m_assistant",contextId = "m-order")
e8414d 17 public interface MOrderService {
562cb4 18
F 19     /**
20      * 订单折扣申请
21      */
22     @PostMapping(value = "/order/apply/discount")
23     Result applyOrderDiscount(@RequestBody OrderDiscountDto orderDiscountDto);
24
25
26     /**
27      * 订单取消申请
28      */
29     @PostMapping(value = "/order/apply/cancel")
30     Result applyOrderCancel(@RequestBody OrderCancelDto orderCancelDto);
31
32
33 }