附近小店
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

docs.go 6.4 KiB

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