mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-20 22:27:47 +00:00
update modules/ai: add 1 mod 2 files
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2024-08-31 16:23:54
|
||||
* @LastEditors: jackning 270580156@qq.com
|
||||
* @LastEditTime: 2025-03-09 22:24:57
|
||||
* @LastEditTime: 2025-03-11 15:44:06
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
@@ -17,9 +17,11 @@ import java.time.LocalDateTime;
|
||||
// import java.util.Date;
|
||||
|
||||
import com.alibaba.fastjson2.JSON;
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import com.bytedesk.core.config.BytedeskEventPublisher;
|
||||
import com.bytedesk.core.enums.ClientEnum;
|
||||
import com.bytedesk.core.rbac.user.UserProtobuf;
|
||||
import com.bytedesk.core.rbac.user.UserTypeEnum;
|
||||
import com.bytedesk.core.rbac.user.UserUtils;
|
||||
import com.bytedesk.core.thread.ThreadEntity;
|
||||
import com.bytedesk.core.thread.ThreadProtobuf;
|
||||
@@ -76,6 +78,9 @@ public class MessageUtils {
|
||||
return message;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public static void notifyUser(MessageProtobuf messageProtobuf) {
|
||||
String json = JSON.toJSONString(messageProtobuf);
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user