swagger.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "title": "go-common api",
  5. "description": "api",
  6. "version": "1.0",
  7. "contact": {
  8. "email": "lintanghui@bilibili.com"
  9. },
  10. "license": {
  11. "name": "Apache 2.0",
  12. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  13. }
  14. },
  15. "paths": {
  16. "/x/admin/passport/userBindLog": {
  17. "get": {
  18. "operationId": "/x/admin/passport/userBindLog",
  19. "parameters": [
  20. {
  21. "in": "query",
  22. "name": "query",
  23. "type": "string"
  24. },
  25. {
  26. "in": "query",
  27. "name": "page",
  28. "type": "integer",
  29. "format": "int64"
  30. },
  31. {
  32. "in": "query",
  33. "name": "size",
  34. "type": "integer",
  35. "format": "int64"
  36. },
  37. {
  38. "in": "query",
  39. "name": "from",
  40. "type": "integer",
  41. "format": "int64"
  42. },
  43. {
  44. "in": "query",
  45. "name": "to",
  46. "type": "integer",
  47. "format": "int64"
  48. },
  49. {
  50. "in": "query",
  51. "name": "mid",
  52. "type": "integer",
  53. "format": "int64"
  54. }
  55. ],
  56. "responses": {
  57. "200": {
  58. "description": "服务成功响应内容",
  59. "schema": {
  60. "type": "object",
  61. "properties": {
  62. "code": {
  63. "description": "错误码描述",
  64. "type": "integer"
  65. },
  66. "data": {
  67. "$ref": "#/definitions/UserBindLogRes",
  68. "type": "object"
  69. },
  70. "message": {
  71. "description": "错误码文本描述",
  72. "type": "string"
  73. },
  74. "ttl": {
  75. "description": "客户端限速时间",
  76. "type": "integer",
  77. "format": "int64"
  78. }
  79. }
  80. }
  81. }
  82. }
  83. }
  84. }
  85. },
  86. "definitions": {
  87. "Page": {
  88. "title": "Page",
  89. "description": "Page Page",
  90. "type": "object",
  91. "properties": {
  92. "Num": {
  93. "type": "integer",
  94. "format": "int64"
  95. },
  96. "Size": {
  97. "type": "integer",
  98. "format": "int64"
  99. },
  100. "Total": {
  101. "type": "integer",
  102. "format": "int64"
  103. }
  104. }
  105. },
  106. "UserBindLog": {
  107. "title": "UserBindLog",
  108. "description": "UserBindLog UserBindLog",
  109. "type": "object",
  110. "properties": {
  111. "EMail": {
  112. "type": "string"
  113. },
  114. "Mid": {
  115. "type": "integer",
  116. "format": "int64"
  117. },
  118. "Phone": {
  119. "type": "string"
  120. },
  121. "Time": {
  122. "type": "string"
  123. }
  124. }
  125. },
  126. "UserBindLogRes": {
  127. "title": "UserBindLogRes",
  128. "description": "UserBindLogRes UserBindLogRes",
  129. "type": "object",
  130. "properties": {
  131. "Page": {
  132. "$ref": "#/definitions/Page",
  133. "type": "object"
  134. },
  135. "Result": {
  136. "type": "array",
  137. "items": {
  138. "$ref": "#/definitions/UserBindLog",
  139. "type": "object"
  140. }
  141. }
  142. }
  143. }
  144. }
  145. }