From 7c1dbb62427cc343e7e3e73740c2a39d8cc96d1d Mon Sep 17 00:00:00 2001 From: egan Date: Sat, 29 Sep 2018 18:07:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=94=AF=E4=BB=98=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=B3=9B=E5=9E=8B=EF=BC=8C=20=E5=88=B7=E5=8D=A1?= =?UTF-8?q?=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pay-java-wx-youdian/pom.xml | 2 +- .../pay/wx/youdian/api/WxYouDianPayService.java | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/pay-java-wx-youdian/pom.xml b/pay-java-wx-youdian/pom.xml index a99f5082..318c3326 100644 --- a/pay-java-wx-youdian/pom.xml +++ b/pay-java-wx-youdian/pom.xml @@ -5,7 +5,7 @@ pay-java-parent com.egzosn - 2.10.3-SNAPSHOT + 2.11.1-SNAPSHOT 4.0.0 pay-java-wx-youdian diff --git a/pay-java-wx-youdian/src/main/java/com/egzosn/pay/wx/youdian/api/WxYouDianPayService.java b/pay-java-wx-youdian/src/main/java/com/egzosn/pay/wx/youdian/api/WxYouDianPayService.java index 73b5bdec..8e8861ad 100644 --- a/pay-java-wx-youdian/src/main/java/com/egzosn/pay/wx/youdian/api/WxYouDianPayService.java +++ b/pay-java-wx-youdian/src/main/java/com/egzosn/pay/wx/youdian/api/WxYouDianPayService.java @@ -3,10 +3,7 @@ import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.egzosn.pay.common.api.BasePayService; -import com.egzosn.pay.common.api.Callback; -import com.egzosn.pay.common.api.PayConfigStorage; import com.egzosn.pay.common.bean.*; -import com.egzosn.pay.common.bean.outbuilder.JsonBuilder; import com.egzosn.pay.common.bean.result.PayError; import com.egzosn.pay.common.exception.PayErrorException; import com.egzosn.pay.common.http.HttpConfigStorage; @@ -30,7 +27,7 @@ * email egzosn@gmail.com * date 2017/01/12 22:58 */ -public class WxYouDianPayService extends BasePayService { +public class WxYouDianPayService extends BasePayService { protected static final Log LOG = LogFactory.getLog(WxYouDianPayService.class); private final static String URL = "http://life.51youdian.com/Api/CheckoutCounter/"; @@ -351,7 +348,8 @@ public BufferedImage genQrPay(PayOrder order) { */ @Override public Map microPay(PayOrder order) { - throw new UnsupportedOperationException(); + JSONObject orderInfo = orderInfo(order); + return orderInfo; } /** @@ -451,11 +449,11 @@ public Map secondaryInterface(Object tradeNoOrBillDate, String o - public WxYouDianPayService(PayConfigStorage payConfigStorage) { + public WxYouDianPayService(WxYouDianPayConfigStorage payConfigStorage) { super(payConfigStorage); } - public WxYouDianPayService(PayConfigStorage payConfigStorage, HttpConfigStorage configStorage) { + public WxYouDianPayService(WxYouDianPayConfigStorage payConfigStorage, HttpConfigStorage configStorage) { super(payConfigStorage, configStorage); }