update md
This commit is contained in:
@@ -41,7 +41,7 @@ weixin4j-mp-server
|
||||
|
||||
2.mvn package,得到一个zip的压缩包,解压到启动目录(见`src/main/startup.sh/APP_HOME`)
|
||||
|
||||
3.启动netty服务(`com.foxinmy.weixin4j.mp.startup.WeixinServiceBootstrap`)
|
||||
3.启动netty服务(`com.foxinmy.weixin4j.mp.startup.WeixinServerBootstrap`)
|
||||
|
||||
sh startup.sh start
|
||||
|
||||
|
||||
+5
@@ -79,6 +79,11 @@ public class WeixinServerHandler extends
|
||||
BaseResponse response = action.execute(xmlContent);
|
||||
log.info("\n=================message out=================\n{}",
|
||||
response);
|
||||
if (response == null) {
|
||||
HttpResponse httpResponse = HttpUtil
|
||||
.createWeixinMessageResponse("");
|
||||
ctx.write(httpResponse);
|
||||
}
|
||||
if (httpMessage.getEncryptType() == EncryptType.RAW) {
|
||||
HttpResponse httpResponse = HttpUtil
|
||||
.createWeixinMessageResponse(response.toXml());
|
||||
|
||||
Reference in New Issue
Block a user