| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- syntax = "proto3";
- package api.wx;
- //import "google/api/annotations.proto";
- //import "google/protobuf/struct.proto";
- import "google/protobuf/empty.proto";
- import "api/common/common.proto";
- option go_package = "git.ikuban.com/server/pw-protobuf/api/wx;wx";
- option java_multiple_files = true;
- option java_package = "api.wx";
- service Wx {
- // 定时发送签到提醒
- rpc CronSignInUser (google.protobuf.Empty) returns (google.protobuf.Empty){};
- // 定时发送未读消息提醒
- rpc CronSendUnreadTemplate (google.protobuf.Empty) returns (google.protobuf.Empty){};
- // 未读发送模板消息
- rpc SendNewMessageUnreadReminder (SendNewMessageUnreadReminderRequest) returns (google.protobuf.Empty){};
- // 好友访问提醒
- rpc SendNewVisitorTemplateReminder (common.PersonIDParam) returns (google.protobuf.Empty){};
- // 移除用户已读
- rpc ReduceUserUnread (ReduceUserUnreadRequest) returns (google.protobuf.Empty){};
- // 获取key对应的参数
- rpc GetUserMsgByKey (GetUserMsgByKeyRequest) returns (GetUserMsgByKeyReply){};
- }
- message GetUserMsgByKeyRequest{
- string key = 1;
- }
- message GetUserMsgByKeyReply{
- string partnerId = 1;
- string openId = 2;
- string appId = 3;
- string appName = 4;
- }
- message ReduceUserUnreadRequest{
- int64 accountId = 1;
- string personId = 2;
- }
- message SendNewMessageUnreadReminderRequest{
- string personId = 1;
- string sendPersonId = 2;
- }
|