|
@@ -857,6 +857,148 @@ func (x *HaspowersResp) GetPowers() []string {
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
+type WaitEmpowerDetailReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
|
|
|
+ FunctionCode string `protobuf:"bytes,2,opt,name=function_code,json=functionCode,proto3" json:"function_code,omitempty"` //功能代码
|
|
|
+ EntId int64 `protobuf:"varint,4,opt,name=ent_id,json=entId,proto3" json:"ent_id,omitempty"` //企业id
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailReq) Reset() {
|
|
|
+ *x = WaitEmpowerDetailReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_resource_proto_msgTypes[11]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*WaitEmpowerDetailReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_resource_proto_msgTypes[11]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use WaitEmpowerDetailReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*WaitEmpowerDetailReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_resource_proto_rawDescGZIP(), []int{11}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailReq) GetAppid() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Appid
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailReq) GetFunctionCode() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.FunctionCode
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailReq) GetEntId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.EntId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type WaitEmpowerDetailResp struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ StartTime string `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` //开始时间
|
|
|
+ EndTime string `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` //结束时间
|
|
|
+ EmpowerCount int64 `protobuf:"varint,3,opt,name=empower_count,json=empowerCount,proto3" json:"empower_count,omitempty"` //授权数量
|
|
|
+ UseCount int64 `protobuf:"varint,4,opt,name=use_count,json=useCount,proto3" json:"use_count,omitempty"` //使用数量
|
|
|
+ LimitStrategy string `protobuf:"bytes,5,opt,name=limit_strategy,json=limitStrategy,proto3" json:"limit_strategy,omitempty"` //频率限制
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailResp) Reset() {
|
|
|
+ *x = WaitEmpowerDetailResp{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_resource_proto_msgTypes[12]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailResp) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*WaitEmpowerDetailResp) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailResp) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_resource_proto_msgTypes[12]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use WaitEmpowerDetailResp.ProtoReflect.Descriptor instead.
|
|
|
+func (*WaitEmpowerDetailResp) Descriptor() ([]byte, []int) {
|
|
|
+ return file_resource_proto_rawDescGZIP(), []int{12}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailResp) GetStartTime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.StartTime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailResp) GetEndTime() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.EndTime
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailResp) GetEmpowerCount() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.EmpowerCount
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailResp) GetUseCount() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.UseCount
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *WaitEmpowerDetailResp) GetLimitStrategy() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.LimitStrategy
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
var File_resource_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_resource_proto_rawDesc = []byte{
|
|
@@ -962,30 +1104,52 @@ var file_resource_proto_rawDesc = []byte{
|
|
|
0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72,
|
|
|
0x49, 0x64, 0x22, 0x27, 0x0a, 0x0d, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52,
|
|
|
0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
|
|
|
- 0x03, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x32, 0xd7, 0x02, 0x0a, 0x08,
|
|
|
- 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x50, 0x6f, 0x77, 0x65,
|
|
|
- 0x72, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x09, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52,
|
|
|
- 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x0a, 0x43, 0x68, 0x65,
|
|
|
- 0x63, 0x6b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0e, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50,
|
|
|
- 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21,
|
|
|
- 0x0a, 0x09, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x2e, 0x44, 0x65,
|
|
|
- 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73,
|
|
|
- 0x70, 0x12, 0x1f, 0x0a, 0x08, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x12, 0x0c, 0x2e,
|
|
|
- 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65,
|
|
|
- 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x09, 0x52, 0x65, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12,
|
|
|
- 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52,
|
|
|
- 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x07, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b,
|
|
|
- 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65,
|
|
|
- 0x73, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x45, 0x6d, 0x70, 0x6f,
|
|
|
- 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71,
|
|
|
- 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0b, 0x45, 0x6d, 0x70, 0x6f, 0x77,
|
|
|
- 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0f, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72,
|
|
|
- 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65,
|
|
|
- 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x48, 0x61, 0x73,
|
|
|
- 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12, 0x0d, 0x2e, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65,
|
|
|
- 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72,
|
|
|
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
|
|
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x03, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x22, 0x68, 0x0a, 0x14, 0x57,
|
|
|
+ 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
|
|
|
+ 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x75, 0x6e,
|
|
|
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x15,
|
|
|
+ 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
|
+ 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xba, 0x01, 0x0a, 0x15, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d,
|
|
|
+ 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
|
+ 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19,
|
|
|
+ 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x6d, 0x70,
|
|
|
+ 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
|
|
+ 0x52, 0x0c, 0x65, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b,
|
|
|
+ 0x0a, 0x09, 0x75, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6c,
|
|
|
+ 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x05, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65,
|
|
|
+ 0x67, 0x79, 0x32, 0x9b, 0x03, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12,
|
|
|
+ 0x1f, 0x0a, 0x0b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x09,
|
|
|
+ 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70,
|
|
|
+ 0x12, 0x23, 0x0a, 0x0a, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0e,
|
|
|
+ 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05,
|
|
|
+ 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x09, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69,
|
|
|
+ 0x6f, 0x6e, 0x12, 0x0d, 0x2e, 0x44, 0x65, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
|
|
+ 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x08, 0x52, 0x65, 0x63, 0x68,
|
|
|
+ 0x61, 0x72, 0x67, 0x65, 0x12, 0x0c, 0x2e, 0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52,
|
|
|
+ 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x09, 0x52, 0x65, 0x45,
|
|
|
+ 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72,
|
|
|
+ 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x07, 0x45, 0x6d,
|
|
|
+ 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52,
|
|
|
+ 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x43, 0x61, 0x6e,
|
|
|
+ 0x63, 0x65, 0x6c, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70,
|
|
|
+ 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30,
|
|
|
+ 0x0a, 0x0b, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0f, 0x2e,
|
|
|
+ 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x10,
|
|
|
+ 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
|
|
|
+ 0x12, 0x2a, 0x0a, 0x09, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12, 0x0d, 0x2e,
|
|
|
+ 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x48,
|
|
|
+ 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x42, 0x0a, 0x11,
|
|
|
+ 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69,
|
|
|
+ 0x6c, 0x12, 0x15, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44,
|
|
|
+ 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x45,
|
|
|
+ 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70,
|
|
|
+ 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
@@ -1000,19 +1164,21 @@ func file_resource_proto_rawDescGZIP() []byte {
|
|
|
return file_resource_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
|
+var file_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
|
var file_resource_proto_goTypes = []interface{}{
|
|
|
- (*Empower)(nil), // 0: Empower
|
|
|
- (*PowerReq)(nil), // 1: PowerReq
|
|
|
- (*CheckPowerReq)(nil), // 2: CheckPowerReq
|
|
|
- (*DeductionReq)(nil), // 3: DeductionReq
|
|
|
- (*RechargeReq)(nil), // 4: RechargeReq
|
|
|
- (*EmpowerReq)(nil), // 5: EmpowerReq
|
|
|
- (*EmpowerListReq)(nil), // 6: EmpowerListReq
|
|
|
- (*EmpowerListResp)(nil), // 7: EmpowerListResp
|
|
|
- (*Resp)(nil), // 8: Resp
|
|
|
- (*HaspowersReq)(nil), // 9: HaspowersReq
|
|
|
- (*HaspowersResp)(nil), // 10: HaspowersResp
|
|
|
+ (*Empower)(nil), // 0: Empower
|
|
|
+ (*PowerReq)(nil), // 1: PowerReq
|
|
|
+ (*CheckPowerReq)(nil), // 2: CheckPowerReq
|
|
|
+ (*DeductionReq)(nil), // 3: DeductionReq
|
|
|
+ (*RechargeReq)(nil), // 4: RechargeReq
|
|
|
+ (*EmpowerReq)(nil), // 5: EmpowerReq
|
|
|
+ (*EmpowerListReq)(nil), // 6: EmpowerListReq
|
|
|
+ (*EmpowerListResp)(nil), // 7: EmpowerListResp
|
|
|
+ (*Resp)(nil), // 8: Resp
|
|
|
+ (*HaspowersReq)(nil), // 9: HaspowersReq
|
|
|
+ (*HaspowersResp)(nil), // 10: HaspowersResp
|
|
|
+ (*WaitEmpowerDetailReq)(nil), // 11: WaitEmpowerDetailReq
|
|
|
+ (*WaitEmpowerDetailResp)(nil), // 12: WaitEmpowerDetailResp
|
|
|
}
|
|
|
var file_resource_proto_depIdxs = []int32{
|
|
|
0, // 0: EmpowerListResp.list:type_name -> Empower
|
|
@@ -1025,17 +1191,19 @@ var file_resource_proto_depIdxs = []int32{
|
|
|
5, // 7: Resource.CancelEmpower:input_type -> EmpowerReq
|
|
|
6, // 8: Resource.EmpowerList:input_type -> EmpowerListReq
|
|
|
9, // 9: Resource.Haspowers:input_type -> HaspowersReq
|
|
|
- 8, // 10: Resource.PowerHandle:output_type -> Resp
|
|
|
- 8, // 11: Resource.CheckPower:output_type -> Resp
|
|
|
- 8, // 12: Resource.Deduction:output_type -> Resp
|
|
|
- 8, // 13: Resource.Recharge:output_type -> Resp
|
|
|
- 8, // 14: Resource.ReEmpower:output_type -> Resp
|
|
|
- 8, // 15: Resource.Empower:output_type -> Resp
|
|
|
- 8, // 16: Resource.CancelEmpower:output_type -> Resp
|
|
|
- 7, // 17: Resource.EmpowerList:output_type -> EmpowerListResp
|
|
|
- 10, // 18: Resource.Haspowers:output_type -> HaspowersResp
|
|
|
- 10, // [10:19] is the sub-list for method output_type
|
|
|
- 1, // [1:10] is the sub-list for method input_type
|
|
|
+ 11, // 10: Resource.WaitEmpowerDetail:input_type -> WaitEmpowerDetailReq
|
|
|
+ 8, // 11: Resource.PowerHandle:output_type -> Resp
|
|
|
+ 8, // 12: Resource.CheckPower:output_type -> Resp
|
|
|
+ 8, // 13: Resource.Deduction:output_type -> Resp
|
|
|
+ 8, // 14: Resource.Recharge:output_type -> Resp
|
|
|
+ 8, // 15: Resource.ReEmpower:output_type -> Resp
|
|
|
+ 8, // 16: Resource.Empower:output_type -> Resp
|
|
|
+ 8, // 17: Resource.CancelEmpower:output_type -> Resp
|
|
|
+ 7, // 18: Resource.EmpowerList:output_type -> EmpowerListResp
|
|
|
+ 10, // 19: Resource.Haspowers:output_type -> HaspowersResp
|
|
|
+ 12, // 20: Resource.WaitEmpowerDetail:output_type -> WaitEmpowerDetailResp
|
|
|
+ 11, // [11:21] is the sub-list for method output_type
|
|
|
+ 1, // [1:11] is the sub-list for method input_type
|
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
|
0, // [0:1] is the sub-list for field type_name
|
|
@@ -1179,6 +1347,30 @@ func file_resource_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
+ file_resource_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*WaitEmpowerDetailReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_resource_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*WaitEmpowerDetailResp); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
@@ -1186,7 +1378,7 @@ func file_resource_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_resource_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 11,
|
|
|
+ NumMessages: 13,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|