Преглед на файлове

修改vivo消息推送类型

guanhailong преди 2 години
родител
ревизия
c36aa6664d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      Service/PushService.py

+ 2 - 2
Service/PushService.py

@@ -297,11 +297,11 @@ class PushObject:
                 .reg_id(token_val) \
                 .title(msg_title) \
                 .content(msg_text) \
-                .push_mode(1) \
+                .push_mode(0) \
                 .notify_type(3) \
                 .skip_type(1) \
                 .request_id(m_code) \
-                .classification(0) \
+                .classification(1) \
                 .client_custom_map(**push_data) \
                 .message_dict()
             rec = sender_send.send(message)