|
@@ -22,7 +22,9 @@ public class GzhMsgServiceFactory {
|
|
|
|
|
|
|
|
public String handleMsg(MsgEvent msgEvent) {
|
|
public String handleMsg(MsgEvent msgEvent) {
|
|
|
GzhMsgService gzhMsgService = ghzMsgServiceMap.get(msgEvent.getMsgType().name());
|
|
GzhMsgService gzhMsgService = ghzMsgServiceMap.get(msgEvent.getMsgType().name());
|
|
|
-
|
|
|
|
|
|
|
+ if (gzhMsgService == null) {
|
|
|
|
|
+ return "";
|
|
|
|
|
+ }
|
|
|
return gzhMsgService.handleNotify(msgEvent);
|
|
return gzhMsgService.handleNotify(msgEvent);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|