Prechádzať zdrojové kódy

微信模板用下划线分割

trick9191 7 rokov pred
rodič
commit
ba35a7b5a9

+ 2 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/wechat/process/WeiXinEventProcess.java

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