From bf25295eab74d16fb42db2befdc5933314f513a6 Mon Sep 17 00:00:00 2001 From: kira <164851225@qq.com> Date: Wed, 8 Aug 2018 17:41:49 +0800 Subject: [PATCH] update --- .../manage/customers/core/impls/CouponValidateServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/customers/core/impls/CouponValidateServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/customers/core/impls/CouponValidateServiceImpl.java index 4c9bd25c2..8b929ed12 100644 --- a/src/main/java/au/com/royalpay/payment/manage/customers/core/impls/CouponValidateServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/customers/core/impls/CouponValidateServiceImpl.java @@ -183,7 +183,7 @@ public class CouponValidateServiceImpl implements CouponValidateService { throw new NotFoundException("Merchant Not Found"); } String uri = signUrl(UriComponentsBuilder.fromHttpUrl(CUSTOMER_HOST + "/coupon/"+coupon_id+"/couponLogInfo")); - HttpRequestGenerator gen = new HttpRequestGenerator(uri, RequestMethod.POST); + HttpRequestGenerator gen = new HttpRequestGenerator(uri, RequestMethod.GET); gen.addQueryString("client_moniker",client.getString("client_moniker")); try { HttpRequestResult reqResult = gen.execute();