|
@@ -19,11 +19,14 @@ message SubscribeInfosReq {
|
|
|
string appId = 13;
|
|
|
string price = 14;
|
|
|
string fileExists = 15;
|
|
|
- string entUserId = 16;
|
|
|
- string deptId = 17;
|
|
|
- int64 newUserId = 18;
|
|
|
- bool IsEnt = 19;
|
|
|
- string SelectIds = 20;
|
|
|
+ string isRead = 16; //是否已读
|
|
|
+ string staffs = 17;//分发人员
|
|
|
+ string source = 18; //信息来源
|
|
|
+ string entUserId = 19;
|
|
|
+ string deptId = 20;
|
|
|
+ int64 newUserId = 21;
|
|
|
+ bool IsEnt = 22;
|
|
|
+ string SelectIds = 23;
|
|
|
}
|
|
|
|
|
|
message SubscribeInfosResp {
|
|
@@ -185,6 +188,14 @@ message GetDistributorReq{
|
|
|
string queryType = 6;
|
|
|
}
|
|
|
|
|
|
+message MsgDistributorReq{
|
|
|
+ string appId = 1;
|
|
|
+ string entId = 2;
|
|
|
+ string entUserId = 3;
|
|
|
+ string messageId = 4;//分发信息
|
|
|
+ string staffs = 5; //分发的员工
|
|
|
+}
|
|
|
+
|
|
|
message KeyResp {
|
|
|
int64 err_code = 1;
|
|
|
string err_msg = 2;
|
|
@@ -216,10 +227,10 @@ message ViewStatusResp {
|
|
|
repeated UserStatus items = 3;//分发人员
|
|
|
}
|
|
|
message UserStatus {
|
|
|
- string name =1;
|
|
|
- int64 id =2;
|
|
|
- int64 isvisit =3;
|
|
|
- int64 visittime =4;
|
|
|
+ string name = 1;
|
|
|
+ int64 id = 2;
|
|
|
+ int64 isvisit = 3;
|
|
|
+ int64 visittime = 4;
|
|
|
}
|
|
|
|
|
|
|
|
@@ -236,7 +247,9 @@ service Bxsubscribe {
|
|
|
rpc SetRead(SetReadReq)returns(StatusResp);
|
|
|
//关键词获取
|
|
|
rpc GetKey(GetKeyReq)returns(KeyResp);
|
|
|
- //手动分发人员
|
|
|
+ //信息分发
|
|
|
+ rpc MsgDistributor(MsgDistributorReq)returns(StatusResp);
|
|
|
+ //手动分发人员查询
|
|
|
rpc GetDistributor(GetDistributorReq)returns(DistributorResp);
|
|
|
//查看状态
|
|
|
rpc GetViewStatus(GetViewStatusReq)returns(ViewStatusResp);
|