diff --git a/product.pb.go b/product.pb.go index 727b876..caf5275 100644 --- a/product.pb.go +++ b/product.pb.go @@ -73,7 +73,7 @@ func (m *GetRequest) GetField() string { type GetUuidRequest struct { SiteId *string `protobuf:"bytes,1,opt,name=site_id" json:"site_id,omitempty"` Dbname *string `protobuf:"bytes,2,opt,name=dbname" json:"dbname,omitempty"` - Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"` + Uuid *string `protobuf:"bytes,3,opt,name=uuid" json:"uuid,omitempty"` Field *string `protobuf:"bytes,4,opt,name=field" json:"field,omitempty"` XXX_unrecognized []byte `json:"-"` } @@ -96,9 +96,9 @@ func (m *GetUuidRequest) GetDbname() string { return "" } -func (m *GetUuidRequest) GetId() string { - if m != nil && m.Id != nil { - return *m.Id +func (m *GetUuidRequest) GetUuid() string { + if m != nil && m.Uuid != nil { + return *m.Uuid } return "" } diff --git a/product.proto b/product.proto index 5ae3fcf..049e39d 100644 --- a/product.proto +++ b/product.proto @@ -12,7 +12,7 @@ message GetRequest { message GetUuidRequest { string site_id = 1; string dbname = 2; - string id = 3; + string uuid = 3; string field = 4; }