chenjunkai %!s(int64=5) %!d(string=hai) anos
pai
achega
5bb8b7fdb6
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Controller/DetectController.py

+ 3 - 1
Controller/DetectController.py

@@ -147,9 +147,11 @@ class NotificationView(View):
                 ))
 
                 if is_sys_msg:
+                    sys_msg_text = self.get_msg_text(channel=channel, n_time=n_time, lang=lang, tz=tz,
+                                                 event_type=event_type,is_sys=1)
                     sys_msg_list.append(SysMsgModel(
                         userID_id=userID_id,
-                        msg=msg_text,
+                        msg=sys_msg_text,
                         # msg='{msg_title} {msg_text}'.format(msg_title=msg_title, msg_text=msg_text),
                         addTime=now_time,
                         updTime=now_time,