From 85362684e76b77f8bb529ce6a0e56b586be16052 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 20 十一月 2019 17:44:18 +0800 Subject: [PATCH] fix picSmUrl to arr --- aiocean.proto | 2 aiocean.pb.go | 131 +++++++++++++++++++++++-------------------- 2 files changed, 72 insertions(+), 61 deletions(-) diff --git a/aiocean.pb.go b/aiocean.pb.go index b891f12..8eaa10c 100644 --- a/aiocean.pb.go +++ b/aiocean.pb.go @@ -271,7 +271,7 @@ TaskId string `protobuf:"bytes,9,opt,name=taskId,proto3" json:"taskId,omitempty"` TaskName string `protobuf:"bytes,10,opt,name=taskName,proto3" json:"taskName,omitempty"` SdkName string `protobuf:"bytes,11,opt,name=sdkName,proto3" json:"sdkName,omitempty"` - PicMaxUrl string `protobuf:"bytes,12,opt,name=picMaxUrl,proto3" json:"picMaxUrl,omitempty"` + PicMaxUrl []string `protobuf:"bytes,12,rep,name=picMaxUrl,proto3" json:"picMaxUrl,omitempty"` VideoUrl string `protobuf:"bytes,13,opt,name=videoUrl,proto3" json:"videoUrl,omitempty"` PicDate string `protobuf:"bytes,14,opt,name=picDate,proto3" json:"picDate,omitempty"` TargetInfo []*TargetInfo `protobuf:"bytes,15,rep,name=targetInfo,proto3" json:"targetInfo,omitempty"` @@ -399,11 +399,11 @@ return "" } -func (m *AIOcean) GetPicMaxUrl() string { +func (m *AIOcean) GetPicMaxUrl() []string { if m != nil { return m.PicMaxUrl } - return "" + return nil } func (m *AIOcean) GetVideoUrl() string { @@ -904,59 +904,59 @@ func init() { proto.RegisterFile("aiocean.proto", fileDescriptor_e7fb370e860fe148) } var fileDescriptor_e7fb370e860fe148 = []byte{ - // 829 bytes of a gzipped FileDescriptorProto + // 831 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x55, 0xcd, 0x6e, 0x23, 0x45, 0x10, 0xce, 0x24, 0xbb, 0xf6,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, 0x2e, 0x36, 0x59, 0xa1, 0x4a, + 0x74, 0xa3, 0x73, 0xc0, 0xad, 0x19, 0x70, 0x54, 0xdc, 0xe2, 0xcd, 0xf5, 0xb6, 0xc0, 0x7a, 0x3e, + 0x6a, 0x34, 0x98, 0xc8, 0xa7, 0x3b, 0x13, 0x19, 0x34, 0x6b, 0xa9, 0xb7, 0xa1, 0x7b, 0x0c, 0xe5, + 0x75, 0xe8, 0x47, 0x1d, 0xd3, 0xe4, 0xb9, 0xdd, 0x3c, 0xe0, 0xc8, 0x27, 0x33, 0xb9, 0xb6, 0xa6, + 0x74, 0x6d, 0x77, 0xdb, 0x79, 0xc0, 0x51, 0x6d, 0xa9, 0x5b, 0x51, 0xf5, 0x82, 0x76, 0xa8, 0x2f, + 0x54, 0x18, 0x08, 0xf5, 0x42, 0xfe, 0x79, 0x1f, 0x78, 0x6f, 0xef, 0x03, 0xef, 0xef, 0xfb, 0xc0, + 0xfb, 0xe5, 0x21, 0xd8, 0x7b, 0xfb, 0x10, 0xec, 0xfd, 0xf5, 0x10, 0xec, 0x2d, 0x46, 0x3c, 0x55, + 0x5f, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x24, 0xe6, 0xd5, 0x42, 0x53, 0x0a, 0x00, 0x00, } func (m *EsDataBase) Marshal() (dAtA []byte, err error) { @@ -1263,10 +1263,19 @@ i += copy(dAtA[i:], m.SdkName) } if len(m.PicMaxUrl) > 0 { - dAtA[i] = 0x62 - i++ - i = encodeVarintAiocean(dAtA, i, uint64(len(m.PicMaxUrl))) - i += copy(dAtA[i:], m.PicMaxUrl) + for _, s := range m.PicMaxUrl { + dAtA[i] = 0x62 + i++ + l = len(s) + for l >= 1<<7 { + dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + l >>= 7 + i++ + } + dAtA[i] = uint8(l) + i++ + i += copy(dAtA[i:], s) + } } if len(m.VideoUrl) > 0 { dAtA[i] = 0x6a @@ -1855,9 +1864,11 @@ if l > 0 { n += 1 + l + sovAiocean(uint64(l)) } - l = len(m.PicMaxUrl) - if l > 0 { - n += 1 + l + sovAiocean(uint64(l)) + if len(m.PicMaxUrl) > 0 { + for _, s := range m.PicMaxUrl { + l = len(s) + n += 1 + l + sovAiocean(uint64(l)) + } } l = len(m.VideoUrl) if l > 0 { @@ -3293,7 +3304,7 @@ if postIndex > l { return io.ErrUnexpectedEOF } - m.PicMaxUrl = string(dAtA[iNdEx:postIndex]) + m.PicMaxUrl = append(m.PicMaxUrl, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 13: if wireType != 2 { diff --git a/aiocean.proto b/aiocean.proto index 3e11cf2..138f638 100644 --- a/aiocean.proto +++ b/aiocean.proto @@ -42,7 +42,7 @@ string taskId =9; string taskName =10; string sdkName =11; - string picMaxUrl =12; + repeated string picMaxUrl =12; string videoUrl =13; string picDate =14; repeated TargetInfo targetInfo =15; -- Gitblit v1.8.0