Browse Source

推送类型uid

linhaohong 7 months ago
parent
commit
448f20ea85
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Service/DevicePushService.py

+ 2 - 1
Service/DevicePushService.py

@@ -419,7 +419,7 @@ class DevicePushService:
                 #     push_type, kwargs['aws_s3_client'], kwargs['bucket'], key,
                 #     kwargs['uid'], kwargs['appBundleId'], kwargs['token_val'], kwargs['event_type'], kwargs['n_time'],
                 #     push_kwargs['msg_title'], push_kwargs['msg_text'], kwargs['channel'], kwargs['storage_location']))
-
+                LOGGING.info('uid:{}, kwargs:{}'.format(uid, kwargs))
                 push_thread = threading.Thread(target=cls.async_send_picture_push, args=(
                     push_type, kwargs['aws_s3_client'], kwargs['bucket'], key,
                     kwargs['uid'], kwargs['appBundleId'], kwargs['token_val'], kwargs['event_type'], kwargs['n_time'],
@@ -453,6 +453,7 @@ class DevicePushService:
                         push_result = PushObject.android_jpush(**kwargs)
 
                 elif push_type == 3:
+                    LOGGING.info('uid:{}, kwargs:{}'.format(uid, kwargs))
                     if kwargs["app_bundle_id"]:
                         huawei_push_object = HuaweiPushObject(appBundleId=kwargs["app_bundle_id"])
                     else: