123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- syntax = "proto3";
- import "v1/enterprise.proto";
- import "v1/project.proto";
- import "v1/device.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb;
- // 用于生成指定语言go的包名称
- option go_package = "smart-enterprise-management/pb";
- service SmartSiteEnterprise {
- // 企业注册需政府审批
- rpc Register(v1.RegisterRequest) returns (v1.RegisterReply) {}
- // 企业登录
- rpc Login(v1.LoginRequest) returns (v1.LoginReply) {}
- rpc EmailPrepare(v1.EmailPrepareRequest) returns (v1.EmailPrepareReply) {}
- rpc EmailUpdate(v1.EmailUpdateRequest) returns (v1.EmailUpdateReply) {}
- rpc PhoneUpdate(v1.PhoneUpdateRequest) returns (v1.PhoneUpdateReply) {}
- rpc UserInfo(v1.UserInfoRequest) returns (v1.UserInfoReply) {}
- // 公示列表
- rpc Publicity(v1.PublicityRequest) returns (v1.PublicityReply) {}
- // 企业忘记密码设置密码
- rpc SetPasswd(v1.SetPasswdRequest) returns (v1.SetPasswdReply) {}
- // 添加工程
- rpc ProjectAdd(v1.ProjectAddRequest) returns (v1.ProjectAddReply) {}
- // 项目列表
- rpc ProjectList(v1.ProjectListRequest) returns (v1.ProjectListReply) {}
- // 项目账号列表
- rpc ProjectUserList(v1.ProjectUserListRequest) returns (v1.ProjectUserListReply) {}
- // 项目账号启停用
- rpc EnableProjectUser(v1.EnableProjectUserRequest) returns (v1.EnableProjectUserReply) {}
- // 企业注册状态
- rpc CompanyApproveStatus(v1.CompanyApproveStatusRequest) returns (v1.CompanyApproveStatusReply) {}
- // 企业修改密码
- rpc ChangePasswd(v1.ChangePasswdRequest) returns (v1.ChangePasswdReply) {}
- // 设备类型列表
- rpc DeviceTypeList(v1.DeviceTypeListRequest) returns (v1.DeviceTypeListReply) {}
- // 平台支持的设备类型
- rpc DeviceAllTypeList(v1.DeviceAllTypeListRequest) returns (v1.DeviceAllTypeListReply) {}
- // 设备列表
- rpc DeviceList(v1.DeviceListRequest) returns (v1.DeviceListReply) {}
- // 视频通道列表
- rpc ChannelList(v1.ChannelListRequest) returns (v1.ChannelListReply) {}
- // 视频设备列表
- rpc VedioList(v1.VedioListRequest) returns (v1.VedioListReply) {}
- // 更新项目
- rpc ProjectUpdate(v1.ProjectUpdateRequest) returns (v1.ProjectUpdateReply) {}
- // 获取省市区
- rpc ProjectDistrict(v1.ProjectDistrictRequest) returns (v1.ProjectDistrictReply) {}
- // 重置项目账号密码
- rpc ProjectUserPasswordReset(v1.ProjectUserPasswordResetRequest) returns (v1.ProjectUserPasswordResetReply) {}
- rpc ProjectInfo(v1.ProjectInfoRequest) returns (v1.ProjectInfoReply) {}
- rpc ProjectDel(v1.ProjectDelRequest) returns (v1.ProjectDelReply) {}
- rpc ProjectFinish(v1.ProjectFinishRequest) returns (v1.ProjectFinishReply) {}
- }
|