微信支付相关代码独立成一个子模块
This commit is contained in:
16
weixin-java-pay/src/test/resources/logback-test.xml
Normal file
16
weixin-java-pay/src/test/resources/logback-test.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<configuration>
|
||||
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<!-- encoders are assigned the type
|
||||
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="debug">
|
||||
<appender-ref ref="STDOUT"/>
|
||||
</root>
|
||||
|
||||
<logger name="com.github.binarywang.wxpay" level="debug"/>
|
||||
</configuration>
|
||||
13
weixin-java-pay/src/test/resources/test-config.sample.xml
Normal file
13
weixin-java-pay/src/test/resources/test-config.sample.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<xml>
|
||||
<appId>公众号appid</appId>
|
||||
<mchId>微信商户平台ID</mchId>
|
||||
<mchKey>商户平台设置的API密钥</mchKey>
|
||||
<!---
|
||||
以下为官网文档所提供样例参数,仅供部分接口测试使用
|
||||
<appId>wxd930ea5d5a258f4f</appId>
|
||||
<mchId>10000100</mchId>
|
||||
<mchKey>192006250b4c09247ec02edce69f6a2d</mchKey>
|
||||
-->
|
||||
<keyPath>商户平台的证书文件地址</keyPath>
|
||||
<openid>某个openId</openid>
|
||||
</xml>
|
||||
Reference in New Issue
Block a user