account_pb.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. openId?:string;
  22. }
  23. export interface UserInfoDB{
  24. /** id */
  25. id?:string;
  26. /** 昵称 */
  27. nickname?:string;
  28. /** 头像链接 */
  29. avatarUrl?:string;
  30. /** 手机号 */
  31. phone?:string;
  32. /** 性别 */
  33. sex?:number;
  34. /** 积分 */
  35. credit?:number;
  36. }
  37. export interface PartnerInfoDB{
  38. /** id */
  39. id?:string;
  40. /** 昵称 */
  41. nickname?:string;
  42. /** 头像链接 */
  43. avatarUrl?:string;
  44. /** 手机号 */
  45. phone?:string;
  46. /** 性别 */
  47. sex?:number;
  48. /** 积分 */
  49. credit?:number;
  50. }
  51. export interface AuthorizationRequest{
  52. jsCode?:string;
  53. appId?:string;
  54. type?:string;
  55. fromOpenId?:string;
  56. }
  57. export interface TokenReply{
  58. token?:string;
  59. appId?:string;
  60. }
  61. export interface DebugLoginRequest{
  62. id?:number;
  63. code?:string;
  64. }
  65. export interface LoginToken{
  66. pid?:string;
  67. type?:string;
  68. }