account_pb.ts 1.6 KB

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