organization_service.proto 1.1 KB

12345678910111213141516171819202122232425262728
  1. syntax = "proto3";
  2. import "v1/organization.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "cp-system-management/pb";
  7. // The organization service definition.
  8. service Organization {
  9. // 初始化数据库
  10. rpc InitOrganizationDb(pb_v1.InitOrganizationDbRequest) returns (pb_v1.InitOrganizationDbReply){}
  11. // 创建机构账号
  12. rpc CreateManagementUser(pb_v1.CreateManagementUserRequest) returns (pb_v1.CreateManagementUserReply){}
  13. // 系统端获取超级管理员账户列表
  14. rpc ManagementSuperUserList(pb_v1.ManagementSuperUserListRequest) returns (pb_v1.ManagementSuperUserListReply){}
  15. // 系统端更新超级管理员用户信息
  16. rpc ManagementSuperUserUpdate(pb_v1.ManagementSuperUserUpdateRequest) returns (pb_v1.ManagementSuperUserUpdateReply){}
  17. // 系统端重置超级管理员密码
  18. rpc ManagementSuperUserResetPassword(pb_v1.ManagementSuperUserResetPasswordRequest) returns (pb_v1.ManagementSuperUserResetPasswordReply){}
  19. }