account_pb.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. sex?:number;
  60. }
  61. export interface TokenReply{
  62. token?:string;
  63. appId?:string;
  64. }
  65. export interface DebugLoginRequest{
  66. id?:number;
  67. code?:string;
  68. }
  69. export interface LoginToken{
  70. pid?:string;
  71. type?:string;
  72. }