account_pb.ts 1.6 KB

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