huge refactor
This commit is contained in:
parent
8d6c2b6687
commit
38829c0179
23 changed files with 544 additions and 141 deletions
|
|
@ -86,7 +86,7 @@ type Result struct {
|
|||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
MerchUuid string `protobuf:"bytes,1,opt,name=merch_uuid,json=merchUuid,proto3" json:"merch_uuid,omitempty"`
|
||||
OriginName string `protobuf:"bytes,2,opt,name=origin_name,json=originName,proto3" json:"origin_name,omitempty"`
|
||||
Price uint32 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"`
|
||||
Price int32 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
|
@ -135,7 +135,7 @@ func (x *Result) GetOriginName() string {
|
|||
return ""
|
||||
}
|
||||
|
||||
func (x *Result) GetPrice() uint32 {
|
||||
func (x *Result) GetPrice() int32 {
|
||||
if x != nil {
|
||||
return x.Price
|
||||
}
|
||||
|
|
@ -326,7 +326,7 @@ const file_task_proto_rawDesc = "" +
|
|||
"merch_uuid\x18\x01 \x01(\tR\tmerchUuid\x12\x1f\n" +
|
||||
"\vorigin_name\x18\x02 \x01(\tR\n" +
|
||||
"originName\x12\x14\n" +
|
||||
"\x05price\x18\x03 \x01(\rR\x05price\"\x18\n" +
|
||||
"\x05price\x18\x03 \x01(\x05R\x05price\"\x18\n" +
|
||||
"\x16ProcessorStatusRequest\"\xc5\x03\n" +
|
||||
"\x17ProcessorStatusResponse\x12\x1a\n" +
|
||||
"\bappStart\x18\x01 \x01(\x03R\bappStart\x12\x1c\n" +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue