Skip to content

Commit

Permalink
feat: 通知
Browse files Browse the repository at this point in the history
  • Loading branch information
Cbgogogog committed Dec 12, 2023
1 parent 0745bb6 commit 1486ffd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions meowchat/system/system.proto
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,13 @@ message ListNotificationResp {
int64 total = 3;
}

message AddNotificationReq {
Notification notification = 1;
}

message AddNotificationResp {
}

message CleanNotificationReq {
string userId = 1;
}
Expand Down Expand Up @@ -368,4 +375,5 @@ service system_rpc {
rpc CleanNotification(CleanNotificationReq) returns (CleanNotificationResp);
rpc CountNotification(CountNotificationReq) returns (CountNotificationResp);
rpc ReadNotification(ReadNotificationReq) returns (ReadNotificationResp);
rpc AddNotification(AddNotificationReq) returns (AddNotificationResp);
}

0 comments on commit 1486ffd

Please sign in to comment.