From 49bc44bd6bd5fcaf343def9d05b2c09c943d28e2 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Mon, 17 Jul 2023 14:27:36 +0800 Subject: [PATCH] =?UTF-8?q?1.bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/feign/IDistributionParcelListClient.java | 4 ++-- .../distribution/feign/DistributionParcelListClient.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/feign/IDistributionParcelListClient.java b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/feign/IDistributionParcelListClient.java index 86e487926..b6c791544 100644 --- a/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/feign/IDistributionParcelListClient.java +++ b/blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/feign/IDistributionParcelListClient.java @@ -60,7 +60,7 @@ public interface IDistributionParcelListClient { @PostMapping(API_PREFIX+"/add") boolean add(@RequestBody DistributionParcelListEntity entity); - @PostMapping(API_PREFIX+"/submitNumByOrderIdAndName") - boolean submitNumByOrderIdAndName(Long articleId, String productName, Integer num); + @GetMapping(API_PREFIX+"/submitNumByOrderIdAndName") + boolean submitNumByOrderIdAndName(@RequestParam Long articleId, @RequestParam String productName, @RequestParam Integer num); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/feign/DistributionParcelListClient.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/feign/DistributionParcelListClient.java index 1a2e79680..8a8ea291a 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/feign/DistributionParcelListClient.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/feign/DistributionParcelListClient.java @@ -75,7 +75,7 @@ public class DistributionParcelListClient implements IDistributionParcelListClie } @Override - @PostMapping(API_PREFIX+"/submitNumByOrderIdAndName") + @GetMapping(API_PREFIX+"/submitNumByOrderIdAndName") public boolean submitNumByOrderIdAndName(Long articleId, String productName, Integer num) { return distributionParcelListService.submitNumByOrderIdAndName(articleId,productName,num); }