feat: user info
This commit is contained in:
@@ -859,6 +859,8 @@ type InfoResponse struct {
|
||||
CountyName string `protobuf:"bytes,29,opt,name=county_name,json=countyName,proto3" json:"county_name,omitempty"`
|
||||
BuyAmount float64 `protobuf:"fixed64,30,opt,name=buy_amount,json=buyAmount,proto3" json:"buy_amount,omitempty"`
|
||||
ResidualNumber int32 `protobuf:"varint,31,opt,name=residual_number,json=residualNumber,proto3" json:"residual_number,omitempty"`
|
||||
Status int32 `protobuf:"varint,32,opt,name=status,proto3" json:"status,omitempty"`
|
||||
CreateTime string `protobuf:"bytes,33,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -1110,6 +1112,20 @@ func (x *InfoResponse) GetResidualNumber() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *InfoResponse) GetStatus() int32 {
|
||||
if x != nil {
|
||||
return x.Status
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *InfoResponse) GetCreateTime() string {
|
||||
if x != nil {
|
||||
return x.CreateTime
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type ItemsResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Items []*InfoResponse `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
||||
@@ -2331,7 +2347,7 @@ const file_store_store_proto_rawDesc = "" +
|
||||
"\tcity_name\x18\x1e \x01(\tR\bcityName\x12\x16\n" +
|
||||
"\x06county\x18\x1f \x01(\x03R\x06county\x12\x1f\n" +
|
||||
"\vcounty_name\x18 \x01(\tR\n" +
|
||||
"countyName\"\xa7\a\n" +
|
||||
"countyName\"\xe0\a\n" +
|
||||
"\fInfoResponse\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1f\n" +
|
||||
"\vuser_mobile\x18\x02 \x01(\tR\n" +
|
||||
@@ -2368,7 +2384,10 @@ const file_store_store_proto_rawDesc = "" +
|
||||
"countyName\x12\x1d\n" +
|
||||
"\n" +
|
||||
"buy_amount\x18\x1e \x01(\x01R\tbuyAmount\x12'\n" +
|
||||
"\x0fresidual_number\x18\x1f \x01(\x05R\x0eresidualNumber\":\n" +
|
||||
"\x0fresidual_number\x18\x1f \x01(\x05R\x0eresidualNumber\x12\x16\n" +
|
||||
"\x06status\x18 \x01(\x05R\x06status\x12\x1f\n" +
|
||||
"\vcreate_time\x18! \x01(\tR\n" +
|
||||
"createTime\":\n" +
|
||||
"\rItemsResponse\x12)\n" +
|
||||
"\x05items\x18\x01 \x03(\v2\x13.store.InfoResponseR\x05items\"8\n" +
|
||||
"\rToSaleRequest\x12\x0e\n" +
|
||||
|
||||
Binary file not shown.
@@ -125,6 +125,8 @@ message InfoResponse {
|
||||
string county_name = 29;
|
||||
double buy_amount = 30;
|
||||
int32 residual_number = 31;
|
||||
int32 status = 32;
|
||||
string create_time = 33;
|
||||
}
|
||||
|
||||
message ItemsResponse {
|
||||
|
||||
Reference in New Issue
Block a user