account_pb.ts 1.3 KB

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