jyq 4 лет назад
Родитель
Сommit
0363fa32c5
2 измененных файлов с 4 добавлено и 4 удалено
  1. 3 3
      api/grpc/base/base.pb.go
  2. 1 1
      proto/server/base.proto

+ 3 - 3
api/grpc/base/base.pb.go

@@ -997,7 +997,7 @@ type GetShopNaviRequest struct {
 
 	ShopId int64 `protobuf:"varint,1,opt,name=shopId,proto3" json:"shopId,omitempty"`
 	// 最顶层为0
-	ParentId int32 `protobuf:"varint,2,opt,name=parentId,proto3" json:"parentId,omitempty"`
+	ParentId int64 `protobuf:"varint,2,opt,name=parentId,proto3" json:"parentId,omitempty"`
 }
 
 func (x *GetShopNaviRequest) Reset() {
@@ -1039,7 +1039,7 @@ func (x *GetShopNaviRequest) GetShopId() int64 {
 	return 0
 }
 
-func (x *GetShopNaviRequest) GetParentId() int32 {
+func (x *GetShopNaviRequest) GetParentId() int64 {
 	if x != nil {
 		return x.ParentId
 	}
@@ -1916,7 +1916,7 @@ var file_base_proto_rawDesc = []byte{
 	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x68, 0x6f, 0x70, 0x49,
 	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x68, 0x6f, 0x70, 0x49, 0x64, 0x12,
 	0x1a, 0x0a, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
-	0x05, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xa5, 0x01, 0x0a, 0x06,
+	0x03, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xa5, 0x01, 0x0a, 0x06,
 	0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
 	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72,
 	0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04,

+ 1 - 1
proto/server/base.proto

@@ -234,7 +234,7 @@ enum WebStatus{
 message GetShopNaviRequest{
   int64 shopId = 1;
   // 最顶层为0
-  int32 parentId = 2;
+  int64 parentId = 2;
 }
 
 message Column{