|
@ -51,7 +51,8 @@ public class WeiXinEventProcess {
|
|
public String eventProcess(Map<String, String> message) throws Exception {
|
|
public String eventProcess(Map<String, String> message) throws Exception {
|
|
String result = "";
|
|
String result = "";
|
|
String event = message.get("Event");
|
|
String event = message.get("Event");
|
|
|
|
|
|
|
|
JSONObject rs = new JSONObject(message);
|
|
|
|
System.out.println(rs.toString());
|
|
switch (event) {
|
|
switch (event) {
|
|
case WeiXinMessageUtils.EVENT_TYPE_SCAN: // 扫描二维码事件
|
|
case WeiXinMessageUtils.EVENT_TYPE_SCAN: // 扫描二维码事件
|
|
result = scanEventProcess(message);
|
|
result = scanEventProcess(message);
|