From 8bcdcb0c7918babbc276c857521c3af3734ad8ca Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期二, 30 七月 2019 11:41:02 +0800 Subject: [PATCH] change picSmUrl to array,add TaskSdkRule --- videoperson.pb.go | 127 +++++++++++++++++++++++------------------- 1 files changed, 69 insertions(+), 58 deletions(-) diff --git a/videoperson.pb.go b/videoperson.pb.go index 0abdd35..52d3454 100644 --- a/videoperson.pb.go +++ b/videoperson.pb.go @@ -41,7 +41,7 @@ Race string `protobuf:"bytes,15,opt,name=race,proto3" json:"race,omitempty"` SmileLevel string `protobuf:"bytes,16,opt,name=smileLevel,proto3" json:"smileLevel,omitempty"` BeautyLevel string `protobuf:"bytes,17,opt,name=beautyLevel,proto3" json:"beautyLevel,omitempty"` - PicSmUrl string `protobuf:"bytes,18,opt,name=picSmUrl,proto3" json:"picSmUrl,omitempty"` + PicSmUrl []string `protobuf:"bytes,18,rep,name=picSmUrl,proto3" json:"picSmUrl,omitempty"` VideoUrl string `protobuf:"bytes,19,opt,name=videoUrl,proto3" json:"videoUrl,omitempty"` AnalyServerId string `protobuf:"bytes,20,opt,name=analyServerId,proto3" json:"analyServerId,omitempty"` AnalyServerName string `protobuf:"bytes,21,opt,name=analyServerName,proto3" json:"analyServerName,omitempty"` @@ -207,11 +207,11 @@ return "" } -func (m *Videopersons) GetPicSmUrl() string { +func (m *Videopersons) GetPicSmUrl() []string { if m != nil { return m.PicSmUrl } - return "" + return nil } func (m *Videopersons) GetVideoUrl() string { @@ -500,51 +500,51 @@ func init() { proto.RegisterFile("videoperson.proto", fileDescriptor_149f81aa0f752265) } var fileDescriptor_149f81aa0f752265 = []byte{ - // 692 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x54, 0x4f, 0x4f, 0x1b, 0x3b, - 0x10, 0x27, 0x01, 0x42, 0x70, 0xf8, 0xeb, 0xc7, 0xcb, 0x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, 0x20, 0xd6, 0x49, 0xbb, 0xb1, 0xba, 0x0d, 0xe2, 0xff, 0xa1, - 0x4e, 0x15, 0x83, 0x7e, 0xb5, 0xbb, 0x30, 0x49, 0x02, 0xca, 0x8b, 0x53, 0x7a, 0x9b, 0x8a, 0xc0, - 0x3a, 0x68, 0x77, 0x09, 0x09, 0x78, 0x10, 0x2f, 0x48, 0x5c, 0x61, 0xfe, 0x8e, 0x31, 0x89, 0x2e, - 0xa2, 0x45, 0x02, 0x4e, 0x9c, 0xf5, 0x37, 0x87, 0x9d, 0x37, 0x27, 0xa3, 0x72, 0x76, 0x46, 0xe3, - 0x95, 0x16, 0xd5, 0xce, 0xf1, 0x11, 0x6b, 0xcf, 0xa4, 0x83, 0x49, 0x76, 0x63, 0xc4, 0x4b, 0xfa, - 0x87, 0x57, 0xff, 0x9c, 0x17, 0x4a, 0xb4, 0x3a, 0x33, 0xf8, 0xde, 0x60, 0xac, 0x72, 0x85, 0x89, - 0xce, 0xad, 0x59, 0xe4, 0x93, 0x72, 0x0a, 0x4b, 0x88, 0x89, 0xd2, 0x35, 0xe1, 0xbd, 0xc3, 0x30, - 0xd6, 0x18, 0x4c, 0xc5, 0x2e, 0x12, 0xb8, 0x86, 0x7b, 0x5f, 0x0c, 0xe3, 0x0a, 0xf3, 0x01, 0xdb, - 0x8b, 0xe1, 0x06, 0x32, 0x05, 0x53, 0x5f, 0xce, 0x63, 0x3b, 0x5a, 0xe3, 0x06, 0xcb, 0x26, 0x6b, - 0x97, 0xf1, 0x61, 0x18, 0x5e, 0xce, 0x12, 0xa8, 0xc2, 0x28, 0x20, 0xd6, 0x93, 0x4c, 0x7a, 0xf1, - 0x10, 0x45, 0x45, 0xe0, 0x45, 0xca, 0xa4, 0xb9, 0xb4, 0x10, 0x06, 0x07, 0x03, 0x69, 0x46, 0x6b, - 0x1c, 0xf5, 0x25, 0xad, 0x9b, 0x49, 0x5c, 0x2c, 0x86, 0x15, 0xc6, 0x24, 0x83, 0x4d, 0xee, 0xc3, - 0x6a, 0xa8, 0x31, 0xe8, 0x3f, 0xa0, 0x8f, 0x5a, 0x61, 0xef, 0x86, 0x0d, 0xb1, 0xc6, 0x91, 0xff, - 0x2f, 0x26, 0x83, 0xab, 0x45, 0x5a, 0xee, 0x89, 0x12, 0x97, 0x53, 0xdb, 0xae, 0xa6, 0xb6, 0xcb, - 0x5a, 0x3a, 0xbe, 0x90, 0x36, 0x2e, 0xd6, 0x43, 0x81, 0xf0, 0xa6, 0xd4, 0x64, 0xda, 0x1b, 0x1b, - 0x0a, 0x1e, 0x36, 0xc4, 0x1a, 0x57, 0xdf, 0x2d, 0x9d, 0xf5, 0xdd, 0xd2, 0x65, 0xad, 0xd9, 0xd7, - 0xeb, 0x87, 0x1c, 0x68, 0x41, 0x6c, 0x47, 0x05, 0x3a, 0x17, 0x3f, 0x97, 0xbd, 0xc6, 0xe3, 0xb2, - 0xd7, 0xf8, 0xbd, 0xec, 0x35, 0x7e, 0x3c, 0xf5, 0x36, 0x1e, 0x9f, 0x7a, 0x1b, 0xbf, 0x9e, 0x7a, - 0x1b, 0xb3, 0x16, 0x35, 0xc9, 0xdb, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb9, 0x93, 0x65, 0x3e, - 0xb0, 0x05, 0x00, 0x00, + // 690 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x54, 0xcd, 0x6e, 0x13, 0x31, + 0x10, 0x6e, 0x92, 0x36, 0x4d, 0x9d, 0xfe, 0x9a, 0x12, 0x4c, 0x29, 0x51, 0x14, 0x21, 0x94, 0x53, + 0x0e, 0xc0, 0x0b, 0xa4, 0xed, 0x25, 0x12, 0x54, 0x68, 0x53, 0xb8, 0x3b, 0xde, 0x69, 0xb0, 0xba, + 0x7f, 0xb2, 0x9d, 0xd2, 0xde, 0x38, 0x71, 0xe6, 0xb1, 0x38, 0xf6, 0xc8, 0x11, 0xa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xe6, 0xeb, 0x21, 0x47, 0x78, 0x53, 0x9c, 0x26, 0xda, 0xa5, 0xc6, 0x17, 0xdc, + 0x6f, 0x88, 0x35, 0xae, 0xbe, 0x5b, 0xba, 0xeb, 0xbb, 0xa5, 0xc7, 0xda, 0xf3, 0xef, 0x57, 0xf7, + 0x19, 0xd0, 0x82, 0xd8, 0x0a, 0x72, 0x74, 0x26, 0x7e, 0xaf, 0xfa, 0x8d, 0x87, 0x55, 0xbf, 0xf1, + 0x77, 0xd5, 0x6f, 0xfc, 0x7a, 0xec, 0x6f, 0x3c, 0x3c, 0xf6, 0x37, 0xfe, 0x3c, 0xf6, 0x37, 0xe6, + 0x6d, 0x6a, 0x92, 0xf7, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x7e, 0x20, 0x91, 0xb0, 0x05, + 0x00, 0x00, } func (m *Videopersons) Marshal() (dAtA []byte, err error) { @@ -668,12 +668,21 @@ i += copy(dAtA[i:], m.BeautyLevel) } if len(m.PicSmUrl) > 0 { - dAtA[i] = 0x92 - i++ - dAtA[i] = 0x1 - i++ - i = encodeVarintVideoperson(dAtA, i, uint64(len(m.PicSmUrl))) - i += copy(dAtA[i:], m.PicSmUrl) + for _, s := range m.PicSmUrl { + dAtA[i] = 0x92 + i++ + dAtA[i] = 0x1 + 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] = 0x9a @@ -993,9 +1002,11 @@ if l > 0 { n += 2 + l + sovVideoperson(uint64(l)) } - l = len(m.PicSmUrl) - if l > 0 { - n += 2 + l + sovVideoperson(uint64(l)) + if len(m.PicSmUrl) > 0 { + for _, s := range m.PicSmUrl { + l = len(s) + n += 2 + l + sovVideoperson(uint64(l)) + } } l = len(m.VideoUrl) if l > 0 { @@ -1721,7 +1732,7 @@ if postIndex > l { return io.ErrUnexpectedEOF } - m.PicSmUrl = string(dAtA[iNdEx:postIndex]) + m.PicSmUrl = append(m.PicSmUrl, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex case 19: if wireType != 2 { -- Gitblit v1.8.0