account_pb.ts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. export interface FindIdentifyByAccountIDAndIsSubscribeRequest{
  2. accountIds?:Array<number>;
  3. }
  4. export interface FindIdentifyByAccountIDAndIsSubscribeReply{
  5. list?:Array<FindIdentifyByAccountIDInfo>;
  6. }
  7. export interface FindIdentifyByAccountIDInfo{
  8. openId?:string;
  9. appid?:string;
  10. accountId?:number;
  11. }
  12. export interface GetGetGzhConfigReply{
  13. /** 公众号Id */
  14. appId?:string;
  15. /** 公众号名称 */
  16. name?:string;
  17. /** 公众号图片 */
  18. imageUrl?:string;
  19. /** 公众号隐私政策链接 */
  20. privacyPolicyUrl?:string;
  21. /** 公众号用户协议链接 */
  22. userAgreementUrl?:string;
  23. }
  24. export interface GetIdentifyByAccountIDRequest{
  25. accountId?:number;
  26. appid?:string;
  27. }
  28. export interface GetIdentifyByAccountIDReply{
  29. openId?:string;
  30. appid?:string;
  31. }
  32. export interface CheckTextRequest{
  33. /** 待审核的文本 */
  34. text?:string;
  35. }
  36. export interface CheckTextReply{
  37. /** 是否通过 */
  38. isPass?:boolean;
  39. }
  40. export interface MediaID{
  41. mediaId?:string;
  42. }
  43. export interface MaterialLink{
  44. link?:string;
  45. }
  46. export interface RandomNicknameReply{
  47. nickname?:string;
  48. }
  49. export interface RandomAvatarReply{
  50. avatarUrl?:string;
  51. }
  52. export interface RandomAvatarListReply{
  53. list?:Array<string>;
  54. }
  55. export interface OpenIDAndAppIDRequest{
  56. openId?:string;
  57. appId?:string;
  58. }
  59. export interface IdentityInfo{
  60. pid?:string;
  61. }
  62. export interface UserInfoDB{
  63. /** id */
  64. id?:string;
  65. /** 昵称 */
  66. nickname?:string;
  67. /** 头像链接 */
  68. avatarUrl?:string;
  69. /** 手机号 */
  70. phone?:string;
  71. /** 性别 */
  72. sex?:number;
  73. /** 积分 */
  74. credit?:number;
  75. }
  76. export interface PartnerInfoDB{
  77. /** id */
  78. id?:string;
  79. /** 昵称 */
  80. nickname?:string;
  81. /** 头像链接 */
  82. avatarUrl?:string;
  83. /** 手机号 */
  84. phone?:string;
  85. /** 性别 */
  86. sex?:number;
  87. /** 积分 */
  88. credit?:number;
  89. }
  90. export interface AuthorizationRequest{
  91. jsCode?:string;
  92. appId?:string;
  93. type?:string;
  94. fromOpenId?:string;
  95. sex?:number;
  96. }
  97. export interface TokenReply{
  98. token?:string;
  99. appId?:string;
  100. }
  101. export interface DebugLoginRequest{
  102. id?:number;
  103. code?:string;
  104. }
  105. export interface LoginToken{
  106. pid?:string;
  107. type?:string;
  108. }