From b7d12efea6d29ea5a3e0ed4c51a628f90d255337 Mon Sep 17 00:00:00 2001 From: wzh <zhuhaow@phiskin.com> Date: 星期二, 02 八月 2022 12:00:22 +0800 Subject: [PATCH] 修改同步订单接口 --- phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java index 430e340..15c0ae2 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipOrderService.java @@ -1,11 +1,12 @@ package com.hz.his.feign.service.platform; +import com.hx.phiappt.model.order.OrdersTotal; +import com.hx.phip.dto.order.OrderCreateDto; +import com.hx.phip.dto.order.OrderPayDto; import com.hx.resultTool.Result; -import com.hz.his.dto.card.CardQueryDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestParam; /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� @@ -17,30 +18,30 @@ * 寮�鏀惧钩鍙�-鏂�-鏂板璁㈠崟鏇存柊鑷硃his */ @PostMapping(value = "/newSync/order/add") - Result createOrder(@RequestParam("params") String params); + Result createOrder(@RequestBody OrderCreateDto params); /** * 寮�鏀惧钩鍙�-鏂�-璁㈠崟鐘舵�佹洿鏂拌嚦phis */ @PostMapping(value = "/newSync/order/orderUpdate") - Result updateOrderStatus(@RequestParam("params") String params); + Result updateOrderStatus(@RequestBody OrdersTotal params); /** * 寮�鏀惧钩鍙�-鏂�-璁㈠崟缁撹处鏇存柊鑷硃his */ @PostMapping(value = "/newSync/order/pay") - Result payOrderSuc(@RequestParam("params") String params); + Result payOrderSuc(@RequestBody OrderPayDto params); /** * 寮�鏀惧钩鍙�-鏂�-璁㈠崟閫�娆炬洿鏂拌嚦phis */ @PostMapping(value = "/newSync/order/refund") - Result refundOrder(@RequestParam("params") String params); + Result refundOrder(String params); /** * 寮�鏀惧钩鍙�-鏂�-鍙栨秷璁㈠崟鏇存柊鑷硃his */ @PostMapping(value = "/newSync/order/cancel") - Result cancelOrder(@RequestParam("params") String params); + Result cancelOrder(String params); } \ No newline at end of file -- Gitblit v1.8.0