Your Name vor 3 Jahren
Ursprung
Commit
cc1d4596c1

+ 1
- 1
pom.xml Datei anzeigen

@@ -10,7 +10,7 @@
10 10
 	</parent>
11 11
 	<groupId>com.yunzhi</groupId>
12 12
 	<artifactId>marketing</artifactId>
13
-	<version>v1.0.20</version>
13
+	<version>v1.0.21</version>
14 14
 	<name>marketing-cloud</name>
15 15
 	<description>新联康营销云</description>
16 16
 

+ 8
- 7
src/main/java/com/yunzhi/marketing/service/impl/TaChatServiceImpl.java Datei anzeigen

@@ -143,13 +143,14 @@ public class TaChatServiceImpl extends ServiceImpl<TaChatMapper, TaChat> impleme
143 143
             if (!isOnline && null != from) {
144 144
                 try {
145 145
                     // 推送微信消息
146
-                    String[] its = {
147
-                            String.format("sendId=%s", from.getPersonId()),
148
-                            String.format("sendName=%s", StringUtils.urlEncode(StringUtils.ifNull(from.getName(), from.getNickname()))),
149
-                            String.format("receiverId=%s", to.getPersonId()),
150
-                            String.format("receiverName=%s", StringUtils.urlEncode(StringUtils.ifNull(to.getName(), to.getNickname())))
151
-                    };
152
-                    String link = "/pages/im/index?"+String.join("&", its);
146
+//                    String[] its = {
147
+//                            String.format("sendId=%s", from.getPersonId()),
148
+//                            String.format("sendName=%s", StringUtils.urlEncode(StringUtils.ifNull(from.getName(), from.getNickname()))),
149
+//                            String.format("receiverId=%s", to.getPersonId()),
150
+//                            String.format("receiverName=%s", StringUtils.urlEncode(StringUtils.ifNull(to.getName(), to.getNickname())))
151
+//                    };
152
+//                    String link = "/pages/im/index?"+String.join("&", its);
153
+                    String link = String.format("/pages/chat/chatDetail/index?friend=%s", from.getPersonId());
153 154
 
154 155
                     miniAppService.sendNoticeMessage(to, link, StringUtils.ifNull(from.getName(), from.getNickname()), StringUtils.ifNull(from.getTel(), from.getPhone()), "给您发送了一条新消息, 请查收", LocalDateTime.now());
155 156