From 7def9937241d8c5fada7a63c8a0fd144bf0c05ff Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 23 三月 2021 19:32:21 +0800
Subject: [PATCH] IOS上线版本资源隐藏

---
 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