wx.pb.go 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.28.1-devel
  4. // protoc v3.21.8
  5. // source: wx.proto
  6. package wx
  7. import (
  8. account "git.ikuban.com/server/pw-protobuf/api/account"
  9. common "git.ikuban.com/server/pw-protobuf/api/common"
  10. _ "google.golang.org/genproto/googleapis/api/annotations"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. emptypb "google.golang.org/protobuf/types/known/emptypb"
  14. reflect "reflect"
  15. sync "sync"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type GetAccessTokenRequest struct {
  24. state protoimpl.MessageState
  25. sizeCache protoimpl.SizeCache
  26. unknownFields protoimpl.UnknownFields
  27. Appid string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid"`
  28. }
  29. func (x *GetAccessTokenRequest) Reset() {
  30. *x = GetAccessTokenRequest{}
  31. if protoimpl.UnsafeEnabled {
  32. mi := &file_wx_proto_msgTypes[0]
  33. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  34. ms.StoreMessageInfo(mi)
  35. }
  36. }
  37. func (x *GetAccessTokenRequest) String() string {
  38. return protoimpl.X.MessageStringOf(x)
  39. }
  40. func (*GetAccessTokenRequest) ProtoMessage() {}
  41. func (x *GetAccessTokenRequest) ProtoReflect() protoreflect.Message {
  42. mi := &file_wx_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 GetAccessTokenRequest.ProtoReflect.Descriptor instead.
  53. func (*GetAccessTokenRequest) Descriptor() ([]byte, []int) {
  54. return file_wx_proto_rawDescGZIP(), []int{0}
  55. }
  56. func (x *GetAccessTokenRequest) GetAppid() string {
  57. if x != nil {
  58. return x.Appid
  59. }
  60. return ""
  61. }
  62. type GetAccessTokenReply struct {
  63. state protoimpl.MessageState
  64. sizeCache protoimpl.SizeCache
  65. unknownFields protoimpl.UnknownFields
  66. AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token"`
  67. Errcode int64 `protobuf:"varint,2,opt,name=errcode,proto3" json:"errcode"`
  68. Errmsg string `protobuf:"bytes,3,opt,name=errmsg,proto3" json:"errmsg"`
  69. ExpiresIn int64 `protobuf:"varint,4,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in"`
  70. }
  71. func (x *GetAccessTokenReply) Reset() {
  72. *x = GetAccessTokenReply{}
  73. if protoimpl.UnsafeEnabled {
  74. mi := &file_wx_proto_msgTypes[1]
  75. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  76. ms.StoreMessageInfo(mi)
  77. }
  78. }
  79. func (x *GetAccessTokenReply) String() string {
  80. return protoimpl.X.MessageStringOf(x)
  81. }
  82. func (*GetAccessTokenReply) ProtoMessage() {}
  83. func (x *GetAccessTokenReply) ProtoReflect() protoreflect.Message {
  84. mi := &file_wx_proto_msgTypes[1]
  85. if protoimpl.UnsafeEnabled && x != nil {
  86. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  87. if ms.LoadMessageInfo() == nil {
  88. ms.StoreMessageInfo(mi)
  89. }
  90. return ms
  91. }
  92. return mi.MessageOf(x)
  93. }
  94. // Deprecated: Use GetAccessTokenReply.ProtoReflect.Descriptor instead.
  95. func (*GetAccessTokenReply) Descriptor() ([]byte, []int) {
  96. return file_wx_proto_rawDescGZIP(), []int{1}
  97. }
  98. func (x *GetAccessTokenReply) GetAccessToken() string {
  99. if x != nil {
  100. return x.AccessToken
  101. }
  102. return ""
  103. }
  104. func (x *GetAccessTokenReply) GetErrcode() int64 {
  105. if x != nil {
  106. return x.Errcode
  107. }
  108. return 0
  109. }
  110. func (x *GetAccessTokenReply) GetErrmsg() string {
  111. if x != nil {
  112. return x.Errmsg
  113. }
  114. return ""
  115. }
  116. func (x *GetAccessTokenReply) GetExpiresIn() int64 {
  117. if x != nil {
  118. return x.ExpiresIn
  119. }
  120. return 0
  121. }
  122. type GetUserMsgByKeyRequest struct {
  123. state protoimpl.MessageState
  124. sizeCache protoimpl.SizeCache
  125. unknownFields protoimpl.UnknownFields
  126. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key"`
  127. }
  128. func (x *GetUserMsgByKeyRequest) Reset() {
  129. *x = GetUserMsgByKeyRequest{}
  130. if protoimpl.UnsafeEnabled {
  131. mi := &file_wx_proto_msgTypes[2]
  132. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  133. ms.StoreMessageInfo(mi)
  134. }
  135. }
  136. func (x *GetUserMsgByKeyRequest) String() string {
  137. return protoimpl.X.MessageStringOf(x)
  138. }
  139. func (*GetUserMsgByKeyRequest) ProtoMessage() {}
  140. func (x *GetUserMsgByKeyRequest) ProtoReflect() protoreflect.Message {
  141. mi := &file_wx_proto_msgTypes[2]
  142. if protoimpl.UnsafeEnabled && x != nil {
  143. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  144. if ms.LoadMessageInfo() == nil {
  145. ms.StoreMessageInfo(mi)
  146. }
  147. return ms
  148. }
  149. return mi.MessageOf(x)
  150. }
  151. // Deprecated: Use GetUserMsgByKeyRequest.ProtoReflect.Descriptor instead.
  152. func (*GetUserMsgByKeyRequest) Descriptor() ([]byte, []int) {
  153. return file_wx_proto_rawDescGZIP(), []int{2}
  154. }
  155. func (x *GetUserMsgByKeyRequest) GetKey() string {
  156. if x != nil {
  157. return x.Key
  158. }
  159. return ""
  160. }
  161. type GetUserMsgByKeyReply struct {
  162. state protoimpl.MessageState
  163. sizeCache protoimpl.SizeCache
  164. unknownFields protoimpl.UnknownFields
  165. PartnerId string `protobuf:"bytes,1,opt,name=partnerId,proto3" json:"partnerId"`
  166. OpenId string `protobuf:"bytes,2,opt,name=openId,proto3" json:"openId"`
  167. AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId"`
  168. AppName string `protobuf:"bytes,4,opt,name=appName,proto3" json:"appName"`
  169. }
  170. func (x *GetUserMsgByKeyReply) Reset() {
  171. *x = GetUserMsgByKeyReply{}
  172. if protoimpl.UnsafeEnabled {
  173. mi := &file_wx_proto_msgTypes[3]
  174. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  175. ms.StoreMessageInfo(mi)
  176. }
  177. }
  178. func (x *GetUserMsgByKeyReply) String() string {
  179. return protoimpl.X.MessageStringOf(x)
  180. }
  181. func (*GetUserMsgByKeyReply) ProtoMessage() {}
  182. func (x *GetUserMsgByKeyReply) ProtoReflect() protoreflect.Message {
  183. mi := &file_wx_proto_msgTypes[3]
  184. if protoimpl.UnsafeEnabled && x != nil {
  185. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  186. if ms.LoadMessageInfo() == nil {
  187. ms.StoreMessageInfo(mi)
  188. }
  189. return ms
  190. }
  191. return mi.MessageOf(x)
  192. }
  193. // Deprecated: Use GetUserMsgByKeyReply.ProtoReflect.Descriptor instead.
  194. func (*GetUserMsgByKeyReply) Descriptor() ([]byte, []int) {
  195. return file_wx_proto_rawDescGZIP(), []int{3}
  196. }
  197. func (x *GetUserMsgByKeyReply) GetPartnerId() string {
  198. if x != nil {
  199. return x.PartnerId
  200. }
  201. return ""
  202. }
  203. func (x *GetUserMsgByKeyReply) GetOpenId() string {
  204. if x != nil {
  205. return x.OpenId
  206. }
  207. return ""
  208. }
  209. func (x *GetUserMsgByKeyReply) GetAppId() string {
  210. if x != nil {
  211. return x.AppId
  212. }
  213. return ""
  214. }
  215. func (x *GetUserMsgByKeyReply) GetAppName() string {
  216. if x != nil {
  217. return x.AppName
  218. }
  219. return ""
  220. }
  221. type ReduceUserUnreadRequest struct {
  222. state protoimpl.MessageState
  223. sizeCache protoimpl.SizeCache
  224. unknownFields protoimpl.UnknownFields
  225. AccountId int64 `protobuf:"varint,1,opt,name=accountId,proto3" json:"accountId"`
  226. PersonId string `protobuf:"bytes,2,opt,name=personId,proto3" json:"personId"`
  227. }
  228. func (x *ReduceUserUnreadRequest) Reset() {
  229. *x = ReduceUserUnreadRequest{}
  230. if protoimpl.UnsafeEnabled {
  231. mi := &file_wx_proto_msgTypes[4]
  232. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  233. ms.StoreMessageInfo(mi)
  234. }
  235. }
  236. func (x *ReduceUserUnreadRequest) String() string {
  237. return protoimpl.X.MessageStringOf(x)
  238. }
  239. func (*ReduceUserUnreadRequest) ProtoMessage() {}
  240. func (x *ReduceUserUnreadRequest) ProtoReflect() protoreflect.Message {
  241. mi := &file_wx_proto_msgTypes[4]
  242. if protoimpl.UnsafeEnabled && x != nil {
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. if ms.LoadMessageInfo() == nil {
  245. ms.StoreMessageInfo(mi)
  246. }
  247. return ms
  248. }
  249. return mi.MessageOf(x)
  250. }
  251. // Deprecated: Use ReduceUserUnreadRequest.ProtoReflect.Descriptor instead.
  252. func (*ReduceUserUnreadRequest) Descriptor() ([]byte, []int) {
  253. return file_wx_proto_rawDescGZIP(), []int{4}
  254. }
  255. func (x *ReduceUserUnreadRequest) GetAccountId() int64 {
  256. if x != nil {
  257. return x.AccountId
  258. }
  259. return 0
  260. }
  261. func (x *ReduceUserUnreadRequest) GetPersonId() string {
  262. if x != nil {
  263. return x.PersonId
  264. }
  265. return ""
  266. }
  267. type SendNewMessageUnreadReminderRequest struct {
  268. state protoimpl.MessageState
  269. sizeCache protoimpl.SizeCache
  270. unknownFields protoimpl.UnknownFields
  271. PersonId string `protobuf:"bytes,1,opt,name=personId,proto3" json:"personId"`
  272. SendPersonId string `protobuf:"bytes,2,opt,name=sendPersonId,proto3" json:"sendPersonId"`
  273. }
  274. func (x *SendNewMessageUnreadReminderRequest) Reset() {
  275. *x = SendNewMessageUnreadReminderRequest{}
  276. if protoimpl.UnsafeEnabled {
  277. mi := &file_wx_proto_msgTypes[5]
  278. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  279. ms.StoreMessageInfo(mi)
  280. }
  281. }
  282. func (x *SendNewMessageUnreadReminderRequest) String() string {
  283. return protoimpl.X.MessageStringOf(x)
  284. }
  285. func (*SendNewMessageUnreadReminderRequest) ProtoMessage() {}
  286. func (x *SendNewMessageUnreadReminderRequest) ProtoReflect() protoreflect.Message {
  287. mi := &file_wx_proto_msgTypes[5]
  288. if protoimpl.UnsafeEnabled && x != nil {
  289. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  290. if ms.LoadMessageInfo() == nil {
  291. ms.StoreMessageInfo(mi)
  292. }
  293. return ms
  294. }
  295. return mi.MessageOf(x)
  296. }
  297. // Deprecated: Use SendNewMessageUnreadReminderRequest.ProtoReflect.Descriptor instead.
  298. func (*SendNewMessageUnreadReminderRequest) Descriptor() ([]byte, []int) {
  299. return file_wx_proto_rawDescGZIP(), []int{5}
  300. }
  301. func (x *SendNewMessageUnreadReminderRequest) GetPersonId() string {
  302. if x != nil {
  303. return x.PersonId
  304. }
  305. return ""
  306. }
  307. func (x *SendNewMessageUnreadReminderRequest) GetSendPersonId() string {
  308. if x != nil {
  309. return x.SendPersonId
  310. }
  311. return ""
  312. }
  313. var File_wx_proto protoreflect.FileDescriptor
  314. var file_wx_proto_rawDesc = []byte{
  315. 0x0a, 0x08, 0x77, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x61, 0x70, 0x69, 0x2e,
  316. 0x77, 0x78, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
  317. 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  318. 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  319. 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x61,
  320. 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  321. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x63, 0x63, 0x6f,
  322. 0x75, 0x6e, 0x74, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  323. 0x6f, 0x22, 0x2d, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f,
  324. 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70,
  325. 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64,
  326. 0x22, 0x89, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f,
  327. 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65,
  328. 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  329. 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65,
  330. 0x72, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x72,
  331. 0x72, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18,
  332. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x1d, 0x0a,
  333. 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
  334. 0x03, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x49, 0x6e, 0x22, 0x2a, 0x0a, 0x16,
  335. 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x52,
  336. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
  337. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x7c, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55,
  338. 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79,
  339. 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
  340. 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16,
  341. 0x0a, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  342. 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18,
  343. 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07,
  344. 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61,
  345. 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x53, 0x0a, 0x17, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65,
  346. 0x55, 0x73, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  347. 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x01,
  348. 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12,
  349. 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
  350. 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x65, 0x0a, 0x23, 0x53,
  351. 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 0x6e, 0x72,
  352. 0x65, 0x61, 0x64, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
  353. 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01,
  354. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x22,
  355. 0x0a, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x02,
  356. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x64, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e,
  357. 0x49, 0x64, 0x32, 0x82, 0x07, 0x0a, 0x02, 0x57, 0x78, 0x12, 0x42, 0x0a, 0x0e, 0x43, 0x72, 0x6f,
  358. 0x6e, 0x53, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f,
  359. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
  360. 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  361. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4a, 0x0a,
  362. 0x16, 0x43, 0x72, 0x6f, 0x6e, 0x53, 0x65, 0x6e, 0x64, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x54,
  363. 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  364. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a,
  365. 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  366. 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x65, 0x0a, 0x1c, 0x53, 0x65, 0x6e,
  367. 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61,
  368. 0x64, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x2b, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  369. 0x77, 0x78, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
  370. 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64, 0x65, 0x72, 0x52,
  371. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  372. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00,
  373. 0x12, 0x55, 0x0a, 0x1e, 0x53, 0x65, 0x6e, 0x64, 0x4e, 0x65, 0x77, 0x56, 0x69, 0x73, 0x69, 0x74,
  374. 0x6f, 0x72, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x69, 0x6e, 0x64,
  375. 0x65, 0x72, 0x12, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  376. 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x49, 0x44, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x1a, 0x16, 0x2e,
  377. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  378. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x10, 0x52, 0x65, 0x64, 0x75, 0x63,
  379. 0x65, 0x55, 0x73, 0x65, 0x72, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x12, 0x1f, 0x2e, 0x61, 0x70,
  380. 0x69, 0x2e, 0x77, 0x78, 0x2e, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x55,
  381. 0x6e, 0x72, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67,
  382. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
  383. 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x51, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
  384. 0x72, 0x4d, 0x73, 0x67, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x1e, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  385. 0x77, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x42, 0x79, 0x4b,
  386. 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  387. 0x77, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x42, 0x79, 0x4b,
  388. 0x65, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x06, 0x57, 0x78, 0x43,
  389. 0x6f, 0x6e, 0x66, 0x12, 0x15, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  390. 0x2e, 0x57, 0x78, 0x43, 0x6f, 0x6e, 0x66, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x61, 0x70, 0x69,
  391. 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x57, 0x78, 0x43, 0x6f, 0x6e, 0x66, 0x52, 0x65,
  392. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x19, 0x22, 0x14,
  393. 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x77, 0x78, 0x2f, 0x6a, 0x73, 0x73, 0x64, 0x6b, 0x2f, 0x63, 0x6f,
  394. 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0x74, 0x0a, 0x13, 0x55, 0x70, 0x6c, 0x6f, 0x61,
  395. 0x64, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x56, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x14,
  396. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x64,
  397. 0x69, 0x61, 0x49, 0x44, 0x1a, 0x19, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x63, 0x63, 0x6f, 0x75,
  398. 0x6e, 0x74, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x22,
  399. 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x21, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f,
  400. 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x75, 0x70,
  401. 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0x4b, 0x0a,
  402. 0x17, 0x43, 0x72, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x6c, 0x64, 0x55, 0x73,
  403. 0x65, 0x72, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  404. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
  405. 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  406. 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0e, 0x47, 0x65,
  407. 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d, 0x2e, 0x61,
  408. 0x70, 0x69, 0x2e, 0x77, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54,
  409. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x70,
  410. 0x69, 0x2e, 0x77, 0x78, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f,
  411. 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17,
  412. 0x12, 0x15, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73,
  413. 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x37, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x2e, 0x77,
  414. 0x78, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x2e, 0x69, 0x6b, 0x75, 0x62, 0x61, 0x6e, 0x2e,
  415. 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x77, 0x2d, 0x70, 0x72,
  416. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x77, 0x78, 0x3b, 0x77, 0x78,
  417. 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  418. }
  419. var (
  420. file_wx_proto_rawDescOnce sync.Once
  421. file_wx_proto_rawDescData = file_wx_proto_rawDesc
  422. )
  423. func file_wx_proto_rawDescGZIP() []byte {
  424. file_wx_proto_rawDescOnce.Do(func() {
  425. file_wx_proto_rawDescData = protoimpl.X.CompressGZIP(file_wx_proto_rawDescData)
  426. })
  427. return file_wx_proto_rawDescData
  428. }
  429. var file_wx_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  430. var file_wx_proto_goTypes = []interface{}{
  431. (*GetAccessTokenRequest)(nil), // 0: api.wx.GetAccessTokenRequest
  432. (*GetAccessTokenReply)(nil), // 1: api.wx.GetAccessTokenReply
  433. (*GetUserMsgByKeyRequest)(nil), // 2: api.wx.GetUserMsgByKeyRequest
  434. (*GetUserMsgByKeyReply)(nil), // 3: api.wx.GetUserMsgByKeyReply
  435. (*ReduceUserUnreadRequest)(nil), // 4: api.wx.ReduceUserUnreadRequest
  436. (*SendNewMessageUnreadReminderRequest)(nil), // 5: api.wx.SendNewMessageUnreadReminderRequest
  437. (*emptypb.Empty)(nil), // 6: google.protobuf.Empty
  438. (*common.PersonIDParam)(nil), // 7: api.common.PersonIDParam
  439. (*common.WxConfReq)(nil), // 8: api.common.WxConfReq
  440. (*account.MediaID)(nil), // 9: api.account.MediaID
  441. (*common.WxConfResponse)(nil), // 10: api.common.WxConfResponse
  442. (*account.MaterialLink)(nil), // 11: api.account.MaterialLink
  443. }
  444. var file_wx_proto_depIdxs = []int32{
  445. 6, // 0: api.wx.Wx.CronSignInUser:input_type -> google.protobuf.Empty
  446. 6, // 1: api.wx.Wx.CronSendUnreadTemplate:input_type -> google.protobuf.Empty
  447. 5, // 2: api.wx.Wx.SendNewMessageUnreadReminder:input_type -> api.wx.SendNewMessageUnreadReminderRequest
  448. 7, // 3: api.wx.Wx.SendNewVisitorTemplateReminder:input_type -> api.common.PersonIDParam
  449. 4, // 4: api.wx.Wx.ReduceUserUnread:input_type -> api.wx.ReduceUserUnreadRequest
  450. 2, // 5: api.wx.Wx.GetUserMsgByKey:input_type -> api.wx.GetUserMsgByKeyRequest
  451. 8, // 6: api.wx.Wx.WxConf:input_type -> api.common.WxConfReq
  452. 9, // 7: api.wx.Wx.UploadMaterialVoice:input_type -> api.account.MediaID
  453. 6, // 8: api.wx.Wx.CronDeleteOldUserSelect:input_type -> google.protobuf.Empty
  454. 0, // 9: api.wx.Wx.GetAccessToken:input_type -> api.wx.GetAccessTokenRequest
  455. 6, // 10: api.wx.Wx.CronSignInUser:output_type -> google.protobuf.Empty
  456. 6, // 11: api.wx.Wx.CronSendUnreadTemplate:output_type -> google.protobuf.Empty
  457. 6, // 12: api.wx.Wx.SendNewMessageUnreadReminder:output_type -> google.protobuf.Empty
  458. 6, // 13: api.wx.Wx.SendNewVisitorTemplateReminder:output_type -> google.protobuf.Empty
  459. 6, // 14: api.wx.Wx.ReduceUserUnread:output_type -> google.protobuf.Empty
  460. 3, // 15: api.wx.Wx.GetUserMsgByKey:output_type -> api.wx.GetUserMsgByKeyReply
  461. 10, // 16: api.wx.Wx.WxConf:output_type -> api.common.WxConfResponse
  462. 11, // 17: api.wx.Wx.UploadMaterialVoice:output_type -> api.account.MaterialLink
  463. 6, // 18: api.wx.Wx.CronDeleteOldUserSelect:output_type -> google.protobuf.Empty
  464. 1, // 19: api.wx.Wx.GetAccessToken:output_type -> api.wx.GetAccessTokenReply
  465. 10, // [10:20] is the sub-list for method output_type
  466. 0, // [0:10] is the sub-list for method input_type
  467. 0, // [0:0] is the sub-list for extension type_name
  468. 0, // [0:0] is the sub-list for extension extendee
  469. 0, // [0:0] is the sub-list for field type_name
  470. }
  471. func init() { file_wx_proto_init() }
  472. func file_wx_proto_init() {
  473. if File_wx_proto != nil {
  474. return
  475. }
  476. if !protoimpl.UnsafeEnabled {
  477. file_wx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  478. switch v := v.(*GetAccessTokenRequest); i {
  479. case 0:
  480. return &v.state
  481. case 1:
  482. return &v.sizeCache
  483. case 2:
  484. return &v.unknownFields
  485. default:
  486. return nil
  487. }
  488. }
  489. file_wx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  490. switch v := v.(*GetAccessTokenReply); i {
  491. case 0:
  492. return &v.state
  493. case 1:
  494. return &v.sizeCache
  495. case 2:
  496. return &v.unknownFields
  497. default:
  498. return nil
  499. }
  500. }
  501. file_wx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  502. switch v := v.(*GetUserMsgByKeyRequest); i {
  503. case 0:
  504. return &v.state
  505. case 1:
  506. return &v.sizeCache
  507. case 2:
  508. return &v.unknownFields
  509. default:
  510. return nil
  511. }
  512. }
  513. file_wx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  514. switch v := v.(*GetUserMsgByKeyReply); i {
  515. case 0:
  516. return &v.state
  517. case 1:
  518. return &v.sizeCache
  519. case 2:
  520. return &v.unknownFields
  521. default:
  522. return nil
  523. }
  524. }
  525. file_wx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  526. switch v := v.(*ReduceUserUnreadRequest); i {
  527. case 0:
  528. return &v.state
  529. case 1:
  530. return &v.sizeCache
  531. case 2:
  532. return &v.unknownFields
  533. default:
  534. return nil
  535. }
  536. }
  537. file_wx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  538. switch v := v.(*SendNewMessageUnreadReminderRequest); i {
  539. case 0:
  540. return &v.state
  541. case 1:
  542. return &v.sizeCache
  543. case 2:
  544. return &v.unknownFields
  545. default:
  546. return nil
  547. }
  548. }
  549. }
  550. type x struct{}
  551. out := protoimpl.TypeBuilder{
  552. File: protoimpl.DescBuilder{
  553. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  554. RawDescriptor: file_wx_proto_rawDesc,
  555. NumEnums: 0,
  556. NumMessages: 6,
  557. NumExtensions: 0,
  558. NumServices: 1,
  559. },
  560. GoTypes: file_wx_proto_goTypes,
  561. DependencyIndexes: file_wx_proto_depIdxs,
  562. MessageInfos: file_wx_proto_msgTypes,
  563. }.Build()
  564. File_wx_proto = out.File
  565. file_wx_proto_rawDesc = nil
  566. file_wx_proto_goTypes = nil
  567. file_wx_proto_depIdxs = nil
  568. }