服务之间相互调用

This commit is contained in:
2026-08-24 10:06:52 +08:00
parent c33fbdb422
commit 80f428c032
49 changed files with 1756 additions and 35 deletions
+11 -2
View File
@@ -251,6 +251,7 @@ type EditAddressRequest struct {
DistrictIds string `protobuf:"bytes,5,opt,name=district_ids,json=districtIds,proto3" json:"district_ids,omitempty"`
Default bool `protobuf:"varint,6,opt,name=default,proto3" json:"default,omitempty"`
Id int64 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"`
Type int32 `protobuf:"varint,8,opt,name=type,proto3" json:"type,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -334,6 +335,13 @@ func (x *EditAddressRequest) GetId() int64 {
return 0
}
func (x *EditAddressRequest) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
type StatusAddressRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
@@ -805,7 +813,7 @@ const file_order_order_proto_rawDesc = "" +
"\x12CreateOrderRequest\x12\x1d\n" +
"\n" +
"address_id\x18\x01 \x01(\x03R\taddressId\x12\x12\n" +
"\x04note\x18\x02 \x01(\tR\x04note\"\xc3\x01\n" +
"\x04note\x18\x02 \x01(\tR\x04note\"\xd7\x01\n" +
"\x12EditAddressRequest\x12\x1a\n" +
"\bdistrict\x18\x01 \x01(\tR\bdistrict\x12\x18\n" +
"\aaddress\x18\x02 \x01(\tR\aaddress\x12\x12\n" +
@@ -813,7 +821,8 @@ const file_order_order_proto_rawDesc = "" +
"\x06mobile\x18\x04 \x01(\tR\x06mobile\x12!\n" +
"\fdistrict_ids\x18\x05 \x01(\tR\vdistrictIds\x12\x18\n" +
"\adefault\x18\x06 \x01(\bR\adefault\x12\x0e\n" +
"\x02id\x18\a \x01(\x03R\x02id\">\n" +
"\x02id\x18\a \x01(\x03R\x02id\x12\x12\n" +
"\x04type\x18\b \x01(\x05R\x04type\">\n" +
"\x14StatusAddressRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
"\x06status\x18\x02 \x01(\x05R\x06status\"\x0e\n" +