account_pb.ts 1.9 KB

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