pay模块使用jodd-http方式,已支持证书方式 (#189)

weixin-java-tools pay use jodd-http
This commit is contained in:
crskyp
2017-04-19 11:25:50 +08:00
committed by Binary Wang
parent 1efec6bc75
commit a8d443e13b
2 changed files with 14 additions and 29 deletions

View File

@ -1,5 +1,7 @@
package com.github.binarywang.wxpay.service.impl;
import static org.testng.Assert.*;
import com.github.binarywang.utils.qrcode.QrcodeUtils;
import com.github.binarywang.wxpay.bean.request.*;
import com.github.binarywang.wxpay.bean.result.*;
@ -10,15 +12,14 @@ import com.google.inject.Inject;
import me.chanjar.weixin.common.exception.WxErrorException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testng.annotations.*;
import org.testng.annotations.Guice;
import org.testng.annotations.Test;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Map;
import static org.testng.Assert.*;
/**
* 测试支付相关接口
* Created by Binary Wang on 2016/7/28.
@ -264,4 +265,5 @@ public class WxPayServiceImplTest {
this.logger.info(result);
}
}