account.pb.go 11 KB

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