123456789101112131415161718192021222324 |
- syntax = "proto3";
- import "v1/property_log.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-log/pb";
- // The system service definition.
- service PropertyLog{
- // 物业公司操作日志
- rpc CompanyLogAdd(pb_v1.CompanyLogAddRequest) returns (pb_v1.CompanyLogAddReply){}
- rpc CompanyLog(pb_v1.CompanyLogRequest) returns (pb_v1.CompanyLogReply){}
- // 物业操作日志
- rpc SystemLogAdd(pb_v1.SystemLogAddRequest) returns (pb_v1.SystemLogAddReply){}
- rpc SystemLog(pb_v1.SystemLogRequest) returns (pb_v1.SystemLogReply){}
- // 运营后台操作日志
- rpc ManagementLogAdd(pb_v1.ManagementLogAddRequest) returns (pb_v1.ManagementLogAddReply){}
- rpc ManagementLog(pb_v1.ManagementLogRequest) returns (pb_v1.ManagementLogReply){}
- }
|