|
@@ -1,5 +1,5 @@
|
|
|
syntax = "proto3";
|
|
|
-
|
|
|
+import "google/protobuf/struct.proto";
|
|
|
package bxsubscribe;
|
|
|
option go_package = "./bxsubscribe";
|
|
|
|
|
@@ -336,7 +336,7 @@ message PushSet{
|
|
|
int64 isMailShow=8;
|
|
|
}
|
|
|
message SetPushSetReq{
|
|
|
- string appId = 1;
|
|
|
+ string appId = 1;
|
|
|
int64 entId = 2;
|
|
|
int64 entUserId = 3;
|
|
|
string userId = 4;
|
|
@@ -350,6 +350,45 @@ message SetPushSetReq{
|
|
|
int64 interested = 12;
|
|
|
}
|
|
|
|
|
|
+message StaffSubscribeReq {
|
|
|
+ string appId = 1;
|
|
|
+ int64 entId = 2;
|
|
|
+ int64 entUserId = 3;
|
|
|
+ string query = 4;
|
|
|
+ int64 eStatus = 6;
|
|
|
+ int64 pStatus = 7;
|
|
|
+ int64 pageNum = 8;
|
|
|
+ int64 pageSize =9;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+message StaffSubscribeListResp {
|
|
|
+ int64 err_code = 1;
|
|
|
+ string err_msg = 2;
|
|
|
+ int64 total =3;
|
|
|
+ repeated StaffSubscribe items = 4;
|
|
|
+}
|
|
|
+message StaffSubscribe {
|
|
|
+ string name = 1;
|
|
|
+ int64 id = 2;
|
|
|
+ string phone = 3;
|
|
|
+ int64 eStatus = 4;
|
|
|
+ int64 pStatus = 5;
|
|
|
+}
|
|
|
+
|
|
|
+message StaffSubscribeDetailReq{
|
|
|
+ int64 entId = 1;
|
|
|
+ int64 entUserId = 2;
|
|
|
+ int64 staffId =3;
|
|
|
+}
|
|
|
+
|
|
|
+message StaffSubscribeDetail{
|
|
|
+ int64 err_code = 1;
|
|
|
+ string err_msg = 2;
|
|
|
+ bytes data =3;
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
|
|
|
service Bxsubscribe {
|
|
|
//获取订阅推送列表
|
|
@@ -380,4 +419,8 @@ service Bxsubscribe {
|
|
|
rpc getPushSet(GetPushSetReq)returns(GetPushSetResp);
|
|
|
//用户推送设置修改
|
|
|
rpc setPushSet(SetPushSetReq)returns(StatusResp);
|
|
|
+ //查看企业员工用户订阅
|
|
|
+ rpc getStaffSubscribeList(StaffSubscribeReq)returns(StaffSubscribeListResp);
|
|
|
+ //查看企业员工用户订阅详情
|
|
|
+ rpc getStaffSubscribeDetail(StaffSubscribeDetailReq)returns(StaffSubscribeDetail);
|
|
|
}
|