From 9af9cc60595e79d666d262198fe254da4aba67cb Mon Sep 17 00:00:00 2001 From: zzw <1464003642@qq.com> Date: Wed, 16 Sep 2026 15:27:15 +0800 Subject: [PATCH] fix: internal user field --- rpc/user/pb/user.pb.go | 13 ++----------- rpc/user/user.pb | Bin 16705 -> 16680 bytes rpc/user/user.proto | 1 - services/user/validator/user.go | 1 - 4 files changed, 2 insertions(+), 13 deletions(-) diff --git a/rpc/user/pb/user.pb.go b/rpc/user/pb/user.pb.go index bf9b3ad..6e2ef4a 100644 --- a/rpc/user/pb/user.pb.go +++ b/rpc/user/pb/user.pb.go @@ -1036,7 +1036,6 @@ func (x *InternalCheckUpdateData) GetResult() bool { type InternalUpdateReq struct { state protoimpl.MessageState `protogen:"open.v1"` - UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` @@ -1082,13 +1081,6 @@ func (*InternalUpdateReq) Descriptor() ([]byte, []int) { return file_user_user_proto_rawDescGZIP(), []int{17} } -func (x *InternalUpdateReq) GetUserId() int64 { - if x != nil { - return x.UserId - } - return 0 -} - func (x *InternalUpdateReq) GetMobile() string { if x != nil { return x.Mobile @@ -1340,9 +1332,8 @@ const file_user_user_proto_rawDesc = "" + "\x06mobile\x18\x02 \x01(\tR\x06mobile\x12!\n" + "\fsubject_type\x18\x03 \x01(\tR\vsubjectType\"1\n" + "\x17InternalCheckUpdateData\x12\x16\n" + - "\x06result\x18\x01 \x01(\bR\x06result\"\xe0\x02\n" + - "\x11InternalUpdateReq\x12\x17\n" + - "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x16\n" + + "\x06result\x18\x01 \x01(\bR\x06result\"\xc7\x02\n" + + "\x11InternalUpdateReq\x12\x16\n" + "\x06mobile\x18\x02 \x01(\tR\x06mobile\x12\x12\n" + "\x04name\x18\x03 \x01(\tR\x04name\x12\x16\n" + "\x06avatar\x18\x04 \x01(\tR\x06avatar\x12\x16\n" + diff --git a/rpc/user/user.pb b/rpc/user/user.pb index b8d6d0ccf869b8de4d0e54a6e9b88e588d83f749..a838d703e97893f470f42a4c1920619d907592c1 100644 GIT binary patch delta 47 zcmX@u#JHk~af6d7QMtLtW-AK- DtPm1u delta 51 zcmZ3{#CWiYaf6d7