account_pb.ts 1.5 KB

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