|
|
@@ -1,309 +0,0 @@
|
|
|
-// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
-// versions:
|
|
|
-// protoc-gen-go v1.26.0-devel
|
|
|
-// protoc v3.15.8
|
|
|
-// source: account.proto
|
|
|
-
|
|
|
-package account
|
|
|
-
|
|
|
-import (
|
|
|
- _ "google.golang.org/genproto/googleapis/api/annotations"
|
|
|
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
- reflect "reflect"
|
|
|
- sync "sync"
|
|
|
-)
|
|
|
-
|
|
|
-const (
|
|
|
- // Verify that this generated code is sufficiently up-to-date.
|
|
|
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
- // Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
-)
|
|
|
-
|
|
|
-type DebugLoginRequest struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- AccountId string `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId"`
|
|
|
- Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *DebugLoginRequest) Reset() {
|
|
|
- *x = DebugLoginRequest{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_account_proto_msgTypes[0]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *DebugLoginRequest) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*DebugLoginRequest) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_account_proto_msgTypes[0]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
|
|
|
-func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_account_proto_rawDescGZIP(), []int{0}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *DebugLoginRequest) GetAccountId() string {
|
|
|
- if x != nil {
|
|
|
- return x.AccountId
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-func (x *DebugLoginRequest) GetCode() string {
|
|
|
- if x != nil {
|
|
|
- return x.Code
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type LoginRequest struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- JsCode string `protobuf:"bytes,1,opt,name=jsCode,proto3" json:"jsCode"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *LoginRequest) Reset() {
|
|
|
- *x = LoginRequest{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_account_proto_msgTypes[1]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *LoginRequest) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*LoginRequest) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *LoginRequest) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_account_proto_msgTypes[1]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
|
|
|
-func (*LoginRequest) Descriptor() ([]byte, []int) {
|
|
|
- return file_account_proto_rawDescGZIP(), []int{1}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *LoginRequest) GetJsCode() string {
|
|
|
- if x != nil {
|
|
|
- return x.JsCode
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-type LoginReply struct {
|
|
|
- state protoimpl.MessageState
|
|
|
- sizeCache protoimpl.SizeCache
|
|
|
- unknownFields protoimpl.UnknownFields
|
|
|
-
|
|
|
- Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
|
|
|
-}
|
|
|
-
|
|
|
-func (x *LoginReply) Reset() {
|
|
|
- *x = LoginReply{}
|
|
|
- if protoimpl.UnsafeEnabled {
|
|
|
- mi := &file_account_proto_msgTypes[2]
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-func (x *LoginReply) String() string {
|
|
|
- return protoimpl.X.MessageStringOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-func (*LoginReply) ProtoMessage() {}
|
|
|
-
|
|
|
-func (x *LoginReply) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_account_proto_msgTypes[2]
|
|
|
- if protoimpl.UnsafeEnabled && x != nil {
|
|
|
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
- if ms.LoadMessageInfo() == nil {
|
|
|
- ms.StoreMessageInfo(mi)
|
|
|
- }
|
|
|
- return ms
|
|
|
- }
|
|
|
- return mi.MessageOf(x)
|
|
|
-}
|
|
|
-
|
|
|
-// Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
|
|
|
-func (*LoginReply) Descriptor() ([]byte, []int) {
|
|
|
- return file_account_proto_rawDescGZIP(), []int{2}
|
|
|
-}
|
|
|
-
|
|
|
-func (x *LoginReply) GetToken() string {
|
|
|
- if x != nil {
|
|
|
- return x.Token
|
|
|
- }
|
|
|
- return ""
|
|
|
-}
|
|
|
-
|
|
|
-var File_account_proto protoreflect.FileDescriptor
|
|
|
-
|
|
|
-var file_account_proto_rawDesc = []byte{
|
|
|
- 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
|
|
- 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x1c, 0x67, 0x6f,
|
|
|
- 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
|
|
|
- 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x11, 0x44, 0x65,
|
|
|
- 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
- 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
|
- 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a,
|
|
|
- 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
|
|
- 0x65, 0x22, 0x26, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
- 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x4c, 0x6f, 0x67,
|
|
|
- 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
|
|
|
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xb4, 0x02,
|
|
|
- 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x62, 0x0a, 0x0a, 0x44, 0x65, 0x62,
|
|
|
- 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63,
|
|
|
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
|
|
|
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63,
|
|
|
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79,
|
|
|
- 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c,
|
|
|
- 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0x6a, 0x0a,
|
|
|
- 0x10, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x4c, 0x6f, 0x67, 0x69,
|
|
|
- 0x6e, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e,
|
|
|
- 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61,
|
|
|
- 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
|
|
|
- 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x22, 0x17, 0x2f,
|
|
|
- 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x6d, 0x69, 0x6e, 0x69, 0x5f, 0x70,
|
|
|
- 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x3a, 0x01, 0x2a, 0x12, 0x59, 0x0a, 0x08, 0x57, 0x65, 0x62,
|
|
|
- 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f,
|
|
|
- 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
- 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c,
|
|
|
- 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02,
|
|
|
- 0x13, 0x22, 0x0e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x77, 0x65,
|
|
|
- 0x62, 0x3a, 0x01, 0x2a, 0x42, 0x46, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f,
|
|
|
- 0x75, 0x6e, 0x74, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61,
|
|
|
- 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d,
|
|
|
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x63,
|
|
|
- 0x6f, 0x75, 0x6e, 0x74, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72,
|
|
|
- 0x6f, 0x74, 0x6f, 0x33,
|
|
|
-}
|
|
|
-
|
|
|
-var (
|
|
|
- file_account_proto_rawDescOnce sync.Once
|
|
|
- file_account_proto_rawDescData = file_account_proto_rawDesc
|
|
|
-)
|
|
|
-
|
|
|
-func file_account_proto_rawDescGZIP() []byte {
|
|
|
- file_account_proto_rawDescOnce.Do(func() {
|
|
|
- file_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_account_proto_rawDescData)
|
|
|
- })
|
|
|
- return file_account_proto_rawDescData
|
|
|
-}
|
|
|
-
|
|
|
-var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
|
-var file_account_proto_goTypes = []interface{}{
|
|
|
- (*DebugLoginRequest)(nil), // 0: api.account.DebugLoginRequest
|
|
|
- (*LoginRequest)(nil), // 1: api.account.LoginRequest
|
|
|
- (*LoginReply)(nil), // 2: api.account.LoginReply
|
|
|
-}
|
|
|
-var file_account_proto_depIdxs = []int32{
|
|
|
- 0, // 0: api.account.Account.DebugLogin:input_type -> api.account.DebugLoginRequest
|
|
|
- 1, // 1: api.account.Account.MiniProgramLogin:input_type -> api.account.LoginRequest
|
|
|
- 1, // 2: api.account.Account.WebLogin:input_type -> api.account.LoginRequest
|
|
|
- 2, // 3: api.account.Account.DebugLogin:output_type -> api.account.LoginReply
|
|
|
- 2, // 4: api.account.Account.MiniProgramLogin:output_type -> api.account.LoginReply
|
|
|
- 2, // 5: api.account.Account.WebLogin:output_type -> api.account.LoginReply
|
|
|
- 3, // [3:6] is the sub-list for method output_type
|
|
|
- 0, // [0:3] is the sub-list for method input_type
|
|
|
- 0, // [0:0] is the sub-list for extension type_name
|
|
|
- 0, // [0:0] is the sub-list for extension extendee
|
|
|
- 0, // [0:0] is the sub-list for field type_name
|
|
|
-}
|
|
|
-
|
|
|
-func init() { file_account_proto_init() }
|
|
|
-func file_account_proto_init() {
|
|
|
- if File_account_proto != nil {
|
|
|
- return
|
|
|
- }
|
|
|
- if !protoimpl.UnsafeEnabled {
|
|
|
- file_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*DebugLoginRequest); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*LoginRequest); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- file_account_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
- switch v := v.(*LoginReply); i {
|
|
|
- case 0:
|
|
|
- return &v.state
|
|
|
- case 1:
|
|
|
- return &v.sizeCache
|
|
|
- case 2:
|
|
|
- return &v.unknownFields
|
|
|
- default:
|
|
|
- return nil
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- type x struct{}
|
|
|
- out := protoimpl.TypeBuilder{
|
|
|
- File: protoimpl.DescBuilder{
|
|
|
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
- RawDescriptor: file_account_proto_rawDesc,
|
|
|
- NumEnums: 0,
|
|
|
- NumMessages: 3,
|
|
|
- NumExtensions: 0,
|
|
|
- NumServices: 1,
|
|
|
- },
|
|
|
- GoTypes: file_account_proto_goTypes,
|
|
|
- DependencyIndexes: file_account_proto_depIdxs,
|
|
|
- MessageInfos: file_account_proto_msgTypes,
|
|
|
- }.Build()
|
|
|
- File_account_proto = out.File
|
|
|
- file_account_proto_rawDesc = nil
|
|
|
- file_account_proto_goTypes = nil
|
|
|
- file_account_proto_depIdxs = nil
|
|
|
-}
|