瀏覽代碼

修复日志问题

locky 1 年之前
父節點
當前提交
ee9ecdbda9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Service/CustomizedPushService.py

+ 1 - 1
Service/CustomizedPushService.py

@@ -141,7 +141,7 @@ class CustomizedPushObject:
                     userID_id=user_id, title=title, msg=msg, jumpLink=link, addTime=n_time, updTime=n_time
                 )
                 info += ',存表成功'
-            CUSTOMIZED_PUSH_LOGGER.info('info'.format(user_id))
+            CUSTOMIZED_PUSH_LOGGER.info(info.format(user_id))
         else:
             CUSTOMIZED_PUSH_LOGGER.info('用户{}推送失败,push_type:{}'.format(user_id, push_type))