syntax = "proto3"; import "v1/system.proto"; // package声明符,用来防止不同的消息类型有命名冲突 package pb.service; // 用于生成指定语言go的包名称 option go_package = "property-company-gateway/pb"; // The system service definition. service System { // rpc UserAdd(pb_v1.UserAddRequest) returns (pb_v1.UserAddReply){} rpc UserUpdate(pb_v1.UserUpdateRequest) returns (pb_v1.UserUpdateReply){} rpc UserDel(pb_v1.UserDelRequest) returns (pb_v1.UserDelReply){} rpc UserList(pb_v1.UserListRequest) returns (pb_v1.UserListReply){} rpc UserGardenChange(pb_v1.UserGardenChangeRequest) returns (pb_v1.UserGardenChangeReply){} rpc GroupAdd(pb_v1.GroupAddRequest) returns (pb_v1.GroupAddReply){} rpc SuperGroup(pb_v1.SuperGroupRequest) returns (pb_v1.SuperGroupReply){} rpc GardenInfos(pb_v1.GardenInfosRequest) returns (pb_v1.GardenInfosReply){} rpc GardenList(pb_v1.GardenListRequest) returns (pb_v1.GardenListReply){} rpc GardenAdd(pb_v1.GardenAddRequest) returns (pb_v1.GardenAddReply){} rpc GardenUpdate(pb_v1.GardenUpdateRequest) returns (pb_v1.GardenUpdateReply){} rpc GardenDel(pb_v1.GardenDelRequest) returns (pb_v1.GardenDelReply){} // 修改小区关键信息提交申请 rpc GardenKeyInfoChange(pb_v1.GardenKeyInfoChangeRequest) returns (pb_v1.GardenKeyInfoChangeReply){} // 小区关键信息申请列表 rpc GardenKeyInfoChangeList(pb_v1.GardenKeyInfoChangeListRequest) returns (pb_v1.GardenKeyInfoChangeListReply){} // 设置小区支付商户号 rpc GardenSetMch(pb_v1.GardenSetMchRequest) returns (pb_v1.GardenSetMchReply){} // 设置小区支付模式 rpc GardenSetMchPayMode(pb_v1.GardenSetMchPayModeRequest) returns (pb_v1.GardenSetMchPayModeReply){} // 获取公司下的小区支付模式信息 rpc CompanyMchGardenList(pb_v1.CompanyMchGardenListRequest) returns (pb_v1.CompanyMchGardenListReply){} // 应用相关 rpc ApplicationOrderAdd(pb_v1.ApplicationOrderAddRequest) returns (pb_v1.ApplicationOrderAddReply){} rpc GardenApplicationList(pb_v1.GardenApplicationListRequest) returns (pb_v1.GardenApplicationListReply){} // 套餐相关 rpc PackageOrderAdd(pb_v1.PackageOrderAddRequest) returns (pb_v1.PackageOrderAddReply){} rpc CompanyPackageList(pb_v1.CompanyPackageListRequest) returns (pb_v1.CompanyPackageListReply){} }