system_service.proto 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. syntax = "proto3";
  2. import "v1/system.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-company-gateway/pb";
  7. // The system service definition.
  8. service System {
  9. //
  10. rpc UserAdd(pb_v1.UserAddRequest) returns (pb_v1.UserAddReply){}
  11. rpc UserUpdate(pb_v1.UserUpdateRequest) returns (pb_v1.UserUpdateReply){}
  12. rpc UserDel(pb_v1.UserDelRequest) returns (pb_v1.UserDelReply){}
  13. rpc UserList(pb_v1.UserListRequest) returns (pb_v1.UserListReply){}
  14. rpc UserGardenChange(pb_v1.UserGardenChangeRequest) returns (pb_v1.UserGardenChangeReply){}
  15. rpc GroupAdd(pb_v1.GroupAddRequest) returns (pb_v1.GroupAddReply){}
  16. rpc SuperGroup(pb_v1.SuperGroupRequest) returns (pb_v1.SuperGroupReply){}
  17. rpc GardenInfos(pb_v1.GardenInfosRequest) returns (pb_v1.GardenInfosReply){}
  18. rpc GardenList(pb_v1.GardenListRequest) returns (pb_v1.GardenListReply){}
  19. rpc GardenAdd(pb_v1.GardenAddRequest) returns (pb_v1.GardenAddReply){}
  20. rpc GardenUpdate(pb_v1.GardenUpdateRequest) returns (pb_v1.GardenUpdateReply){}
  21. rpc GardenDel(pb_v1.GardenDelRequest) returns (pb_v1.GardenDelReply){}
  22. // 修改小区关键信息提交申请
  23. rpc GardenKeyInfoChange(pb_v1.GardenKeyInfoChangeRequest) returns (pb_v1.GardenKeyInfoChangeReply){}
  24. // 小区关键信息申请列表
  25. rpc GardenKeyInfoChangeList(pb_v1.GardenKeyInfoChangeListRequest) returns (pb_v1.GardenKeyInfoChangeListReply){}
  26. // 设置小区支付商户号
  27. rpc GardenSetMch(pb_v1.GardenSetMchRequest) returns (pb_v1.GardenSetMchReply){}
  28. // 设置小区支付模式
  29. rpc GardenSetMchPayMode(pb_v1.GardenSetMchPayModeRequest) returns (pb_v1.GardenSetMchPayModeReply){}
  30. // 获取公司下的小区支付模式信息
  31. rpc CompanyMchGardenList(pb_v1.CompanyMchGardenListRequest) returns (pb_v1.CompanyMchGardenListReply){}
  32. // 应用相关
  33. rpc ApplicationOrderAdd(pb_v1.ApplicationOrderAddRequest) returns (pb_v1.ApplicationOrderAddReply){}
  34. rpc GardenApplicationList(pb_v1.GardenApplicationListRequest) returns (pb_v1.GardenApplicationListReply){}
  35. // 套餐相关
  36. rpc PackageOrderAdd(pb_v1.PackageOrderAddRequest) returns (pb_v1.PackageOrderAddReply){}
  37. rpc CompanyPackageList(pb_v1.CompanyPackageListRequest) returns (pb_v1.CompanyPackageListReply){}
  38. }