Skip to content

Commit

Permalink
modify wechat4j.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
chengn committed Jan 30, 2015
1 parent 5948e90 commit 17dd978
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 6 deletions.
11 changes: 8 additions & 3 deletions META-INF/wechat4j.properties.sample
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ wechat.encodingaeskey=
#wechat appid
wechat.appid=appid
#wechat app secret
wechat.appsecret=secret
wechat.appsecret=appsecret

#wechat access token server ,when you save in db,must implement you server class
#this class must extend org.sword.wechat4j.token.DbAccessTokenServer
#if no this property,then token server is default memery accesstoken server()
#this class must extend org.sword.wechat4j.token.server.CustomerServer
#if no this property,then token server is default memery accesstoken server
wechat.accessToken.server.class=

#jsapi_ticket customer server class name,
#this class must extend org.sword.wechat4j.token.server.CustomerServer
#if no this property,then ticket server is default memery ticket server
wechat.ticket.jsapi.server.class=
11 changes: 8 additions & 3 deletions src/wechat4j.properties.sample
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ wechat.encodingaeskey=
#wechat appid
wechat.appid=appid
#wechat app secret
wechat.appsecret=secret
wechat.appsecret=appsecret

#wechat access token server ,when you save in db,must implement you server class
#this class must extend org.sword.wechat4j.token.DbAccessTokenServer
#if no this property,then token server is default memery accesstoken server()
#this class must extend org.sword.wechat4j.token.server.CustomerServer
#if no this property,then token server is default memery accesstoken server
wechat.accessToken.server.class=

#jsapi_ticket customer server class name,
#this class must extend org.sword.wechat4j.token.server.CustomerServer
#if no this property,then ticket server is default memery ticket server
wechat.ticket.jsapi.server.class=
22 changes: 22 additions & 0 deletions test/wechat4j.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

#you server url
wechat.url=
#you wechat token
wechat.token=token
#message secret key,if don't set then message is cleartext
wechat.encodingaeskey=

#wechat appid
wechat.appid=appid
#wechat app secret
wechat.appsecret=appsecret

#wechat access token server ,when you save in db,must implement you server class
#this class must extend org.sword.wechat4j.token.server.CustomerServer
#if no this property,then token server is default memery accesstoken server
wechat.accessToken.server.class=

#jsapi_ticket customer server class name,
#this class must extend org.sword.wechat4j.token.server.CustomerServer
#if no this property,then ticket server is default memery ticket server
wechat.ticket.jsapi.server.class=

0 comments on commit 17dd978

Please sign in to comment.