From dc72b94ed88585df5d49a90a39f723cd0364bb6d Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期三, 24 四月 2024 18:07:15 +0800 Subject: [PATCH] Merge branch 'master-fwq-积分抵扣现金' into master-test --- crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 51 insertions(+), 3 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 04f5ee8..9c16821 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,12 @@ package com.hz.crm.feign; import com.hx.resultTool.Result; +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 com.hz.crm.vo.order.OrderPayVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -11,14 +15,58 @@ /** * 杩欓噷杩欎釜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) 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-crm/confirm-order") + Result integralOrderConfirm(@RequestBody OrderConfirmVo orderConfirmVo); + + /** + * 绉垎璁㈠崟涓嬪崟缁勫悎鏁版嵁 + */ + @RequestMapping("/order/integral/get/add-data") + Result getAddOrderData(@RequestBody OrderAddVo orderAddVo); + + /** + * 绉垎璁㈠崟涓嬪崟 + */ + @RequestMapping("/order/integral-crm/add") + Result integralOrderAdd(@RequestBody OrderAddVo orderAddVo); + + /** + * 璁㈠崟鏀粯 + */ + @RequestMapping("/pay/unify-create") + Result orderPay(@RequestBody OrderPayVo orderPayVo); + } -- Gitblit v1.8.0