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