新增冲正被扫支付接口

This commit is contained in:
jy.hu
2014-11-17 20:57:38 +08:00
parent 6e70112b66
commit f4aec9dc99
16 changed files with 375 additions and 150 deletions
+1 -1
View File
@@ -53,6 +53,6 @@ weixin4j-mp-server
* 2014-11-15
+ 解决`server工程`打包不能运行问题(`ClassUtil`无法获取jar包里面的类)
+ 解决`server工程`打包不能运行问题(`ClassUtil`无法获取jar包里面的类)
+ 新增被动消息的`加密`以及回复消息的`解密`
@@ -19,6 +19,14 @@ import com.foxinmy.weixin4j.mp.type.EncryptType;
import com.foxinmy.weixin4j.mp.util.HttpUtil;
import com.foxinmy.weixin4j.util.MessageUtil;
/**
* 微信被动消息处理类
* @className WeixinServerHandler
* @author jy
* @date 2014年11月16日
* @since JDK 1.7
* @see
*/
public class WeixinServerHandler extends
SimpleChannelInboundHandler<HttpWeixinMessage> {
@@ -83,6 +91,7 @@ public class WeixinServerHandler extends
HttpResponse httpResponse = HttpUtil
.createWeixinMessageResponse("");
ctx.write(httpResponse);
return;
}
if (httpMessage.getEncryptType() == EncryptType.RAW) {
HttpResponse httpResponse = HttpUtil
@@ -15,7 +15,7 @@ import com.foxinmy.weixin4j.mp.server.WeixinServerInitializer;
/**
* 微信服务netty启动程序
*
* @className WeixinBootstrap
* @className WeixinServerBootstrap
* @author jy
* @date 2014年10月12日
* @since JDK 1.7