update md

This commit is contained in:
jy.hu 2014-11-24 14:57:25 +08:00
parent 2cf2227822
commit 8de473cb19
6 changed files with 39 additions and 38 deletions

View File

@ -118,8 +118,6 @@ weixin4j
接下来 接下来
------ ------
* 企业号消息与事件
* 微信小店 * 微信小店
* 微信卡券 * 微信卡券

View File

@ -46,18 +46,19 @@ weixin.properties说明
示例(properties中换行用右斜杆\\) 示例(properties中换行用右斜杆\\)
> account={"id":"appId","secret":"appSecret", account={"id":"appId","secret":"appSecret",\\
> "token":"开放者的token","openId":"公众号的openid 非必须", "token":"开放者的token","openId":"公众号的openid 非必须",\\
> "encodingAesKey":"公众号设置了加密方式且为「安全模式」需要填入", "encodingAesKey":"公众号设置了加密方式且为「安全模式」需要填入",\\
> "mchId":"V3.x版本下的微信商户号", "mchId":"V3.x版本下的微信商户号",\\
> "partnerId":"财付通的商户号","partnerKey":"财付通商户权限密钥Key", "partnerId":"财付通的商户号","partnerKey":"财付通商户权限密钥Key",\\
> "version":"针对微信支付的版本号(2,3),如果不填则按照mchId非空与否来判断", "version":"针对微信支付的版本号(2,3),如果不填则按照mchId非空与否来判断",\\
> "paySignKey":"微信支付中调用API的密钥"} </br> "paySignKey":"微信支付中调用API的密钥"}
> token_path=/tmp/weixin/token </br>
> qr_path=/tmp/weixin/qr </br> token_path=/tmp/weixin/token
> media_path=/tmp/weixin/media </br> qr_path=/tmp/weixin/qr
> bill_path=/tmp/weixin/bill </br> media_path=/tmp/weixin/media
> ca_file=/tmp/weixin/xxxxx.p12 | xxxx.pfx </br> bill_path=/tmp/weixin/bill
ca_file=/tmp/weixin/xxxxx.p12 | xxxx.pfx
2.实例化一个`WeixinProxy`对象,调用API,需要强调的是如果只传入appid,appsecret两个参数将无法调用支付相关接口 2.实例化一个`WeixinProxy`对象,调用API,需要强调的是如果只传入appid,appsecret两个参数将无法调用支付相关接口

View File

@ -26,18 +26,19 @@ weixin4j-mp-server
示例(properties中换行用右斜杆\\) 示例(properties中换行用右斜杆\\)
> account={"id":"appId","secret":"appSecret", account={"id":"appId","secret":"appSecret",\\
> "token":"开放者的token","openId":"公众号的openid 非必须", "token":"开放者的token","openId":"公众号的openid 非必须",\\
> "encodingAesKey":"公众号设置了加密方式且为「安全模式」时需要填入", "encodingAesKey":"公众号设置了加密方式且为「安全模式」时需要填入",\\
> "mchId":"V3.x版本下的微信商户号", "mchId":"V3.x版本下的微信商户号",\\
> "partnerId":"财付通的商户号","partnerKey":"财付通商户权限密钥Key", "partnerId":"财付通的商户号","partnerKey":"财付通商户权限密钥Key",\\
> "version":"针对微信支付的版本号(目前可能为2,3),如果不填则按照mchId非空与否来做判断", "version":"针对微信支付的版本号(目前可能为2,3),如果不填则按照mchId非空与否来做判断",\\
> "paySignKey":"微信支付中调用API的密钥"} </br> "paySignKey":"微信支付中调用API的密钥"}
> token_path=/tmp/weixin/token </br>
> qr_path=/tmp/weixin/qr </br> token_path=/tmp/weixin/token
> media_path=/tmp/weixin/media </br> qr_path=/tmp/weixin/qr
> bill_path=/tmp/weixin/bill </br> media_path=/tmp/weixin/media
> ca_file=/tmp/weixin/xxxxx.p12 | xxxxx.pfx </br> bill_path=/tmp/weixin/bill
ca_file=/tmp/weixin/xxxxx.p12 | xxxxx.pfx
2.mvn package,得到一个zip的压缩包,解压到启动目录(见`src/main/startup.sh/APP_HOME`) 2.mvn package,得到一个zip的压缩包,解压到启动目录(见`src/main/startup.sh/APP_HOME`)

View File

@ -27,11 +27,12 @@ weixin.properties说明
示例(properties中换行用右斜杆\\) 示例(properties中换行用右斜杆\\)
> account={"id":"corpid","secret":"corpsecret", account={"id":"corpid","secret":"corpsecret",\\
> "token":"企业号中应用在回调模式下的token", "token":"企业号中应用在回调模式下的token",\\
> "encodingAesKey":"企业号中应用在回调模式下AES加密密钥"} "encodingAesKey":"企业号中应用在回调模式下AES加密密钥"}
> token_path=/tmp/weixin/token </br>
> media_path=/tmp/weixin/media </br> token_path=/tmp/weixin/token
media_path=/tmp/weixin/media
2.实例化一个`WeixinProxy`对象,调用API 2.实例化一个`WeixinProxy`对象,调用API

View File

@ -2,8 +2,7 @@
# \u4f01\u4e1a\u53f7\u4fe1\u606f # \u4f01\u4e1a\u53f7\u4fe1\u606f
account={"id":"wxd9d9fa581a07cefd","secret":"7tr6FXh2NORvqq1la9CVwxV0xZWGsRSgI6tfqd3-JFc9E2p7UukNNYeKoOTLe0Ru",\ account={"id":"wxd9d9fa581a07cefd","secret":"7tr6FXh2NORvqq1la9CVwxV0xZWGsRSgI6tfqd3-JFc9E2p7UukNNYeKoOTLe0Ru",\
"token":"gp2eGT5mIpngr",\ "token":"gp2eGT5mIpngr",\
"encodingAesKey":"BRYfV4zPFUJb3v3MySNBg1ERKE3vyyMRoScu76vFySv"\ "encodingAesKey":"BRYfV4zPFUJb3v3MySNBg1ERKE3vyyMRoScu76vFySv"}
}
# \u4f7f\u7528FileTokenHolder\u65f6token\u7684\u5b58\u653e\u8def\u5f84 # \u4f7f\u7528FileTokenHolder\u65f6token\u7684\u5b58\u653e\u8def\u5f84
token_path=/tmp/weixin/token token_path=/tmp/weixin/token

View File

@ -23,11 +23,12 @@ weixin4j-qy-server
示例(properties中换行用右斜杆\\) 示例(properties中换行用右斜杆\\)
> account={"id":"corpid","secret":"corpsecret", account={"id":"corpid","secret":"corpsecret",\\
> "token":"企业号中应用在回调模式下的token", "token":"企业号中应用在回调模式下的token",\\
> "encodingAesKey":"企业号中应用在回调模式下AES加密密钥"} "encodingAesKey":"企业号中应用在回调模式下AES加密密钥"}
> token_path=/tmp/weixin/token </br>
> media_path=/tmp/weixin/media </br> token_path=/tmp/weixin/token
media_path=/tmp/weixin/media
2.mvn package,得到一个zip的压缩包,解压到启动目录(见`src/main/startup.sh/APP_HOME`) 2.mvn package,得到一个zip的压缩包,解压到启动目录(见`src/main/startup.sh/APP_HOME`)