wangrenhuang
2022-11-03 6a70cd9c8b211c456efb626a9edfcaa38ccd08e2
提交 | 用户 | 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 }