1
0
mirror of synced 2025-12-28 22:31:14 +08:00

微信支付相关代码独立成一个子模块

This commit is contained in:
Binary Wang
2017-03-05 22:49:17 +08:00
parent 8a270c8f7e
commit eee954b736
49 changed files with 1596 additions and 1308 deletions

View 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>

View 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>