fwq
2022-10-19 c65bc942b517f48b9758b5fb0fa1681b4f16e549
crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java
@@ -1,9 +1,8 @@
package com.hz.crm.feign;
import com.hx.resultTool.Result;
import com.hz.crm.dto.OrderRefundDto;
import com.hz.crm.dto.OrderStatusDto;
import com.hz.crm.dto.RefundDto;
import com.hz.crm.dto.order.refund.RefundDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
@@ -15,11 +14,15 @@
@FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-order")
public interface FOderService {
    /*取消订单*/
    /**取消订单*/
    @PostMapping(value = "/order/cancel")
    Result cancelOrder( @RequestBody(required = false) OrderStatusDto orderStatusDto);
    /*退款*/
    /**退款
     *
     * @param refundDto
     * @return refundReturnDto实体转化
     */
    @RequestMapping("/order/refund")
    Result refundOrder(@RequestBody(required = false) RefundDto refundDto);
}