|
|
@@ -658,90 +658,148 @@ func (x *Options) GetValue() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
+type ResponseByte struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResponseByte) Reset() {
|
|
|
+ *x = ResponseByte{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_transform_proto_msgTypes[10]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResponseByte) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ResponseByte) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ResponseByte) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_transform_proto_msgTypes[10]
|
|
|
+ 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 ResponseByte.ProtoReflect.Descriptor instead.
|
|
|
+func (*ResponseByte) Descriptor() ([]byte, []int) {
|
|
|
+ return file_transform_proto_rawDescGZIP(), []int{10}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ResponseByte) GetData() []byte {
|
|
|
+ if x != nil {
|
|
|
+ return x.Data
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
var File_transform_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_transform_proto_rawDesc = []byte{
|
|
|
0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
- 0x6f, 0x12, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x33, 0x0a, 0x0b,
|
|
|
- 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
|
+ 0x6f, 0x12, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x1a, 0x17, 0x62, 0x61,
|
|
|
+ 0x73, 0x65, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x5f, 0x73, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x2e,
|
|
|
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x33, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
|
|
|
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x0c, 0x55,
|
|
|
+ 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70,
|
|
|
0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e,
|
|
|
- 0x65, 0x22, 0xd4, 0x01, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
- 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
|
- 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65,
|
|
|
- 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x16,
|
|
|
- 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
|
|
- 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x72, 0x70, 0x52, 0x6f, 0x6c,
|
|
|
- 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x72, 0x70,
|
|
|
- 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72,
|
|
|
- 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72,
|
|
|
- 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65,
|
|
|
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65,
|
|
|
- 0x12, 0x16, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03,
|
|
|
- 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x24, 0x0a, 0x0c, 0x54, 0x6f, 0x6b, 0x65,
|
|
|
- 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65,
|
|
|
- 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xff,
|
|
|
- 0x01, 0x0a, 0x0d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
- 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72,
|
|
|
- 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x55,
|
|
|
- 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73,
|
|
|
- 0x65, 0x72, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x73,
|
|
|
- 0x12, 0x28, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65,
|
|
|
- 0x49, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x50,
|
|
|
- 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x55, 0x73,
|
|
|
- 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x20,
|
|
|
- 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x18, 0x06, 0x20,
|
|
|
- 0x01, 0x28, 0x09, 0x52, 0x0b, 0x53, 0x79, 0x73, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64,
|
|
|
- 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x79, 0x73, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x64, 0x18, 0x07,
|
|
|
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53, 0x79, 0x73, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x64,
|
|
|
- 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x36, 0x0a, 0x09, 0x54, 0x72, 0x65,
|
|
|
- 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18,
|
|
|
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72,
|
|
|
- 0x6d, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65,
|
|
|
- 0x73, 0x22, 0x93, 0x01, 0x0a, 0x08, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e,
|
|
|
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
|
|
|
- 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65,
|
|
|
- 0x78, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
|
|
|
- 0x28, 0x03, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x03, 0x74, 0x61,
|
|
|
- 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66,
|
|
|
- 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x29, 0x0a, 0x05,
|
|
|
- 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x72,
|
|
|
- 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65,
|
|
|
- 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x29, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x0e,
|
|
|
- 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
|
|
|
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
|
|
- 0x6d, 0x65, 0x22, 0x20, 0x0a, 0x0a, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65,
|
|
|
- 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
- 0x63, 0x6f, 0x64, 0x65, 0x22, 0x47, 0x0a, 0x07, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
|
|
|
- 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63,
|
|
|
- 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
|
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0xc6, 0x02,
|
|
|
- 0x0a, 0x09, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3a, 0x0a, 0x07, 0x47,
|
|
|
- 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f,
|
|
|
- 0x72, 0x6d, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17,
|
|
|
- 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52,
|
|
|
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x73, 0x65,
|
|
|
- 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x17, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72,
|
|
|
- 0x6d, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18,
|
|
|
- 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
|
|
|
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x45,
|
|
|
- 0x72, 0x70, 0x43, 0x69, 0x74, 0x79, 0x54, 0x72, 0x65, 0x65, 0x12, 0x10, 0x2e, 0x74, 0x72, 0x61,
|
|
|
- 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x74,
|
|
|
- 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64,
|
|
|
- 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x4f, 0x70, 0x74, 0x69,
|
|
|
- 0x6f, 0x6e, 0x73, 0x65, 0x74, 0x12, 0x15, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72,
|
|
|
- 0x6d, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x1a, 0x12, 0x2e, 0x74,
|
|
|
- 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
|
|
- 0x12, 0x44, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x4d, 0x6b, 0x74, 0x4e, 0x65, 0x74,
|
|
|
- 0x57, 0x6f, 0x72, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x54, 0x72, 0x65, 0x65, 0x12, 0x10,
|
|
|
- 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
|
- 0x1a, 0x14, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x72, 0x65,
|
|
|
- 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
|
|
+ 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
|
|
|
+ 0x20, 0x0a, 0x0b, 0x65, 0x72, 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05,
|
|
|
+ 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x65, 0x72, 0x70, 0x52, 0x6f, 0x6c, 0x65, 0x54, 0x79, 0x70,
|
|
|
+ 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
|
|
|
+ 0x08, 0x63, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x08, 0x63, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x65, 0x6e,
|
|
|
+ 0x64, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65,
|
|
|
+ 0x72, 0x22, 0x24, 0x0a, 0x0c, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
+ 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xff, 0x01, 0x0a, 0x0d, 0x54, 0x6f, 0x6b, 0x65,
|
|
|
+ 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65,
|
|
|
+ 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
|
+ 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x73,
|
|
|
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65,
|
|
|
+ 0x49, 0x64, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x53, 0x63, 0x68, 0x6f, 0x6f,
|
|
|
+ 0x6c, 0x49, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x55, 0x73, 0x65, 0x72,
|
|
|
+ 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x55, 0x73, 0x65,
|
|
|
+ 0x72, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01,
|
|
|
+ 0x28, 0x09, 0x52, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65,
|
|
|
+ 0x49, 0x64, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x4f, 0x72, 0x67, 0x61, 0x6e,
|
|
|
+ 0x49, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x4f,
|
|
|
+ 0x72, 0x67, 0x61, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x53, 0x79, 0x73, 0x53, 0x63,
|
|
|
+ 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x53, 0x79,
|
|
|
+ 0x73, 0x53, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x79, 0x73,
|
|
|
+ 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x53,
|
|
|
+ 0x79, 0x73, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x49, 0x64, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70,
|
|
|
+ 0x74, 0x79, 0x22, 0x36, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12,
|
|
|
+ 0x29, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,
|
|
|
+ 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e,
|
|
|
+ 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x08, 0x54,
|
|
|
+ 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
|
+ 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18,
|
|
|
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70,
|
|
|
+ 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x70, 0x61, 0x72,
|
|
|
+ 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
|
|
|
+ 0x32, 0x0e, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x61, 0x67,
|
|
|
+ 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x29, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05,
|
|
|
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d,
|
|
|
+ 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73,
|
|
|
+ 0x22, 0x29, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
|
+ 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
|
|
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x20, 0x0a, 0x0a, 0x4f,
|
|
|
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
|
|
|
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x47, 0x0a,
|
|
|
+ 0x07, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65,
|
|
|
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
|
|
+ 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
|
+ 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
+ 0x73, 0x65, 0x42, 0x79, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
|
|
|
+ 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0xb6, 0x03, 0x0a, 0x09, 0x54,
|
|
|
+ 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x3a, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55,
|
|
|
+ 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e,
|
|
|
+ 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x74, 0x72,
|
|
|
+ 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
|
|
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x50, 0x61, 0x72, 0x73, 0x65, 0x54, 0x6f, 0x6b,
|
|
|
+ 0x65, 0x6e, 0x12, 0x17, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54,
|
|
|
+ 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x74, 0x72,
|
|
|
+ 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73,
|
|
|
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x43,
|
|
|
+ 0x69, 0x74, 0x79, 0x54, 0x72, 0x65, 0x65, 0x12, 0x10, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66,
|
|
|
+ 0x6f, 0x72, 0x6d, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e, 0x74, 0x72, 0x61, 0x6e,
|
|
|
+ 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12,
|
|
|
+ 0x3c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
|
|
|
+ 0x65, 0x74, 0x12, 0x15, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x4f,
|
|
|
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x1a, 0x12, 0x2e, 0x74, 0x72, 0x61, 0x6e,
|
|
|
+ 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x44, 0x0a,
|
|
|
+ 0x1a, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x4d, 0x6b, 0x74, 0x4e, 0x65, 0x74, 0x57, 0x6f, 0x72,
|
|
|
+ 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x54, 0x72, 0x65, 0x65, 0x12, 0x10, 0x2e, 0x74, 0x72,
|
|
|
+ 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x14, 0x2e,
|
|
|
+ 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x4e, 0x6f,
|
|
|
+ 0x64, 0x65, 0x73, 0x12, 0x6e, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x4f, 0x72, 0x67,
|
|
|
+ 0x61, 0x6e, 0x53, 0x63, 0x68, 0x50, 0x65, 0x72, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64,
|
|
|
+ 0x12, 0x27, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x47, 0x65, 0x74,
|
|
|
+ 0x45, 0x72, 0x70, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x53, 0x63, 0x68, 0x50, 0x65, 0x72, 0x42, 0x79,
|
|
|
+ 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x28, 0x2e, 0x74, 0x72, 0x61, 0x6e,
|
|
|
+ 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x72, 0x70, 0x4f, 0x72, 0x67, 0x61,
|
|
|
+ 0x6e, 0x53, 0x63, 0x68, 0x50, 0x65, 0x72, 0x42, 0x79, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x52,
|
|
|
+ 0x65, 0x73, 0x70, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
@@ -756,38 +814,43 @@ func file_transform_proto_rawDescGZIP() []byte {
|
|
|
return file_transform_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_transform_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
|
+var file_transform_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
|
var file_transform_proto_goTypes = []interface{}{
|
|
|
- (*UserRequest)(nil), // 0: transform.UserRequest
|
|
|
- (*UserResponse)(nil), // 1: transform.UserResponse
|
|
|
- (*TokenRequest)(nil), // 2: transform.TokenRequest
|
|
|
- (*TokenResponse)(nil), // 3: transform.TokenResponse
|
|
|
- (*Empty)(nil), // 4: transform.Empty
|
|
|
- (*TreeNodes)(nil), // 5: transform.TreeNodes
|
|
|
- (*TreeNode)(nil), // 6: transform.TreeNode
|
|
|
- (*Tag)(nil), // 7: transform.Tag
|
|
|
- (*OptionCode)(nil), // 8: transform.OptionCode
|
|
|
- (*Options)(nil), // 9: transform.Options
|
|
|
+ (*UserRequest)(nil), // 0: transform.UserRequest
|
|
|
+ (*UserResponse)(nil), // 1: transform.UserResponse
|
|
|
+ (*TokenRequest)(nil), // 2: transform.TokenRequest
|
|
|
+ (*TokenResponse)(nil), // 3: transform.TokenResponse
|
|
|
+ (*Empty)(nil), // 4: transform.Empty
|
|
|
+ (*TreeNodes)(nil), // 5: transform.TreeNodes
|
|
|
+ (*TreeNode)(nil), // 6: transform.TreeNode
|
|
|
+ (*Tag)(nil), // 7: transform.Tag
|
|
|
+ (*OptionCode)(nil), // 8: transform.OptionCode
|
|
|
+ (*Options)(nil), // 9: transform.Options
|
|
|
+ (*ResponseByte)(nil), // 10: transform.ResponseByte
|
|
|
+ (*GetErpOrganSchPerByUserIdReq)(nil), // 11: transform.GetErpOrganSchPerByUserIdReq
|
|
|
+ (*GetErpOrganSchPerByUserIdResp)(nil), // 12: transform.GetErpOrganSchPerByUserIdResp
|
|
|
}
|
|
|
var file_transform_proto_depIdxs = []int32{
|
|
|
- 6, // 0: transform.TreeNodes.nodes:type_name -> transform.TreeNode
|
|
|
- 7, // 1: transform.TreeNode.tag:type_name -> transform.Tag
|
|
|
- 6, // 2: transform.TreeNode.nodes:type_name -> transform.TreeNode
|
|
|
- 0, // 3: transform.Transform.GetUser:input_type -> transform.UserRequest
|
|
|
- 2, // 4: transform.Transform.ParseToken:input_type -> transform.TokenRequest
|
|
|
- 4, // 5: transform.Transform.GetErpCityTree:input_type -> transform.Empty
|
|
|
- 8, // 6: transform.Transform.GetErpOptionset:input_type -> transform.OptionCode
|
|
|
- 4, // 7: transform.Transform.GetErpMktNetWorkDetailTree:input_type -> transform.Empty
|
|
|
- 1, // 8: transform.Transform.GetUser:output_type -> transform.UserResponse
|
|
|
- 3, // 9: transform.Transform.ParseToken:output_type -> transform.TokenResponse
|
|
|
- 5, // 10: transform.Transform.GetErpCityTree:output_type -> transform.TreeNodes
|
|
|
- 9, // 11: transform.Transform.GetErpOptionset:output_type -> transform.Options
|
|
|
- 5, // 12: transform.Transform.GetErpMktNetWorkDetailTree:output_type -> transform.TreeNodes
|
|
|
- 8, // [8:13] is the sub-list for method output_type
|
|
|
- 3, // [3:8] is the sub-list for method input_type
|
|
|
- 3, // [3:3] is the sub-list for extension type_name
|
|
|
- 3, // [3:3] is the sub-list for extension extendee
|
|
|
- 0, // [0:3] is the sub-list for field type_name
|
|
|
+ 6, // 0: transform.TreeNodes.nodes:type_name -> transform.TreeNode
|
|
|
+ 7, // 1: transform.TreeNode.tag:type_name -> transform.Tag
|
|
|
+ 6, // 2: transform.TreeNode.nodes:type_name -> transform.TreeNode
|
|
|
+ 0, // 3: transform.Transform.GetUser:input_type -> transform.UserRequest
|
|
|
+ 2, // 4: transform.Transform.ParseToken:input_type -> transform.TokenRequest
|
|
|
+ 4, // 5: transform.Transform.GetErpCityTree:input_type -> transform.Empty
|
|
|
+ 8, // 6: transform.Transform.GetErpOptionset:input_type -> transform.OptionCode
|
|
|
+ 4, // 7: transform.Transform.GetErpMktNetWorkDetailTree:input_type -> transform.Empty
|
|
|
+ 11, // 8: transform.Transform.GetErpOrganSchPerByUserId:input_type -> transform.GetErpOrganSchPerByUserIdReq
|
|
|
+ 1, // 9: transform.Transform.GetUser:output_type -> transform.UserResponse
|
|
|
+ 3, // 10: transform.Transform.ParseToken:output_type -> transform.TokenResponse
|
|
|
+ 5, // 11: transform.Transform.GetErpCityTree:output_type -> transform.TreeNodes
|
|
|
+ 9, // 12: transform.Transform.GetErpOptionset:output_type -> transform.Options
|
|
|
+ 5, // 13: transform.Transform.GetErpMktNetWorkDetailTree:output_type -> transform.TreeNodes
|
|
|
+ 12, // 14: transform.Transform.GetErpOrganSchPerByUserId:output_type -> transform.GetErpOrganSchPerByUserIdResp
|
|
|
+ 9, // [9:15] is the sub-list for method output_type
|
|
|
+ 3, // [3:9] is the sub-list for method input_type
|
|
|
+ 3, // [3:3] is the sub-list for extension type_name
|
|
|
+ 3, // [3:3] is the sub-list for extension extendee
|
|
|
+ 0, // [0:3] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_transform_proto_init() }
|
|
|
@@ -795,6 +858,7 @@ func file_transform_proto_init() {
|
|
|
if File_transform_proto != nil {
|
|
|
return
|
|
|
}
|
|
|
+ file_base_organ_school_proto_init()
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
file_transform_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
switch v := v.(*UserRequest); i {
|
|
|
@@ -916,6 +980,18 @@ func file_transform_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
+ file_transform_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ResponseByte); 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{
|
|
|
@@ -923,7 +999,7 @@ func file_transform_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_transform_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 10,
|
|
|
+ NumMessages: 11,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|
|
|
@@ -951,9 +1027,14 @@ const _ = grpc.SupportPackageIsVersion6
|
|
|
type TransformClient interface {
|
|
|
GetUser(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error)
|
|
|
ParseToken(ctx context.Context, in *TokenRequest, opts ...grpc.CallOption) (*TokenResponse, error)
|
|
|
+ //获取erp 省、城市树
|
|
|
GetErpCityTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
|
|
|
+ //获取erp 字典
|
|
|
GetErpOptionset(ctx context.Context, in *OptionCode, opts ...grpc.CallOption) (*Options, error)
|
|
|
+ //获取erp 渠道细分树
|
|
|
GetErpMktNetWorkDetailTree(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*TreeNodes, error)
|
|
|
+ //获取erp 用户权限
|
|
|
+ GetErpOrganSchPerByUserId(ctx context.Context, in *GetErpOrganSchPerByUserIdReq, opts ...grpc.CallOption) (*GetErpOrganSchPerByUserIdResp, error)
|
|
|
}
|
|
|
|
|
|
type transformClient struct {
|
|
|
@@ -1009,13 +1090,27 @@ func (c *transformClient) GetErpMktNetWorkDetailTree(ctx context.Context, in *Em
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
+func (c *transformClient) GetErpOrganSchPerByUserId(ctx context.Context, in *GetErpOrganSchPerByUserIdReq, opts ...grpc.CallOption) (*GetErpOrganSchPerByUserIdResp, error) {
|
|
|
+ out := new(GetErpOrganSchPerByUserIdResp)
|
|
|
+ err := c.cc.Invoke(ctx, "/transform.Transform/GetErpOrganSchPerByUserId", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
// TransformServer is the server API for Transform service.
|
|
|
type TransformServer interface {
|
|
|
GetUser(context.Context, *UserRequest) (*UserResponse, error)
|
|
|
ParseToken(context.Context, *TokenRequest) (*TokenResponse, error)
|
|
|
+ //获取erp 省、城市树
|
|
|
GetErpCityTree(context.Context, *Empty) (*TreeNodes, error)
|
|
|
+ //获取erp 字典
|
|
|
GetErpOptionset(context.Context, *OptionCode) (*Options, error)
|
|
|
+ //获取erp 渠道细分树
|
|
|
GetErpMktNetWorkDetailTree(context.Context, *Empty) (*TreeNodes, error)
|
|
|
+ //获取erp 用户权限
|
|
|
+ GetErpOrganSchPerByUserId(context.Context, *GetErpOrganSchPerByUserIdReq) (*GetErpOrganSchPerByUserIdResp, error)
|
|
|
}
|
|
|
|
|
|
// UnimplementedTransformServer can be embedded to have forward compatible implementations.
|
|
|
@@ -1037,6 +1132,9 @@ func (*UnimplementedTransformServer) GetErpOptionset(context.Context, *OptionCod
|
|
|
func (*UnimplementedTransformServer) GetErpMktNetWorkDetailTree(context.Context, *Empty) (*TreeNodes, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetErpMktNetWorkDetailTree not implemented")
|
|
|
}
|
|
|
+func (*UnimplementedTransformServer) GetErpOrganSchPerByUserId(context.Context, *GetErpOrganSchPerByUserIdReq) (*GetErpOrganSchPerByUserIdResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method GetErpOrganSchPerByUserId not implemented")
|
|
|
+}
|
|
|
|
|
|
func RegisterTransformServer(s *grpc.Server, srv TransformServer) {
|
|
|
s.RegisterService(&_Transform_serviceDesc, srv)
|
|
|
@@ -1132,6 +1230,24 @@ func _Transform_GetErpMktNetWorkDetailTree_Handler(srv interface{}, ctx context.
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _Transform_GetErpOrganSchPerByUserId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(GetErpOrganSchPerByUserIdReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(TransformServer).GetErpOrganSchPerByUserId(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/transform.Transform/GetErpOrganSchPerByUserId",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(TransformServer).GetErpOrganSchPerByUserId(ctx, req.(*GetErpOrganSchPerByUserIdReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
var _Transform_serviceDesc = grpc.ServiceDesc{
|
|
|
ServiceName: "transform.Transform",
|
|
|
HandlerType: (*TransformServer)(nil),
|
|
|
@@ -1156,6 +1272,10 @@ var _Transform_serviceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "GetErpMktNetWorkDetailTree",
|
|
|
Handler: _Transform_GetErpMktNetWorkDetailTree_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "GetErpOrganSchPerByUserId",
|
|
|
+ Handler: _Transform_GetErpOrganSchPerByUserId_Handler,
|
|
|
+ },
|
|
|
},
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
Metadata: "transform.proto",
|