Browse Source

发送消息修改标题提示

8 years ago
parent
commit
0d30063ff6

+ 3 - 2
patient-co-wlyy/src/main/java/com/yihu/wlyy/util/CommonUtil.java

@ -333,8 +333,9 @@ public class CommonUtil {
        }
    }
    public static void main(String args[]){
        changeToMp4("E://mp4/5.mov","e://mp4/7.ogg");
    public static void main(String args[]) throws  Exception{
        getVideoTimeAndImg("E://mp4/5.mov","e://mp4/7.png");
    }

+ 3 - 3
patient-co-wlyy/src/main/java/com/yihu/wlyy/web/patient/consult/ConsultController.java

@ -624,7 +624,7 @@ public class ConsultController extends WeixinBaseController {
                log.setContent(content);
                log.setDel("1");
                log.setChatType(type);
                log.setType(3);
                log.setType(type);
                logs.add(log);
            } else if (type == 2) {
                // 图片消息
@ -643,7 +643,7 @@ public class ConsultController extends WeixinBaseController {
                    log.setContent(image);
                    log.setDel("1");
                    log.setChatType(type);
                    log.setType(2);
                    log.setType(type);
                    logs.add(log);
                }
            } else {
@ -652,7 +652,7 @@ public class ConsultController extends WeixinBaseController {
                log.setContent(content);
                log.setDel("1");
                log.setChatType(type);
                log.setType(1);
                log.setType(type);
                logs.add(log);
                arr = new String[]{content};