|
|
@ -1028,6 +1028,110 @@ func (x *ProductSkuResp) GetProductSku() []*ProductSku {
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 获取 分布式 token
|
|
|
|
|
|
|
|
type TokenReq struct {
|
|
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *TokenReq) Reset() {
|
|
|
|
|
|
|
|
*x = TokenReq{}
|
|
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
|
|
mi := &file_cart_proto_msgTypes[12]
|
|
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *TokenReq) String() string {
|
|
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (*TokenReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *TokenReq) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
mi := &file_cart_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 TokenReq.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
|
|
func (*TokenReq) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{12}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *TokenReq) GetUuid() string {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Uuid
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 响应 resp struct
|
|
|
|
|
|
|
|
type TokenResp struct {
|
|
|
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
|
|
|
|
IsLogin bool `protobuf:"varint,2,opt,name=isLogin,proto3" json:"isLogin,omitempty"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *TokenResp) Reset() {
|
|
|
|
|
|
|
|
*x = TokenResp{}
|
|
|
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
|
|
|
mi := &file_cart_proto_msgTypes[13]
|
|
|
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *TokenResp) String() string {
|
|
|
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (*TokenResp) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *TokenResp) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
|
|
mi := &file_cart_proto_msgTypes[13]
|
|
|
|
|
|
|
|
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 TokenResp.ProtoReflect.Descriptor instead.
|
|
|
|
|
|
|
|
func (*TokenResp) Descriptor() ([]byte, []int) {
|
|
|
|
|
|
|
|
return file_cart_proto_rawDescGZIP(), []int{13}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *TokenResp) GetToken() string {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.Token
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return ""
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (x *TokenResp) GetIsLogin() bool {
|
|
|
|
|
|
|
|
if x != nil {
|
|
|
|
|
|
|
|
return x.IsLogin
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return false
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var File_cart_proto protoreflect.FileDescriptor
|
|
|
|
var File_cart_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
|
|
var file_cart_proto_rawDesc = []byte{
|
|
|
|
var file_cart_proto_rawDesc = []byte{
|
|
|
@ -1171,32 +1275,42 @@ var file_cart_proto_rawDesc = []byte{
|
|
|
|
0x75, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
|
|
|
|
0x75, 0x52, 0x65, 0x73, 0x70, 0x12, 0x31, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
|
|
|
|
0x53, 0x6b, 0x75, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x53, 0x6b, 0x75, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x52, 0x0a, 0x70, 0x72,
|
|
|
|
0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x52, 0x0a, 0x70, 0x72,
|
|
|
|
0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x32, 0x3d, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x43,
|
|
|
|
0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x22, 0x1e, 0x0a, 0x08, 0x54, 0x6f, 0x6b, 0x65,
|
|
|
|
0x61, 0x72, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x43, 0x61, 0x72, 0x74, 0x12, 0x11,
|
|
|
|
0x6e, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
|
|
|
|
0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0x3b, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65,
|
|
|
|
|
|
|
|
0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01,
|
|
|
|
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x69,
|
|
|
|
|
|
|
|
0x73, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73,
|
|
|
|
|
|
|
|
0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x32, 0x3d, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x43, 0x61, 0x72, 0x74,
|
|
|
|
|
|
|
|
0x12, 0x32, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x43, 0x61, 0x72, 0x74, 0x12, 0x11, 0x2e, 0x70, 0x72,
|
|
|
|
|
|
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x12,
|
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x61, 0x72, 0x74, 0x52, 0x65,
|
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x61, 0x72, 0x74, 0x52, 0x65,
|
|
|
|
0x71, 0x1a, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x61, 0x72,
|
|
|
|
0x73, 0x70, 0x22, 0x00, 0x32, 0x31, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x04,
|
|
|
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x32, 0x31, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12,
|
|
|
|
0x50, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x61, 0x67,
|
|
|
|
0x29, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
|
|
0x65, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x61, 0x67,
|
|
|
|
0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x32, 0x5d, 0x0a, 0x11, 0x53, 0x68, 0x6f, 0x77, 0x50,
|
|
|
|
0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x32, 0x5d, 0x0a, 0x11, 0x53, 0x68,
|
|
|
|
0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x48, 0x0a, 0x11,
|
|
|
|
0x6f, 0x77, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12,
|
|
|
|
0x53, 0x68, 0x6f, 0x77, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69,
|
|
|
|
0x48, 0x0a, 0x11, 0x53, 0x68, 0x6f, 0x77, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x44, 0x65,
|
|
|
|
0x6c, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63,
|
|
|
|
0x74, 0x61, 0x69, 0x6c, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f,
|
|
|
|
0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x64, 0x75, 0x63, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e,
|
|
|
|
0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x44, 0x65, 0x74,
|
|
|
|
0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x32, 0x51, 0x0a, 0x0e, 0x53, 0x68, 0x6f, 0x77, 0x50, 0x72,
|
|
|
|
0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x32, 0x51, 0x0a, 0x0e, 0x53, 0x68, 0x6f,
|
|
|
|
0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x12, 0x3f, 0x0a, 0x0e, 0x53, 0x68, 0x6f, 0x77,
|
|
|
|
0x77, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x12, 0x3f, 0x0a, 0x0e, 0x53,
|
|
|
|
0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x68, 0x6f, 0x77, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x12, 0x14, 0x2e,
|
|
|
|
0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x52, 0x65, 0x71,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75,
|
|
|
|
0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74,
|
|
|
|
0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64,
|
|
|
|
0x53, 0x6b, 0x75, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x32, 0x52, 0x0a, 0x0d, 0x53, 0x68, 0x6f,
|
|
|
|
0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x32, 0x52, 0x0a, 0x0d,
|
|
|
|
0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x6b, 0x75, 0x12, 0x41, 0x0a, 0x0d, 0x53, 0x68,
|
|
|
|
0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x6b, 0x75, 0x12, 0x41, 0x0a,
|
|
|
|
0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x6b, 0x75, 0x12, 0x17, 0x2e, 0x70, 0x72,
|
|
|
|
0x0d, 0x53, 0x68, 0x6f, 0x77, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x53, 0x6b, 0x75, 0x12, 0x17,
|
|
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69,
|
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x44, 0x65,
|
|
|
|
0x6c, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x72, 0x6f,
|
|
|
|
0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
|
|
0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x32, 0x43, 0x0a,
|
|
|
|
0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x53, 0x6b, 0x75, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00,
|
|
|
|
0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x33, 0x0a,
|
|
|
|
0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72,
|
|
|
|
0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x0f, 0x2e,
|
|
|
|
0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x10,
|
|
|
|
|
|
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
|
|
|
|
0x22, 0x00, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06,
|
|
|
|
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
var (
|
|
|
@ -1211,7 +1325,7 @@ func file_cart_proto_rawDescGZIP() []byte {
|
|
|
|
return file_cart_proto_rawDescData
|
|
|
|
return file_cart_proto_rawDescData
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var file_cart_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
|
|
var file_cart_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
|
|
var file_cart_proto_goTypes = []interface{}{
|
|
|
|
var file_cart_proto_goTypes = []interface{}{
|
|
|
|
(*ShoppingCart)(nil), // 0: proto.ShoppingCart
|
|
|
|
(*ShoppingCart)(nil), // 0: proto.ShoppingCart
|
|
|
|
(*AddCartReq)(nil), // 1: proto.AddCartReq
|
|
|
|
(*AddCartReq)(nil), // 1: proto.AddCartReq
|
|
|
@ -1225,12 +1339,14 @@ var file_cart_proto_goTypes = []interface{}{
|
|
|
|
(*ProductSku)(nil), // 9: proto.ProductSku
|
|
|
|
(*ProductSku)(nil), // 9: proto.ProductSku
|
|
|
|
(*ProductSkuReq)(nil), // 10: proto.ProductSkuReq
|
|
|
|
(*ProductSkuReq)(nil), // 10: proto.ProductSkuReq
|
|
|
|
(*ProductSkuResp)(nil), // 11: proto.ProductSkuResp
|
|
|
|
(*ProductSkuResp)(nil), // 11: proto.ProductSkuResp
|
|
|
|
nil, // 12: proto.Product.LabelListEntry
|
|
|
|
(*TokenReq)(nil), // 12: proto.TokenReq
|
|
|
|
|
|
|
|
(*TokenResp)(nil), // 13: proto.TokenResp
|
|
|
|
|
|
|
|
nil, // 14: proto.Product.LabelListEntry
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var file_cart_proto_depIdxs = []int32{
|
|
|
|
var file_cart_proto_depIdxs = []int32{
|
|
|
|
6, // 0: proto.AddCartResp.productSimple:type_name -> proto.ProductDetail
|
|
|
|
6, // 0: proto.AddCartResp.productSimple:type_name -> proto.ProductDetail
|
|
|
|
9, // 1: proto.AddCartResp.productSkuSimple:type_name -> proto.ProductSku
|
|
|
|
9, // 1: proto.AddCartResp.productSkuSimple:type_name -> proto.ProductSku
|
|
|
|
12, // 2: proto.Product.labelList:type_name -> proto.Product.LabelListEntry
|
|
|
|
14, // 2: proto.Product.labelList:type_name -> proto.Product.LabelListEntry
|
|
|
|
3, // 3: proto.PageResp.product:type_name -> proto.Product
|
|
|
|
3, // 3: proto.PageResp.product:type_name -> proto.Product
|
|
|
|
6, // 4: proto.ProductDetailResp.productDetail:type_name -> proto.ProductDetail
|
|
|
|
6, // 4: proto.ProductDetailResp.productDetail:type_name -> proto.ProductDetail
|
|
|
|
9, // 5: proto.ProductSkuResp.productSku:type_name -> proto.ProductSku
|
|
|
|
9, // 5: proto.ProductSkuResp.productSku:type_name -> proto.ProductSku
|
|
|
@ -1239,13 +1355,15 @@ var file_cart_proto_depIdxs = []int32{
|
|
|
|
7, // 8: proto.ShowProductDetail.ShowProductDetail:input_type -> proto.ProductDetailReq
|
|
|
|
7, // 8: proto.ShowProductDetail.ShowProductDetail:input_type -> proto.ProductDetailReq
|
|
|
|
10, // 9: proto.ShowProductSku.ShowProductSku:input_type -> proto.ProductSkuReq
|
|
|
|
10, // 9: proto.ShowProductSku.ShowProductSku:input_type -> proto.ProductSkuReq
|
|
|
|
7, // 10: proto.ShowDetailSku.ShowDetailSku:input_type -> proto.ProductDetailReq
|
|
|
|
7, // 10: proto.ShowDetailSku.ShowDetailSku:input_type -> proto.ProductDetailReq
|
|
|
|
2, // 11: proto.AddCart.AddCart:output_type -> proto.AddCartResp
|
|
|
|
12, // 11: proto.GetUserToken.GetUserToken:input_type -> proto.TokenReq
|
|
|
|
5, // 12: proto.Page.Page:output_type -> proto.PageResp
|
|
|
|
2, // 12: proto.AddCart.AddCart:output_type -> proto.AddCartResp
|
|
|
|
8, // 13: proto.ShowProductDetail.ShowProductDetail:output_type -> proto.ProductDetailResp
|
|
|
|
5, // 13: proto.Page.Page:output_type -> proto.PageResp
|
|
|
|
11, // 14: proto.ShowProductSku.ShowProductSku:output_type -> proto.ProductSkuResp
|
|
|
|
8, // 14: proto.ShowProductDetail.ShowProductDetail:output_type -> proto.ProductDetailResp
|
|
|
|
11, // 15: proto.ShowDetailSku.ShowDetailSku:output_type -> proto.ProductSkuResp
|
|
|
|
11, // 15: proto.ShowProductSku.ShowProductSku:output_type -> proto.ProductSkuResp
|
|
|
|
11, // [11:16] is the sub-list for method output_type
|
|
|
|
11, // 16: proto.ShowDetailSku.ShowDetailSku:output_type -> proto.ProductSkuResp
|
|
|
|
6, // [6:11] is the sub-list for method input_type
|
|
|
|
13, // 17: proto.GetUserToken.GetUserToken:output_type -> proto.TokenResp
|
|
|
|
|
|
|
|
12, // [12:18] is the sub-list for method output_type
|
|
|
|
|
|
|
|
6, // [6:12] is the sub-list for method input_type
|
|
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
|
|
|
0, // [0:6] is the sub-list for field type_name
|
|
|
@ -1401,6 +1519,30 @@ func file_cart_proto_init() {
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
file_cart_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
|
|
switch v := v.(*TokenReq); i {
|
|
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
file_cart_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
|
|
|
switch v := v.(*TokenResp); i {
|
|
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
|
|
return &v.state
|
|
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
|
|
return &v.sizeCache
|
|
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
|
|
return &v.unknownFields
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
return nil
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
@ -1408,9 +1550,9 @@ func file_cart_proto_init() {
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_cart_proto_rawDesc,
|
|
|
|
RawDescriptor: file_cart_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 13,
|
|
|
|
NumMessages: 15,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 5,
|
|
|
|
NumServices: 6,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
GoTypes: file_cart_proto_goTypes,
|
|
|
|
GoTypes: file_cart_proto_goTypes,
|
|
|
|
DependencyIndexes: file_cart_proto_depIdxs,
|
|
|
|
DependencyIndexes: file_cart_proto_depIdxs,
|
|
|
|