附近小店
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

swagger.json 5.8 KiB

10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
10 mesi fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "移动端接口",
  5. "title": "智莺生活移动端接口",
  6. "termsOfService": "智莺生活后端组",
  7. "contact": {
  8. "name": "sherlockwhite"
  9. },
  10. "version": "1.0"
  11. },
  12. "host": "localhost:5000",
  13. "paths": {
  14. "/api/v1/communityTeam/agent/login": {
  15. "post": {
  16. "description": "登入",
  17. "consumes": [
  18. "application/json"
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "登陆"
  25. ],
  26. "summary": "登陆",
  27. "parameters": [
  28. {
  29. "description": "请求参数",
  30. "name": "req",
  31. "in": "body",
  32. "required": true,
  33. "schema": {
  34. "$ref": "#/definitions/md.FastLoginRequestBody"
  35. }
  36. }
  37. ],
  38. "responses": {
  39. "200": {
  40. "description": "OK",
  41. "schema": {
  42. "$ref": "#/definitions/md.LoginResponse"
  43. }
  44. },
  45. "400": {
  46. "description": "具体错误",
  47. "schema": {
  48. "$ref": "#/definitions/md.Response"
  49. }
  50. }
  51. }
  52. }
  53. }
  54. },
  55. "definitions": {
  56. "md.FastLoginRequestBody": {
  57. "type": "object",
  58. "properties": {
  59. "captcha": {
  60. "type": "string"
  61. },
  62. "card_key": {
  63. "description": "权益卡卡密",
  64. "type": "string"
  65. },
  66. "card_num": {
  67. "description": "权益卡卡号",
  68. "type": "string"
  69. },
  70. "invited_code": {
  71. "description": "邀请码",
  72. "type": "string"
  73. },
  74. "is_not_create": {
  75. "type": "string"
  76. },
  77. "mobile": {
  78. "type": "string"
  79. },
  80. "parent_uid": {
  81. "description": "上级ID",
  82. "type": "string"
  83. },
  84. "password": {
  85. "type": "string"
  86. },
  87. "pic_code": {
  88. "type": "string"
  89. },
  90. "pic_code_id": {
  91. "type": "string"
  92. },
  93. "return_user_msg": {
  94. "type": "string"
  95. },
  96. "task_id": {
  97. "type": "string"
  98. },
  99. "task_type": {
  100. "type": "string"
  101. },
  102. "type": {
  103. "type": "string"
  104. },
  105. "zone": {
  106. "type": "string"
  107. }
  108. }
  109. },
  110. "md.LoginResponse": {
  111. "type": "object",
  112. "properties": {
  113. "alipay_user_id": {
  114. "type": "string"
  115. },
  116. "avatar": {
  117. "type": "string"
  118. },
  119. "bind_phone_enable": {
  120. "type": "string"
  121. },
  122. "check_bind_phone": {
  123. "type": "string"
  124. },
  125. "invite_code": {
  126. "type": "string"
  127. },
  128. "is_need_check_nickname": {
  129. "type": "string"
  130. },
  131. "is_pid": {
  132. "type": "string"
  133. },
  134. "jd_applet_open_id": {
  135. "type": "string"
  136. },
  137. "password": {
  138. "type": "string"
  139. },
  140. "perms": {
  141. "type": "array",
  142. "items": {
  143. "type": "string"
  144. }
  145. },
  146. "phone": {
  147. "type": "string"
  148. },
  149. "register_invite_code_enable": {
  150. "description": "邀请码跳转是否开启",
  151. "type": "string"
  152. },
  153. "register_invite_code_should_input": {
  154. "description": "邀请码是否必填",
  155. "type": "string"
  156. },
  157. "token": {
  158. "type": "string"
  159. },
  160. "user_id": {
  161. "type": "string"
  162. },
  163. "username": {
  164. "type": "string"
  165. },
  166. "wechat_applet_open_id": {
  167. "type": "string"
  168. },
  169. "wechat_union_id": {
  170. "type": "string"
  171. }
  172. }
  173. },
  174. "md.Response": {
  175. "type": "object",
  176. "properties": {
  177. "code": {
  178. "type": "string",
  179. "example": "响应码"
  180. },
  181. "data": {
  182. "description": "内容"
  183. },
  184. "msg": {
  185. "type": "string",
  186. "example": "具体错误原因"
  187. }
  188. }
  189. }
  190. },
  191. "securityDefinitions": {
  192. "MasterID": {
  193. "type": "apiKey",
  194. "name": "MasterID",
  195. "in": "header"
  196. }
  197. }
  198. }