Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wecloud_im_server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewei
wecloud_im_server
Commits
9c20ba54
Commit
9c20ba54
authored
Feb 09, 2022
by
Future
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
好友同意拒绝申请通知栏消息转到pushserver
parent
3235203d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
core/src/main/java/com/wecloud/im/enums/FriendStateEnum.java
+2
-2
core/src/main/java/com/wecloud/im/friend/service/FriendEventSender.java
+3
-1
No files found.
core/src/main/java/com/wecloud/im/enums/FriendStateEnum.java
View file @
9c20ba54
...
@@ -30,11 +30,11 @@ import lombok.Getter;
...
@@ -30,11 +30,11 @@ import lombok.Getter;
public
enum
FriendStateEnum
implements
BaseEnum
{
public
enum
FriendStateEnum
implements
BaseEnum
{
/**
/**
*
禁用
*
待确认
**/
**/
UNSURE
(
1
,
"待确认"
),
UNSURE
(
1
,
"待确认"
),
/**
/**
*
启用
*
已确认
**/
**/
CONFORM
(
2
,
"已确认"
),
CONFORM
(
2
,
"已确认"
),
REJECT
(
3
,
"已拒绝"
),
REJECT
(
3
,
"已拒绝"
),
...
...
core/src/main/java/com/wecloud/im/friend/service/FriendEventSender.java
View file @
9c20ba54
...
@@ -96,6 +96,8 @@ public class FriendEventSender {
...
@@ -96,6 +96,8 @@ public class FriendEventSender {
PushVO
pushVO
=
new
PushVO
();
PushVO
pushVO
=
new
PushVO
();
pushVO
.
setTitle
(
FRIEND_APPROVE_TITLE
);
pushVO
.
setTitle
(
FRIEND_APPROVE_TITLE
);
pushVO
.
setSubTitle
(
isAgree
?
FRIEND_APPROVE_TITLE_AGREE
:
FRIEND_APPROVE_TITLE_REJECT
);
pushVO
.
setSubTitle
(
isAgree
?
FRIEND_APPROVE_TITLE_AGREE
:
FRIEND_APPROVE_TITLE_REJECT
);
systemPush
.
push
(
pushVO
,
receiveClient
,
app
);
// systemPush.push(pushVO, receiveClient, app);
PushDTO
pushDTO
=
mqSender
.
buildPushDto
(
pushVO
,
receiveClient
,
app
);
mqSender
.
synSend
(
MqConstant
.
Topic
.
IM_MSG_TOPIC
,
MqConstant
.
Tag
.
IM_MSG_TAG
,
pushDTO
);
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment