123456789101112131415161718192021222324252627282930313233343536373839404142 |
- syntax = "proto3";
- import "v1/common.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-system/pb";
- // The system service definition.
- service Common {
- // 权限总列表
- rpc SystemPermissionList(pb_v1.SystemPermissionListRequest) returns (pb_v1.SystemPermissionListReply){}
- rpc SystemPermissionsNotTree(pb_v1.SystemPermissionsNotTreeRequest) returns (pb_v1.SystemPermissionsNotTreeReply){}
- // 添加权限节点
- rpc SystemPermissionAdd(pb_v1.SystemPermissionAddRequest) returns (pb_v1.SystemPermissionAddReply){}
- // 更新权限节点
- rpc SystemPermissionUpdate(pb_v1.SystemPermissionUpdateRequest) returns (pb_v1.SystemPermissionUpdateReply){}
- // 删除权限节点
- rpc SystemPermissionDel(pb_v1.SystemPermissionDelRequest) returns (pb_v1.SystemPermissionDelReply){}
- // 省市区
- rpc ProvinceCityArea(pb_v1.ProvinceCityAreaRequest) returns (pb_v1.ProvinceCityAreaReply){}
- // 街道社区
- rpc StreetCommittee(pb_v1.StreetCommitteeRequest) returns (pb_v1.StreetCommitteeReply){}
- // 对象存储删除无用的数据
- rpc OssObjDelNotExist(pb_v1.OssObjDelNotExistRequest) returns (pb_v1.OssObjDelNotExistReply){}
- // 对象存储添加到公共区
- rpc OssObjAdd(pb_v1.OssObjAddRequest) returns (pb_v1.OssObjAddReply){}
- // 应用
- rpc ApplicationList(pb_v1.ApplicationListRequest) returns (pb_v1.ApplicationListReply){}
- rpc ApplicationPermissions(pb_v1.ApplicationPermissionsRequest) returns (pb_v1.ApplicationPermissionsReply){}
- rpc ApplicationInfo(pb_v1.ApplicationInfoRequest) returns (pb_v1.ApplicationInfoReply){}
- // 套餐
- rpc PackageList(pb_v1.PackageListRequest) returns (pb_v1.PackageListReply){}
- rpc PackageInfo(pb_v1.PackageInfoRequest) returns (pb_v1.PackageInfoReply){}
- // 短信套餐
- rpc MsgPackageInfo(pb_v1.MsgPackageInfoRequest) returns (pb_v1.MsgPackageInfoReply){}
- }
|