zoujiajian 3 tahun lalu
induk
melakukan
8a05985dc0

+ 4 - 4
netflix-service/src/main/java/com/cyksj/service/gzh/factory/EventMsgService.java

@@ -44,11 +44,11 @@ public class EventMsgService implements GzhMsgService {
 	public String handleNotify(MsgEvent msgEvent) {
 		try {
 			if (msgEvent.getEvent() == MsgEvent.Event.subscribe) {
+				String eventKey = msgEvent.getEventKey();
+				if (StrUtil.isNotEmpty(eventKey) && eventKey.contains("qrscene")) {
+					msgEvent.setEventKey(eventKey.substring(eventKey.indexOf("qrscene_") + 8));
+				}
 				if (!saveOrGetUser(msgEvent)) {
-					String eventKey = msgEvent.getEventKey();
-					if (StrUtil.isNotEmpty(eventKey) && eventKey.contains("qrscene")) {
-						msgEvent.setEventKey(eventKey.substring(eventKey.indexOf("qrscene_") + 8));
-					}
 					return "";
 				}
 			} else if (msgEvent.getEvent() == MsgEvent.Event.unsubscribe) {