go_dreamfactory/pb/proto/notify/notify_msg.proto
2022-07-14 17:45:55 +08:00

25 lines
900 B
Protocol Buffer

syntax = "proto3";
option go_package = ".;pb";
import "errorcode.proto";
import "notify/notify_db.proto";
import "google/protobuf/any.proto";
//统一错误码推送
message NotifyErrorNotifyPush {
string ReqMainType = 1; // 请求协议模块 模块名 例如:user 对应项目中 user的模块
string ReqSubType = 2; // 请求协议函数 例如:login 对应项目中 user的模块中
// api_login 的处理函数
ErrorCode Code = 3; // 执行返回错误码 对应 errorcode.proto 枚举
string Message = 4; // 错误消息
google.protobuf.Any arg = 5; //参数信息
google.protobuf.Any Data = 6; // 错误数据
}
//获取系统公告 请求
message NotifyGetListReq {}
//获取系统公告 回应
message NotifyGetListResp {
int64 LastReadTime = 1; //最后一次阅读时间
repeated DBSystemNotify SysNotify = 2; //公告列表
}