account_pb.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. export interface MediaID{
  2. mediaId?:string;
  3. }
  4. export interface MaterialLink{
  5. link?:string;
  6. }
  7. export interface RandomNicknameReply{
  8. nickname?:string;
  9. }
  10. export interface RandomAvatarReply{
  11. avatarUrl?:string;
  12. }
  13. export interface OpenIDAndAppIDRequest{
  14. openId?:string;
  15. appId?:string;
  16. }
  17. export interface IdentityInfo{
  18. pid?:string;
  19. type?:string;
  20. identityID?:number;
  21. }
  22. export interface UserInfoDB{
  23. /** id */
  24. id?:string;
  25. /** 昵称 */
  26. nickname?:string;
  27. /** 头像链接 */
  28. avatarUrl?:string;
  29. /** 手机号 */
  30. phone?:string;
  31. /** 性别 */
  32. sex?:number;
  33. /** 积分 */
  34. credit?:number;
  35. }
  36. export interface PartnerInfoDB{
  37. /** id */
  38. id?:string;
  39. /** 昵称 */
  40. nickname?:string;
  41. /** 头像链接 */
  42. avatarUrl?:string;
  43. /** 手机号 */
  44. phone?:string;
  45. /** 性别 */
  46. sex?:number;
  47. /** 积分 */
  48. credit?:number;
  49. }
  50. export interface AuthorizationRequest{
  51. jsCode?:string;
  52. appId?:string;
  53. type?:string;
  54. fromOpenId?:string;
  55. }
  56. export interface TokenReply{
  57. token?:string;
  58. appId?:string;
  59. }
  60. export interface DebugLoginRequest{
  61. id?:number;
  62. code?:string;
  63. }
  64. export interface LoginToken{
  65. pid?:string;
  66. type?:string;
  67. }