注意:weixin.properties重命名为weixin4j.properties

This commit is contained in:
jinyu
2015-06-10 12:35:58 +08:00
parent 2721ae8477
commit c5163e7eac
7 changed files with 26 additions and 22 deletions
+4 -4
View File
@@ -32,9 +32,9 @@ weixin4j-qy
<artifactId>weixin4j-qy</artifactId>
<version>1.4</version>
</dependency>
1.需新增或拷贝`weixin.properties`文件到项目的`classpath`
1.需新增或拷贝`weixin4j.properties`文件到项目的`classpath`
weixin.properties说明
weixin4j.properties说明
| 属性名 | 说明 |
| :---------- | :-------------- |
@@ -48,8 +48,8 @@ weixin.properties说明
"token":"企业号中应用在回调模式下的token",\
"encodingAesKey":"企业号中应用在回调模式下AES加密密钥"}
token_path=/tmp/weixin/token
media_path=/tmp/weixin/media
token_path=/tmp/weixin4j/token
media_path=/tmp/weixin4j/media
2.实例化一个`WeixinProxy`对象,调用API
@@ -5,6 +5,6 @@ account={"id":"wxf10bce209c91d0e2","secret":"cW0OtP7-7YJ7jHKFZaJW2skJHE9bLHadxOs
"encodingAesKey":"BRYfV4zPFUJb3v3MySNBg1ERKE3vyyMRoScu76vFySv"}
# \u4f7f\u7528FileTokenHolder\u65f6token\u7684\u5b58\u653e\u8def\u5f84
token_path=/tmp/weixin/token
token_path=/tmp/weixin4j/token
# \u5a92\u4f53\u6587\u4ef6\u4fdd\u5b58\u8def\u5f84
media_path=/tmp/weixin/media
media_path=/tmp/weixin4j/media