12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- syntax = "proto3";
- import "v1/supplier.proto";
- import "v1/device.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb;
- // 用于生成指定语言go的包名称
- option go_package = "smart-supplier-management/pb";
- service SmartSiteSupplier {
- 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 DeviceDocking(v1.DeviceDockingRequest) returns (v1.DeviceDockingReply) {}
- // 添加设备
- rpc DeviceAdd(v1.DeviceAddRequest) returns (v1.DeviceAddReply) {}
- //拆机申请
- rpc DeviceDel(v1.DeviceDelRequest) returns (v1.DeviceDelReply) {}
- // 设备类型列表
- rpc DeviceTypeList(v1.DeviceTypeListRequest) returns (v1.DeviceTypeListReply) {}
- // 供应商设备列表
- rpc DeviceList(v1.DeviceListRequest) returns (v1.DeviceListReply) {}
- // 项目列表
- rpc ProjectList(v1.ProjectListRequest) returns (v1.ProjectListReply) {}
- // 公示列表
- rpc Publicity(v1.PublicityRequest) returns (v1.PublicityReply) {}
- // 找回密码
- rpc SetPasswd(v1.SetPasswdRequest) returns (v1.SetPasswdReply) {}
- rpc DeviceDelJobList(v1.DeviceDelJobListRequest) returns (v1.DeviceDelJobListReply) {}
- rpc ProviderApproveStatus(v1.ProviderApproveStatusRequest) returns (v1.ProviderApproveStatusReply) {}
- rpc ChannelList(v1.ChannelListRequest) returns (v1.ChannelListReply) {}
- rpc ChannelAdd(v1.ChannelAddRequest) returns (v1.ChannelAddReply) {}
- rpc ChannelUpdate(v1.ChannelUpdateRequest) returns (v1.ChannelUpdateReply) {}
- rpc VedioAdd(v1.VedioAddRequest) returns (v1.VedioAddReply) {}
- rpc VedioList(v1.VedioListRequest) returns (v1.VedioListReply) {}
- rpc ChangePasswd(v1.ChangePasswdRequest) returns (v1.ChangePasswdReply) {}
- }
|