From 7f594dfb0f8e8f0ac1211e546e455157ffbdd882 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期一, 25 十二月 2023 16:19:04 +0800 Subject: [PATCH] 门店积分商城-提交 --- crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java | 45 ++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 40 insertions(+), 5 deletions(-) diff --git a/crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java b/crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java index dbf299c..434de47 100644 --- a/crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java +++ b/crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java @@ -1,8 +1,11 @@ package com.hz.crm.feign; import com.hx.resultTool.Result; -import com.hz.crm.dto.OrderRefundDto; +import com.hz.crm.dto.FOrderPageDto; import com.hz.crm.dto.OrderStatusDto; +import com.hz.crm.dto.order.refund.RefundDto; +import com.hz.crm.vo.order.OrderAddVo; +import com.hz.crm.vo.order.OrderConfirmVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -11,14 +14,46 @@ /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="crm-platform-service",path = "/crmp",contextId = "crm-order") +@FeignClient(name="crm-platform-service",path = "/crm-platform",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) OrderStatusDto orderStatusDto); + Result refundOrder(@RequestBody(required = false) RefundDto refundDto); + + + /**鏌ヨ鍒楄〃 + * + * @param dto dto + * @return refundReturnDto瀹炰綋杞寲 + */ + @RequestMapping("/order/list") + Result list(@RequestBody(required = false) FOrderPageDto dto); + + /** + * 鐢ㄦ埛璐拱璁㈠崟鍒楄〃 + */ + @RequestMapping("/order/user/buy/list") + Result userBuyList(@RequestBody FOrderPageDto dto); + + /** + * 绉垎璁㈠崟纭 + */ + @RequestMapping("/order/integral/confirm-order") + Result integralOrderConfirm(@RequestBody OrderConfirmVo orderConfirmVo); + + /** + * 绉垎璁㈠崟涓嬪崟 + */ + @RequestMapping("/order/integral/add") + Result integralOrderAdd(@RequestBody OrderAddVo orderAddVo); + } -- Gitblit v1.8.0