From 42a2772d1aa7493bcc4fac3e24ee8eda4eebc23d Mon Sep 17 00:00:00 2001 From: xubinbin <1323875150@qq.com> Date: 星期二, 12 十二月 2023 17:09:04 +0800 Subject: [PATCH] bugfix:请求头带token, SecurityUtils 获取用户id 一直为0 #1195 --- src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java b/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java old mode 100644 new mode 100755 index 6dcc515..1a9e3e5 --- a/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java +++ b/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java @@ -1,7 +1,5 @@ package com.genersoft.iot.vmp.service.bean; -import java.util.stream.Stream; - /** * 褰撲笂绾у钩鍙� * @author lin @@ -29,9 +27,14 @@ private String gbId; /** - * 璇锋眰鐨勫钩鍙癐D + * 璇锋眰鐨勫钩鍙板浗鏍囩紪鍙� */ private String platFormId; + + /** + * 璇锋眰鐨勫钩鍙拌嚜澧濱D + */ + private int platFormIndex; /** * 璇锋眰骞冲彴鍚嶇О @@ -47,6 +50,8 @@ * 鐩爣娴佸獟浣撹妭鐐笽D */ private String mediaServerId; + + public static MessageForPushChannel getInstance(int type, String app, String stream, String gbId, String platFormId, String platFormName, String serverId, @@ -126,4 +131,12 @@ public void setMediaServerId(String mediaServerId) { this.mediaServerId = mediaServerId; } + + public int getPlatFormIndex() { + return platFormIndex; + } + + public void setPlatFormIndex(int platFormIndex) { + this.platFormIndex = platFormIndex; + } } -- Gitblit v1.8.0