account.pb.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.26.0-devel
  4. // protoc v3.15.8
  5. // source: account.proto
  6. package account
  7. import (
  8. _ "google.golang.org/genproto/googleapis/api/annotations"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type DebugLoginRequest struct {
  21. state protoimpl.MessageState
  22. sizeCache protoimpl.SizeCache
  23. unknownFields protoimpl.UnknownFields
  24. AccountId string `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId"`
  25. Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code"`
  26. }
  27. func (x *DebugLoginRequest) Reset() {
  28. *x = DebugLoginRequest{}
  29. if protoimpl.UnsafeEnabled {
  30. mi := &file_account_proto_msgTypes[0]
  31. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  32. ms.StoreMessageInfo(mi)
  33. }
  34. }
  35. func (x *DebugLoginRequest) String() string {
  36. return protoimpl.X.MessageStringOf(x)
  37. }
  38. func (*DebugLoginRequest) ProtoMessage() {}
  39. func (x *DebugLoginRequest) ProtoReflect() protoreflect.Message {
  40. mi := &file_account_proto_msgTypes[0]
  41. if protoimpl.UnsafeEnabled && x != nil {
  42. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  43. if ms.LoadMessageInfo() == nil {
  44. ms.StoreMessageInfo(mi)
  45. }
  46. return ms
  47. }
  48. return mi.MessageOf(x)
  49. }
  50. // Deprecated: Use DebugLoginRequest.ProtoReflect.Descriptor instead.
  51. func (*DebugLoginRequest) Descriptor() ([]byte, []int) {
  52. return file_account_proto_rawDescGZIP(), []int{0}
  53. }
  54. func (x *DebugLoginRequest) GetAccountId() string {
  55. if x != nil {
  56. return x.AccountId
  57. }
  58. return ""
  59. }
  60. func (x *DebugLoginRequest) GetCode() string {
  61. if x != nil {
  62. return x.Code
  63. }
  64. return ""
  65. }
  66. type LoginRequest struct {
  67. state protoimpl.MessageState
  68. sizeCache protoimpl.SizeCache
  69. unknownFields protoimpl.UnknownFields
  70. JsCode string `protobuf:"bytes,1,opt,name=jsCode,proto3" json:"jsCode"`
  71. }
  72. func (x *LoginRequest) Reset() {
  73. *x = LoginRequest{}
  74. if protoimpl.UnsafeEnabled {
  75. mi := &file_account_proto_msgTypes[1]
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. ms.StoreMessageInfo(mi)
  78. }
  79. }
  80. func (x *LoginRequest) String() string {
  81. return protoimpl.X.MessageStringOf(x)
  82. }
  83. func (*LoginRequest) ProtoMessage() {}
  84. func (x *LoginRequest) ProtoReflect() protoreflect.Message {
  85. mi := &file_account_proto_msgTypes[1]
  86. if protoimpl.UnsafeEnabled && x != nil {
  87. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  88. if ms.LoadMessageInfo() == nil {
  89. ms.StoreMessageInfo(mi)
  90. }
  91. return ms
  92. }
  93. return mi.MessageOf(x)
  94. }
  95. // Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
  96. func (*LoginRequest) Descriptor() ([]byte, []int) {
  97. return file_account_proto_rawDescGZIP(), []int{1}
  98. }
  99. func (x *LoginRequest) GetJsCode() string {
  100. if x != nil {
  101. return x.JsCode
  102. }
  103. return ""
  104. }
  105. type LoginReply struct {
  106. state protoimpl.MessageState
  107. sizeCache protoimpl.SizeCache
  108. unknownFields protoimpl.UnknownFields
  109. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
  110. }
  111. func (x *LoginReply) Reset() {
  112. *x = LoginReply{}
  113. if protoimpl.UnsafeEnabled {
  114. mi := &file_account_proto_msgTypes[2]
  115. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  116. ms.StoreMessageInfo(mi)
  117. }
  118. }
  119. func (x *LoginReply) String() string {
  120. return protoimpl.X.MessageStringOf(x)
  121. }
  122. func (*LoginReply) ProtoMessage() {}
  123. func (x *LoginReply) ProtoReflect() protoreflect.Message {
  124. mi := &file_account_proto_msgTypes[2]
  125. if protoimpl.UnsafeEnabled && x != nil {
  126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  127. if ms.LoadMessageInfo() == nil {
  128. ms.StoreMessageInfo(mi)
  129. }
  130. return ms
  131. }
  132. return mi.MessageOf(x)
  133. }
  134. // Deprecated: Use LoginReply.ProtoReflect.Descriptor instead.
  135. func (*LoginReply) Descriptor() ([]byte, []int) {
  136. return file_account_proto_rawDescGZIP(), []int{2}
  137. }
  138. func (x *LoginReply) GetToken() string {
  139. if x != nil {
  140. return x.Token
  141. }
  142. return ""
  143. }
  144. var File_account_proto protoreflect.FileDescriptor
  145. var file_account_proto_rawDesc = []byte{
  146. 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  147. 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x1c, 0x67, 0x6f,
  148. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  149. 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x45, 0x0a, 0x11, 0x44, 0x65,
  150. 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  151. 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
  152. 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a,
  153. 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64,
  154. 0x65, 0x22, 0x26, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  155. 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  156. 0x09, 0x52, 0x06, 0x6a, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x4c, 0x6f, 0x67,
  157. 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
  158. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xb4, 0x02,
  159. 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x62, 0x0a, 0x0a, 0x44, 0x65, 0x62,
  160. 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63,
  161. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
  162. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63,
  163. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79,
  164. 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c,
  165. 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0x6a, 0x0a,
  166. 0x10, 0x4d, 0x69, 0x6e, 0x69, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x4c, 0x6f, 0x67, 0x69,
  167. 0x6e, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e,
  168. 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x61,
  169. 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
  170. 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x22, 0x17, 0x2f,
  171. 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x6d, 0x69, 0x6e, 0x69, 0x5f, 0x70,
  172. 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x3a, 0x01, 0x2a, 0x12, 0x59, 0x0a, 0x08, 0x57, 0x65, 0x62,
  173. 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f,
  174. 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  175. 0x1a, 0x17, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4c,
  176. 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02,
  177. 0x13, 0x22, 0x0e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2f, 0x77, 0x65,
  178. 0x62, 0x3a, 0x01, 0x2a, 0x42, 0x46, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f,
  179. 0x75, 0x6e, 0x74, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61,
  180. 0x6e, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d,
  181. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x63,
  182. 0x6f, 0x75, 0x6e, 0x74, 0x3b, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72,
  183. 0x6f, 0x74, 0x6f, 0x33,
  184. }
  185. var (
  186. file_account_proto_rawDescOnce sync.Once
  187. file_account_proto_rawDescData = file_account_proto_rawDesc
  188. )
  189. func file_account_proto_rawDescGZIP() []byte {
  190. file_account_proto_rawDescOnce.Do(func() {
  191. file_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_account_proto_rawDescData)
  192. })
  193. return file_account_proto_rawDescData
  194. }
  195. var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  196. var file_account_proto_goTypes = []interface{}{
  197. (*DebugLoginRequest)(nil), // 0: api.account.DebugLoginRequest
  198. (*LoginRequest)(nil), // 1: api.account.LoginRequest
  199. (*LoginReply)(nil), // 2: api.account.LoginReply
  200. }
  201. var file_account_proto_depIdxs = []int32{
  202. 0, // 0: api.account.Account.DebugLogin:input_type -> api.account.DebugLoginRequest
  203. 1, // 1: api.account.Account.MiniProgramLogin:input_type -> api.account.LoginRequest
  204. 1, // 2: api.account.Account.WebLogin:input_type -> api.account.LoginRequest
  205. 2, // 3: api.account.Account.DebugLogin:output_type -> api.account.LoginReply
  206. 2, // 4: api.account.Account.MiniProgramLogin:output_type -> api.account.LoginReply
  207. 2, // 5: api.account.Account.WebLogin:output_type -> api.account.LoginReply
  208. 3, // [3:6] is the sub-list for method output_type
  209. 0, // [0:3] is the sub-list for method input_type
  210. 0, // [0:0] is the sub-list for extension type_name
  211. 0, // [0:0] is the sub-list for extension extendee
  212. 0, // [0:0] is the sub-list for field type_name
  213. }
  214. func init() { file_account_proto_init() }
  215. func file_account_proto_init() {
  216. if File_account_proto != nil {
  217. return
  218. }
  219. if !protoimpl.UnsafeEnabled {
  220. file_account_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  221. switch v := v.(*DebugLoginRequest); i {
  222. case 0:
  223. return &v.state
  224. case 1:
  225. return &v.sizeCache
  226. case 2:
  227. return &v.unknownFields
  228. default:
  229. return nil
  230. }
  231. }
  232. file_account_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  233. switch v := v.(*LoginRequest); i {
  234. case 0:
  235. return &v.state
  236. case 1:
  237. return &v.sizeCache
  238. case 2:
  239. return &v.unknownFields
  240. default:
  241. return nil
  242. }
  243. }
  244. file_account_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  245. switch v := v.(*LoginReply); i {
  246. case 0:
  247. return &v.state
  248. case 1:
  249. return &v.sizeCache
  250. case 2:
  251. return &v.unknownFields
  252. default:
  253. return nil
  254. }
  255. }
  256. }
  257. type x struct{}
  258. out := protoimpl.TypeBuilder{
  259. File: protoimpl.DescBuilder{
  260. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  261. RawDescriptor: file_account_proto_rawDesc,
  262. NumEnums: 0,
  263. NumMessages: 3,
  264. NumExtensions: 0,
  265. NumServices: 1,
  266. },
  267. GoTypes: file_account_proto_goTypes,
  268. DependencyIndexes: file_account_proto_depIdxs,
  269. MessageInfos: file_account_proto_msgTypes,
  270. }.Build()
  271. File_account_proto = out.File
  272. file_account_proto_rawDesc = nil
  273. file_account_proto_goTypes = nil
  274. file_account_proto_depIdxs = nil
  275. }