From 7f9d917aff7443ee3eeb6fc183bcb815337b4eec Mon Sep 17 00:00:00 2001 From: sky Date: Wed, 10 Sep 2025 21:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=20protobuf?= =?UTF-8?q?=20=E4=BB=A3=E7=A0=81=20(tag:=20v1.13.0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- corestack/user/v1/bind.pb.go | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/corestack/user/v1/bind.pb.go b/corestack/user/v1/bind.pb.go index 73d5ead..446beb7 100644 --- a/corestack/user/v1/bind.pb.go +++ b/corestack/user/v1/bind.pb.go @@ -23,7 +23,8 @@ const ( type BindWxOpenIDRequest struct { state protoimpl.MessageState `protogen:"open.v1"` - Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` + AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` + Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -58,6 +59,13 @@ func (*BindWxOpenIDRequest) Descriptor() ([]byte, []int) { return file_corestack_user_v1_bind_proto_rawDescGZIP(), []int{0} } +func (x *BindWxOpenIDRequest) GetAppId() string { + if x != nil { + return x.AppId + } + return "" +} + func (x *BindWxOpenIDRequest) GetCode() string { if x != nil { return x.Code @@ -113,9 +121,10 @@ var File_corestack_user_v1_bind_proto protoreflect.FileDescriptor const file_corestack_user_v1_bind_proto_rawDesc = "" + "\n" + - "\x1ccorestack/user/v1/bind.proto\x12\x11corestack.user.v1\")\n" + - "\x13BindWxOpenIDRequest\x12\x12\n" + - "\x04code\x18\x01 \x01(\tR\x04code\"4\n" + + "\x1ccorestack/user/v1/bind.proto\x12\x11corestack.user.v1\"@\n" + + "\x13BindWxOpenIDRequest\x12\x15\n" + + "\x06app_id\x18\x01 \x01(\tR\x05appId\x12\x12\n" + + "\x04code\x18\x02 \x01(\tR\x04code\"4\n" + "\x14BindWxOpenIDResponse\x12\x1c\n" + "\n" + "wx_open_id\x18\x01 \x01(\tR\bwxOpenIdB;Z9git.shenxianhe.cn/shenxianhe/sdk/corestack/user/v1;userv1b\x06proto3"