diff --git a/META-INF/wechat4j.properties.sample b/META-INF/wechat4j.properties.sample index 81ceeb9..2108c4a 100644 --- a/META-INF/wechat4j.properties.sample +++ b/META-INF/wechat4j.properties.sample @@ -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= \ No newline at end of file diff --git a/src/wechat4j.properties.sample b/src/wechat4j.properties.sample index 81ceeb9..2108c4a 100644 --- a/src/wechat4j.properties.sample +++ b/src/wechat4j.properties.sample @@ -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= \ No newline at end of file diff --git a/test/wechat4j.properties b/test/wechat4j.properties new file mode 100644 index 0000000..2108c4a --- /dev/null +++ b/test/wechat4j.properties @@ -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= \ No newline at end of file