From dde6983def69577df7b97e3aefbcc06f24a1abf4 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期一, 08 一月 2024 16:03:10 +0800 Subject: [PATCH] Merge branch 'master-prod-new' into master-test --- crm-platform-feign/src/main/java/com/hz/crm/feign/FOderService.java | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 44 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..565ee25 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.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,52 @@ /** * 杩欓噷杩欎釜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); + } -- Gitblit v1.8.0