From b41a6efe17ba61d150c5a9b7309651cebae54e0d Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期五, 03 九月 2021 16:40:43 +0800
Subject: [PATCH] 韩迷TV相关bug修改,电视直播完善(后台+前端API)

---
 src/main/java/com/yeshi/buwan/controller/api/PushController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/controller/api/PushController.java b/src/main/java/com/yeshi/buwan/controller/api/PushController.java
index 096c186..4281859 100644
--- a/src/main/java/com/yeshi/buwan/controller/api/PushController.java
+++ b/src/main/java/com/yeshi/buwan/controller/api/PushController.java
@@ -47,7 +47,7 @@
 
 
         PushDeviceToken token = new PushDeviceToken();
-        token.setType(type);
+        token.setType(PushDeviceToken.PushPlatform.valueOf(type));
         token.setDetailSystemId(acceptData.getDetailSystem().getId());
         token.setUtdId(acceptData.getUtdId());
         token.setToken(regId);

--
Gitblit v1.8.0