-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from xinyutian86/patch-1
将配置文件中的说明从Unicode转至中文
- Loading branch information
Showing
1 changed file
with
25 additions
and
25 deletions.
There are no files selected for viewing
50 changes: 25 additions & 25 deletions
50
weixin4j-example-web/src/main/resources/weixin4j.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,49 @@ | ||
#\u5fae\u4fe1SDK\u914d\u7f6e\u6587\u4ef6 | ||
#\u8bfb\u53d6\u89c4\u5219\uff1a\u4f18\u5148\u8bfb\u53d6System.getProperty() | ||
#\u518d\u4eceweixin4j.properties\u8bfb\u53d6,key | ||
#\u5982\u679cSystem.getProperty()\u4e0eweixin4j.properties\u90fd\u6ca1\u8bbe\u7f6e\uff0c\u5219\u9ed8\u8ba4\u672aNULL | ||
#微信SDK配置文件 | ||
#读取规则:优先读取System.getProperty() | ||
#再从weixin4j.properties读取,key | ||
#如果System.getProperty()与weixin4j.properties都没设置,则默认未NULL | ||
|
||
#\u5f00\u53d1\u8005\u8c03\u8bd5\u8bbe\u7f6e | ||
#开发者调试设置 | ||
weixin4j.debug=true | ||
#\u516c\u4f17\u53f7Token | ||
#公众号Token | ||
weixin4j.token=weixin4j | ||
|
||
#\u516c\u4f17\u53f7\u539f\u59cbID | ||
#公众号原始ID | ||
weixin4j.oauth.originalid= | ||
#\u5f00\u53d1\u8005\u7b2c\u4e09\u65b9\u7528\u6237\u552f\u4e00\u51ed\u8bc1 | ||
#开发者第三方用户唯一凭证 | ||
weixin4j.oauth.appid= | ||
#\u5f00\u53d1\u8005\u7b2c\u4e09\u65b9\u7528\u6237\u552f\u4e00\u51ed\u8bc1\u5bc6\u94a5 | ||
#开发者第三方用户唯一凭证密钥 | ||
weixin4j.oauth.secret= | ||
#\u6d88\u606f\u52a0\u5bc6\u65b9\u5f0f 0:\u660e\u6587\u6a21\u5f0f(\u9ed8\u8ba4), 1:\u517c\u5bb9\u6a21\u5f0f, 2:\u5b89\u5168\u6a21\u5f0f(\u63a8\u8350) | ||
#消息加密方式 0:明文模式(默认), 1:兼容模式, 2:安全模式(推荐) | ||
weixin4j.oauth.encodingtype=0 | ||
#\u6d88\u606f\u52a0\u5bc6\u5bc6\u94a5(43\u4f4d\u5b57\u7b26\u7ec4\u6210A-Za-z0-9) | ||
#消息加密密钥(43位字符组成A-Za-z0-9) | ||
weixin4j.oauth.encodingaeskey=0123456789abcedfghijklmnopqrstuvwxyzZXCVBNM | ||
#\u7f51\u9875\u5b89\u5168\u6388\u6743URL | ||
#网页授权URL | ||
weixin4j.oauth.url= | ||
|
||
#\u516c\u4f17\u5e73\u53f0\u63a5\u53e3\u57df\u540d | ||
#\u901a\u7528\u57df\u540d(api.weixin.qq.com)\uff0c\u4f7f\u7528\u8be5\u57df\u540d\u5c06\u8bbf\u95ee\u5b98\u65b9\u6307\u5b9a\u5c31\u8fd1\u7684\u63a5\u5165\u70b9\uff1b | ||
#\u4e0a\u6d77\u57df\u540d(sh.api.weixin.qq.com)\uff0c\u4f7f\u7528\u8be5\u57df\u540d\u5c06\u8bbf\u95ee\u4e0a\u6d77\u7684\u63a5\u5165\u70b9\uff1b | ||
#\u6df1\u5733\u57df\u540d(sz.api.weixin.qq.com)\uff0c\u4f7f\u7528\u8be5\u57df\u540d\u5c06\u8bbf\u95ee\u6df1\u5733\u7684\u63a5\u5165\u70b9\uff1b | ||
#\u9999\u6e2f\u57df\u540d(hk.api.weixin.qq.com)\uff0c\u4f7f\u7528\u8be5\u57df\u540d\u5c06\u8bbf\u95ee\u9999\u6e2f\u7684\u63a5\u5165\u70b9\u3002 | ||
#公众平台接口域名 | ||
#通用域名(api.weixin.qq.com),使用该域名将访问官方指定就近的接入点; | ||
#上海域名(sh.api.weixin.qq.com),使用该域名将访问上海的接入点; | ||
#深圳域名(sz.api.weixin.qq.com),使用该域名将访问深圳的接入点; | ||
#香港域名(hk.api.weixin.qq.com),使用该域名将访问香港的接入点。 | ||
weixin4j.api.domain=api.weixin.qq.com | ||
|
||
#\u5fae\u4fe1\u652f\u4ed8_\u5546\u6237ID | ||
#微信支付_商户ID | ||
weixin4j.pay.partner.id= | ||
#\u5fae\u4fe1\u652f\u4ed8_\u5546\u6237\u5bc6\u94a5 | ||
#微信支付_商户密钥 | ||
weixin4j.pay.partner.key= | ||
#\u5fae\u4fe1\u652f\u4ed8_\u901a\u77e5URL | ||
#微信支付_通知URL | ||
weixin4j.pay.notify_url= | ||
|
||
#\u8fde\u63a5\u8d85\u65f6\u8bbe\u7f6e | ||
#连接超时设置 | ||
weixin4j.http.connectionTimeout=25000 | ||
#\u8bf7\u6c42\u8d85\u65f6\u8bbe\u7f6e | ||
#请求超时设置 | ||
weixin4j.http.readTimeout=25000 | ||
#\u8bc1\u4e66\u8def\u5f84 | ||
#证书路径 | ||
weixin4j.http.cert.path= | ||
weixin4j.http.cert.secret= | ||
|
||
#\u9ed8\u8ba4\u6d88\u606f\u5904\u7406\u51fd\u6570 | ||
#默认消息处理函数 | ||
weixin4j.handler=org.weixin4j.spi.DefaultMessageHandler | ||
weixin4j.message.handler.normal=org.weixin4j.demo.jieru.AtsNormalMessageHandler | ||
weixin4j.message.handler.event=org.weixin4j.demo.jieru.AtsEventMessageHandler | ||
weixin4j.message.handler.event=org.weixin4j.demo.jieru.AtsEventMessageHandler |