fix: internal user field
CI / changes (push) Successful in 39s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 1s
CI / bff (push) Successful in 21s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 1s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / payment (push) Successful in 1s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 1s
CI / task (push) Successful in 0s
CI / user (push) Successful in 22s
CI / wecom (push) Successful in 0s

This commit is contained in:
zzw
2026-09-16 15:27:15 +08:00
parent 052425970a
commit 9af9cc6059
4 changed files with 2 additions and 13 deletions
+2 -11
View File
@@ -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" +