Skip to content

Commit

Permalink
新增支付配置泛型, 刷卡付
Browse files Browse the repository at this point in the history
  • Loading branch information
egzosn committed Sep 29, 2018
1 parent 5a07976 commit 7c1dbb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pay-java-wx-youdian/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>pay-java-parent</artifactId>
<groupId>com.egzosn</groupId>
<version>2.10.3-SNAPSHOT</version>
<version>2.11.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>pay-java-wx-youdian</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -30,7 +27,7 @@
* email egzosn@gmail.com
* date 2017/01/12 22:58
*/
public class WxYouDianPayService extends BasePayService {
public class WxYouDianPayService extends BasePayService<WxYouDianPayConfigStorage> {
protected static final Log LOG = LogFactory.getLog(WxYouDianPayService.class);

private final static String URL = "http://life.51youdian.com/Api/CheckoutCounter/";
Expand Down Expand Up @@ -351,7 +348,8 @@ public BufferedImage genQrPay(PayOrder order) {
*/
@Override
public Map<String, Object> microPay(PayOrder order) {
throw new UnsupportedOperationException();
JSONObject orderInfo = orderInfo(order);
return orderInfo;
}

/**
Expand Down Expand Up @@ -451,11 +449,11 @@ public Map<String, Object> 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);
}

Expand Down

0 comments on commit 7c1dbb6

Please sign in to comment.