update md
This commit is contained in:
@@ -15,6 +15,26 @@ weixin4j-mp-server
|
||||
--------
|
||||
1.正确填写`weixin.properties`中的属性值
|
||||
|
||||
| 属性名 | 说明 |
|
||||
| :---------- | :-------------- |
|
||||
| account | 微信公众号信息 `json格式` |
|
||||
| token_path | 使用FileTokenHolder时token保存的物理路径 |
|
||||
| qr_path | 调用二维码接口时保存二维码图片的物理路径 |
|
||||
| media_path | 调用媒体接口时保存媒体文件的物理路径 |
|
||||
| bill_path | 调用支付(`V3`)下载对账单接口保存excel文件的物理路径 |
|
||||
|
||||
示例(properties中换行用右斜杆\)
|
||||
|
||||
> account={"appId":"appId","appSecret":"appSecret",
|
||||
> "token":"开放者的token 非必须","openId":"公众号的openid 非必须",
|
||||
> "mchId":"V3.x版本下的微信商户号",
|
||||
> "partnerId":"财付通的商户号","partnerKey":"财付通商户权限密钥Key",
|
||||
> "paySignKey":"微信支付中调用API的密钥"} <br/>
|
||||
> token_path=/tmp/weixin/token <br/>
|
||||
> qr_path=/tmp/weixin/qr <br/>
|
||||
> media_path=/tmp/weixin/media <br/>
|
||||
> bill_path=/tmp/weixin/bill <br/>
|
||||
|
||||
2.mvn package,得到一个zip的压缩包,解压到启动目录(见`src/main/startup.sh/APP_HOME`)
|
||||
|
||||
3.启动netty服务(`com.foxinmy.weixin4j.mp.startup.WeixinServiceBootstrap`)
|
||||
|
||||
Reference in New Issue
Block a user