xubinhui há 3 anos atrás
pai
commit
9d23d9152f

+ 6 - 3
src/main/java/com/izouma/jmrh/service/ConversationService.java

@@ -67,10 +67,13 @@ public class ConversationService {
                                            .sndId(sndId)
                                            .resSndType(snd.getType())
                                            .build();
+            conversationRepo.save(conversationFrom);
+        }else{
+            conversationFrom.setOrgId(snd.getOrgId());
+            conversationFrom.setContact(contact);
+            conversationRepo.save(conversationFrom);
         }
-        conversationFrom.setOrgId(snd.getOrgId());
-        conversationFrom.setContact(contact);
-        conversationRepo.save(conversationFrom);
+
 
         //-------------------------------
 

+ 1 - 1
src/main/jmrh/.env.development

@@ -1 +1 @@
-VUE_APP_BASE_URL=http://test.jmrh.izouma.com/
+VUE_APP_BASE_URL=http://localhost:8081/

+ 1 - 0
src/main/jmrh/.prettierrc.js

@@ -2,6 +2,7 @@ module.exports = {
     printWidth: 120,
     singleQuote: true,
     tabWidth: 4,
+    "endOfLine": "auto",
     overrides: [
         {
             files: '*.html',