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

997 行
25 KiB

  1. basePath: /api/v1
  2. definitions:
  3. applet_app_md.Paginate:
  4. properties:
  5. limit:
  6. description: 每页大小
  7. type: integer
  8. page:
  9. description: 页数
  10. type: integer
  11. total:
  12. description: 总数据量
  13. type: integer
  14. type: object
  15. md.BasalRateResp:
  16. properties:
  17. basal_rate:
  18. description: 基础速率
  19. type: string
  20. consumed_egg_energy:
  21. description: 收益蛋蛋能量
  22. type: string
  23. consumed_egg_point:
  24. description: 消耗蛋蛋积分
  25. type: string
  26. consumed_time:
  27. description: 消耗时间/小时
  28. type: string
  29. estimated_revenue:
  30. description: 预估收益蛋蛋能量
  31. type: string
  32. remaining_egg_energy:
  33. description: 剩余蛋蛋能量
  34. type: string
  35. remaining_time:
  36. description: 剩余时间/小时
  37. type: string
  38. sign_countdown:
  39. description: 收益倒计时
  40. type: string
  41. type: object
  42. md.EggEnergyDetailReq:
  43. properties:
  44. asc:
  45. description: 1.升序 2.倒序
  46. type: string
  47. direction:
  48. description: 类型 1.收入 2.支出 全部则传空
  49. type: string
  50. kind:
  51. description: 类型:1. 个人蛋蛋能量 2.团队蛋蛋能量
  52. type: string
  53. limit:
  54. description: 每页大小
  55. type: integer
  56. page:
  57. description: 页数
  58. type: integer
  59. type:
  60. description: 变动类型 全部则传空
  61. type: string
  62. type: object
  63. md.EggEnergyDetailResp:
  64. properties:
  65. list:
  66. description: 流水数据
  67. items:
  68. additionalProperties:
  69. type: string
  70. type: object
  71. type: array
  72. paginate:
  73. allOf:
  74. - $ref: '#/definitions/applet_app_md.Paginate'
  75. description: 分页信息
  76. person_egg_energy:
  77. description: 个人蛋蛋能量
  78. type: string
  79. team_egg_energy:
  80. description: 团队蛋蛋能量
  81. type: string
  82. total_egg_energy:
  83. description: 总蛋蛋能量
  84. type: string
  85. total_egg_energy_price:
  86. description: 蛋蛋能量总价
  87. type: string
  88. transfer_type_list:
  89. allOf:
  90. - $ref: '#/definitions/md.TransferTypeList'
  91. description: 转账类型列表
  92. type: object
  93. md.EggPointDetailsReq:
  94. properties:
  95. asc:
  96. description: 1.升序 2.倒序
  97. type: string
  98. direction:
  99. description: 类型 1.收入 2.支出 全部则传空
  100. type: string
  101. kind:
  102. description: 类型:1. 个人蛋蛋积分 2.团队蛋蛋积分
  103. type: string
  104. limit:
  105. description: 每页大小
  106. type: integer
  107. page:
  108. description: 页数
  109. type: integer
  110. type:
  111. description: 变动类型 全部则传空
  112. type: string
  113. type: object
  114. md.EggPointDetailsResp:
  115. properties:
  116. list:
  117. description: 流水数据
  118. items:
  119. additionalProperties:
  120. type: string
  121. type: object
  122. type: array
  123. paginate:
  124. allOf:
  125. - $ref: '#/definitions/applet_app_md.Paginate'
  126. description: 分页信息
  127. person_egg_points:
  128. description: 个人蛋蛋积分
  129. type: string
  130. team_egg_points:
  131. description: 团队蛋蛋积分
  132. type: string
  133. total_egg_points:
  134. description: 总蛋蛋积分
  135. type: string
  136. total_egg_points_amount:
  137. description: 蛋蛋积分余额
  138. type: string
  139. transfer_type_list:
  140. allOf:
  141. - $ref: '#/definitions/md.TransferTypeList'
  142. description: 转账类型列表
  143. type: object
  144. md.FastLoginReq:
  145. properties:
  146. invite_code:
  147. example: 邀请码
  148. type: string
  149. token:
  150. example: 一键登录的token
  151. type: string
  152. type: object
  153. md.HomePageResp:
  154. properties:
  155. egg_energy_now_price:
  156. description: 蛋蛋能量当前价格
  157. type: string
  158. initial_price:
  159. description: 蛋蛋能量初始价格
  160. type: string
  161. is_rises:
  162. description: 是否涨价
  163. type: boolean
  164. is_sign:
  165. description: 是否开始签到
  166. type: boolean
  167. nick_name:
  168. description: 用户名称
  169. type: string
  170. now_basal_rate:
  171. description: 当前基础速率/小时
  172. type: string
  173. now_team_rate:
  174. description: 当前团队速率/小时
  175. type: string
  176. rises:
  177. description: 涨/跌价百分比
  178. type: string
  179. sign_end_time:
  180. description: 签到截止时间
  181. type: string
  182. total_active_points:
  183. description: 总蛋蛋积分
  184. type: string
  185. total_egg_energy:
  186. description: 总蛋蛋能量
  187. type: string
  188. user_count:
  189. description: 当前用户数量
  190. type: integer
  191. type: object
  192. md.HomePageWatchAdRuleResp:
  193. properties:
  194. each_round_hour:
  195. description: 每一轮X个小时
  196. type: string
  197. interval_minutes:
  198. description: 间隔X秒
  199. type: string
  200. reward_total_num:
  201. description: 一共X个奖励视屏
  202. type: string
  203. reward_value:
  204. description: 奖励X个活跃积分
  205. type: string
  206. type: object
  207. md.IntegralList:
  208. properties:
  209. expend_list:
  210. description: 支出类型列表
  211. items:
  212. $ref: '#/definitions/md.TransferTypeNode'
  213. type: array
  214. income_list:
  215. description: 收入类型列表
  216. items:
  217. $ref: '#/definitions/md.TransferTypeNode'
  218. type: array
  219. type: object
  220. md.IsCanGetRedPackageResp:
  221. properties:
  222. is_can_get_red_package:
  223. type: boolean
  224. type: object
  225. md.IsCanSignInResp:
  226. properties:
  227. is_can_sign_in:
  228. type: boolean
  229. type: object
  230. md.LoginReq:
  231. properties:
  232. code:
  233. example: 验证码
  234. type: string
  235. password:
  236. example: 登录密码
  237. type: string
  238. phone:
  239. example: 手机号
  240. type: string
  241. required:
  242. - password
  243. - phone
  244. type: object
  245. md.LoginResponse:
  246. properties:
  247. token:
  248. type: string
  249. type: object
  250. md.MemberCenterGetBasicResp:
  251. properties:
  252. active_num:
  253. description: 活跃值
  254. type: string
  255. amount:
  256. description: 账户余额
  257. type: string
  258. contribution_value:
  259. description: 贡献值
  260. type: string
  261. date:
  262. description: 兑换时间(每月x日)
  263. type: string
  264. egg_energy:
  265. description: 能量值
  266. type: string
  267. egg_energy_value:
  268. description: 能量预估价值
  269. type: string
  270. egg_score:
  271. description: 蛋蛋分
  272. type: string
  273. level_name:
  274. description: 会员等级名称
  275. type: string
  276. nickname:
  277. description: 会员名称
  278. type: string
  279. ratio:
  280. description: 兑换比例(x:y)
  281. type: string
  282. type: object
  283. md.MyFansResp:
  284. properties:
  285. now_team_assistance_num:
  286. description: 团队助力人数
  287. type: integer
  288. now_team_assistance_reward:
  289. description: 团队助力收益
  290. type: string
  291. now_team_user:
  292. description: 团队人数
  293. type: integer
  294. type: object
  295. md.MyFansUserListResp:
  296. properties:
  297. list:
  298. items:
  299. $ref: '#/definitions/md.OneLineUserNode'
  300. type: array
  301. type: object
  302. md.NineDimensionalSpaceResp:
  303. properties:
  304. a_lot_of_nums:
  305. description: 全网至多用户数
  306. type: string
  307. space_list:
  308. description: 数据列表
  309. items:
  310. $ref: '#/definitions/md.SpaceListNode'
  311. type: array
  312. space_nums:
  313. description: 空间人数
  314. type: string
  315. space_total_nums:
  316. description: 空间总数
  317. type: string
  318. type: object
  319. md.OneLineUserNode:
  320. properties:
  321. avatar_url:
  322. type: string
  323. invite_time:
  324. type: string
  325. is_online:
  326. type: boolean
  327. nickname:
  328. type: string
  329. type: object
  330. md.RealTimePriceResp:
  331. properties:
  332. is_rises:
  333. type: boolean
  334. now_price:
  335. type: string
  336. rises:
  337. type: string
  338. user_count:
  339. type: string
  340. type: object
  341. md.RegisterReq:
  342. properties:
  343. avatar:
  344. example: 头像
  345. type: string
  346. code:
  347. example: 验证码
  348. type: string
  349. invite_code:
  350. example: 邀请码
  351. type: string
  352. mobile:
  353. type: string
  354. nickname:
  355. example: 昵称
  356. type: string
  357. open_id:
  358. example: 微信openId
  359. type: string
  360. sex:
  361. description: 性别(0:未知 1:男 2:女)
  362. type: integer
  363. type:
  364. example: app:APP注册、h5:H5注册
  365. type: string
  366. union_id:
  367. example: 微信UnionId
  368. type: string
  369. required:
  370. - mobile
  371. type: object
  372. md.Response:
  373. properties:
  374. code:
  375. example: 响应码
  376. type: string
  377. data:
  378. description: 内容
  379. msg:
  380. example: 具体错误原因
  381. type: string
  382. type: object
  383. md.SmsSendReq:
  384. properties:
  385. captcha_output:
  386. example: 阿里云图形验证码对应参数
  387. type: string
  388. gen_time:
  389. example: 阿里云图形验证码对应参数
  390. type: string
  391. lot_number:
  392. example: 阿里云图形验证码对应参数
  393. type: string
  394. mobile:
  395. type: string
  396. pass_token:
  397. example: 阿里云图形验证码对应参数
  398. type: string
  399. type:
  400. example: h5Register:h5注册页、wechatBindPhone:微信绑定手机、login:登陆、findPwd:找回密码、changePwd:修改密码
  401. type: string
  402. required:
  403. - mobile
  404. type: object
  405. md.SpaceListNode:
  406. properties:
  407. max_count:
  408. description: 最大容纳人数
  409. type: string
  410. name:
  411. description: 维度
  412. type: string
  413. now_count:
  414. description: 当前人数
  415. type: string
  416. type: object
  417. md.TotalRateResp:
  418. properties:
  419. consumed_personal_egg_point:
  420. description: 消耗个人蛋蛋积分
  421. type: string
  422. consumed_team_egg_point:
  423. description: 消耗团队蛋蛋积分
  424. type: string
  425. now_basal_rate:
  426. description: 当前基础速率/小时
  427. type: string
  428. now_team_rate:
  429. description: 当前团队速率/小时
  430. type: string
  431. now_total_rate:
  432. description: 总速率/小时
  433. type: string
  434. type: object
  435. md.TransferTypeList:
  436. properties:
  437. available_integral_list:
  438. allOf:
  439. - $ref: '#/definitions/md.IntegralList'
  440. description: 可用积分列表
  441. settlement_integral_list:
  442. allOf:
  443. - $ref: '#/definitions/md.IntegralList'
  444. description: 结算积分列表
  445. type: object
  446. md.TransferTypeNode:
  447. properties:
  448. name:
  449. type: string
  450. value:
  451. type: string
  452. type: object
  453. md.UserInfoResp:
  454. properties:
  455. invite_code:
  456. type: string
  457. is_bind_extend:
  458. example: 是否绑定了上级 0否 1是
  459. type: string
  460. nickname:
  461. type: string
  462. phone:
  463. type: string
  464. type: object
  465. host: ddxq.izhim.com
  466. info:
  467. contact:
  468. email: 1239118001@qq.com
  469. name: dengbiao
  470. url: http://www.swagger.io/support
  471. description: APP客户端-Api接口
  472. license:
  473. name: Apache 2.0
  474. url: http://www.apache.org/licenses/LICENSE-2.0.html
  475. termsOfService: http://swagger.io/terms/
  476. title: 蛋蛋星球-APP客户端
  477. version: "1.0"
  478. paths:
  479. /api/v1/addFriend/basalRate:
  480. get:
  481. consumes:
  482. - application/json
  483. description: 基础速率(获取)
  484. parameters:
  485. - description: 验证参数Bearer和token空格拼接
  486. in: header
  487. name: Authorization
  488. required: true
  489. type: string
  490. produces:
  491. - application/json
  492. responses:
  493. "200":
  494. description: 具体数据
  495. schema:
  496. $ref: '#/definitions/md.BasalRateResp'
  497. "400":
  498. description: 具体错误
  499. schema:
  500. $ref: '#/definitions/md.Response'
  501. summary: 蛋蛋星球-添加好友-基础速率(获取)
  502. tags:
  503. - 添加好友
  504. /api/v1/addFriend/eggEnergyDetails:
  505. post:
  506. consumes:
  507. - application/json
  508. description: 蛋蛋能量明细(获取)
  509. parameters:
  510. - description: 验证参数Bearer和token空格拼接
  511. in: header
  512. name: Authorization
  513. required: true
  514. type: string
  515. - description: 分页类型必填
  516. in: body
  517. name: req
  518. required: true
  519. schema:
  520. $ref: '#/definitions/md.EggEnergyDetailReq'
  521. produces:
  522. - application/json
  523. responses:
  524. "200":
  525. description: 具体数据
  526. schema:
  527. $ref: '#/definitions/md.EggEnergyDetailResp'
  528. "400":
  529. description: 具体错误
  530. schema:
  531. $ref: '#/definitions/md.Response'
  532. summary: 蛋蛋星球-添加好友-蛋蛋能量明细(获取)
  533. tags:
  534. - 添加好友
  535. /api/v1/addFriend/eggPointDetails:
  536. post:
  537. consumes:
  538. - application/json
  539. description: 蛋蛋积分明细(获取)
  540. parameters:
  541. - description: 验证参数Bearer和token空格拼接
  542. in: header
  543. name: Authorization
  544. required: true
  545. type: string
  546. - description: 分页类型必填
  547. in: body
  548. name: req
  549. required: true
  550. schema:
  551. $ref: '#/definitions/md.EggPointDetailsReq'
  552. produces:
  553. - application/json
  554. responses:
  555. "200":
  556. description: 具体数据
  557. schema:
  558. $ref: '#/definitions/md.EggPointDetailsResp'
  559. "400":
  560. description: 具体错误
  561. schema:
  562. $ref: '#/definitions/md.Response'
  563. summary: 蛋蛋星球-添加好友-蛋蛋积分明细(获取)
  564. tags:
  565. - 添加好友
  566. /api/v1/addFriend/myFans:
  567. get:
  568. consumes:
  569. - application/json
  570. description: 团队加速速率(获取)
  571. parameters:
  572. - description: 验证参数Bearer和token空格拼接
  573. in: header
  574. name: Authorization
  575. required: true
  576. type: string
  577. produces:
  578. - application/json
  579. responses:
  580. "200":
  581. description: 具体数据
  582. schema:
  583. $ref: '#/definitions/md.MyFansResp'
  584. "400":
  585. description: 具体错误
  586. schema:
  587. $ref: '#/definitions/md.Response'
  588. summary: 蛋蛋星球-添加好友-粉丝团队-我的粉丝-团队加速速率(获取)
  589. tags:
  590. - 添加好友
  591. /api/v1/addFriend/myFansUserList:
  592. get:
  593. consumes:
  594. - application/json
  595. description: 在线好友列表(获取)
  596. parameters:
  597. - description: 验证参数Bearer和token空格拼接
  598. in: header
  599. name: Authorization
  600. required: true
  601. type: string
  602. produces:
  603. - application/json
  604. responses:
  605. "200":
  606. description: 具体数据
  607. schema:
  608. $ref: '#/definitions/md.MyFansUserListResp'
  609. "400":
  610. description: 具体错误
  611. schema:
  612. $ref: '#/definitions/md.Response'
  613. summary: 蛋蛋星球-添加好友-粉丝团队-我的粉丝-在线好友列表(获取)
  614. tags:
  615. - 添加好友
  616. /api/v1/addFriend/nineDimensionalSpace:
  617. get:
  618. consumes:
  619. - application/json
  620. description: 九维空间(获取)
  621. parameters:
  622. - description: 验证参数Bearer和token空格拼接
  623. in: header
  624. name: Authorization
  625. required: true
  626. type: string
  627. produces:
  628. - application/json
  629. responses:
  630. "200":
  631. description: 具体数据
  632. schema:
  633. $ref: '#/definitions/md.NineDimensionalSpaceResp'
  634. "400":
  635. description: 具体错误
  636. schema:
  637. $ref: '#/definitions/md.Response'
  638. summary: 蛋蛋星球-添加好友-粉丝团队-九维空间(获取)
  639. tags:
  640. - 添加好友
  641. /api/v1/addFriend/totalRate:
  642. get:
  643. consumes:
  644. - application/json
  645. description: 总速率(获取)
  646. parameters:
  647. - description: 验证参数Bearer和token空格拼接
  648. in: header
  649. name: Authorization
  650. required: true
  651. type: string
  652. produces:
  653. - application/json
  654. responses:
  655. "200":
  656. description: 具体数据
  657. schema:
  658. $ref: '#/definitions/md.TotalRateResp'
  659. "400":
  660. description: 具体错误
  661. schema:
  662. $ref: '#/definitions/md.Response'
  663. summary: 蛋蛋星球-添加好友-总速率(获取)
  664. tags:
  665. - 添加好友
  666. /api/v1/comm/getOssUrl:
  667. get:
  668. consumes:
  669. - application/json
  670. description: 上传许可链接(获取)
  671. parameters:
  672. - description: 验证参数Bearer和token空格拼接
  673. in: header
  674. name: Authorization
  675. required: true
  676. type: string
  677. produces:
  678. - application/json
  679. responses:
  680. "200":
  681. description: 许可链接
  682. schema:
  683. type: string
  684. "400":
  685. description: 具体错误
  686. schema:
  687. $ref: '#/definitions/md.Response'
  688. summary: 通用请求-对象存储-上传许可链接(获取)
  689. tags:
  690. - 对象存储
  691. /api/v1/fastLogin:
  692. post:
  693. consumes:
  694. - application/json
  695. description: 一键登录
  696. parameters:
  697. - description: 注册参数
  698. in: body
  699. name: req
  700. required: true
  701. schema:
  702. $ref: '#/definitions/md.FastLoginReq'
  703. produces:
  704. - application/json
  705. responses:
  706. "200":
  707. description: 登录成功返回
  708. schema:
  709. $ref: '#/definitions/md.LoginResponse'
  710. "400":
  711. description: 具体错误
  712. schema:
  713. $ref: '#/definitions/md.Response'
  714. summary: 一键登录
  715. tags:
  716. - 一键登录
  717. /api/v1/homePage/adRule:
  718. get:
  719. consumes:
  720. - application/json
  721. description: 视频奖励规则(获取)
  722. parameters:
  723. - description: 验证参数Bearer和token空格拼接
  724. in: header
  725. name: Authorization
  726. required: true
  727. type: string
  728. produces:
  729. - application/json
  730. responses:
  731. "200":
  732. description: 具体数据
  733. schema:
  734. $ref: '#/definitions/md.HomePageWatchAdRuleResp'
  735. "400":
  736. description: 具体错误
  737. schema:
  738. $ref: '#/definitions/md.Response'
  739. summary: 蛋蛋星球-主页-视频奖励规则(获取)
  740. tags:
  741. - 主页
  742. /api/v1/homePage/index:
  743. get:
  744. consumes:
  745. - application/json
  746. description: 基础信息(获取)
  747. parameters:
  748. - description: 验证参数Bearer和token空格拼接
  749. in: header
  750. name: Authorization
  751. required: true
  752. type: string
  753. produces:
  754. - application/json
  755. responses:
  756. "200":
  757. description: 具体数据
  758. schema:
  759. $ref: '#/definitions/md.HomePageResp'
  760. "400":
  761. description: 具体错误
  762. schema:
  763. $ref: '#/definitions/md.Response'
  764. summary: 蛋蛋星球-主页-基础信息(获取)
  765. tags:
  766. - 主页
  767. /api/v1/homePage/isCanGetRedPackage:
  768. get:
  769. consumes:
  770. - application/json
  771. description: 是否可以领取红包(获取)
  772. parameters:
  773. - description: 验证参数Bearer和token空格拼接
  774. in: header
  775. name: Authorization
  776. required: true
  777. type: string
  778. produces:
  779. - application/json
  780. responses:
  781. "200":
  782. description: 具体数据
  783. schema:
  784. $ref: '#/definitions/md.IsCanGetRedPackageResp'
  785. "400":
  786. description: 具体错误
  787. schema:
  788. $ref: '#/definitions/md.Response'
  789. summary: 蛋蛋星球-主页-是否领取红包(获取)
  790. tags:
  791. - 主页
  792. /api/v1/homePage/isCanSignIn:
  793. get:
  794. consumes:
  795. - application/json
  796. description: 是否可以签到(获取)
  797. parameters:
  798. - description: 验证参数Bearer和token空格拼接
  799. in: header
  800. name: Authorization
  801. required: true
  802. type: string
  803. produces:
  804. - application/json
  805. responses:
  806. "200":
  807. description: 具体数据
  808. schema:
  809. $ref: '#/definitions/md.IsCanSignInResp'
  810. "400":
  811. description: 具体错误
  812. schema:
  813. $ref: '#/definitions/md.Response'
  814. summary: 蛋蛋星球-主页-是否能签到(获取)
  815. tags:
  816. - 主页
  817. /api/v1/homePage/realTimePrice:
  818. get:
  819. consumes:
  820. - application/json
  821. description: 实时数据(获取)
  822. parameters:
  823. - description: 验证参数Bearer和token空格拼接
  824. in: header
  825. name: Authorization
  826. required: true
  827. type: string
  828. produces:
  829. - application/json
  830. responses:
  831. "200":
  832. description: 具体数据
  833. schema:
  834. $ref: '#/definitions/md.RealTimePriceResp'
  835. "400":
  836. description: 具体错误
  837. schema:
  838. $ref: '#/definitions/md.Response'
  839. summary: 蛋蛋星球-主页-实时数据(获取)
  840. tags:
  841. - 主页
  842. /api/v1/login:
  843. post:
  844. consumes:
  845. - application/json
  846. description: 登入
  847. parameters:
  848. - description: 用户名密码
  849. in: body
  850. name: req
  851. required: true
  852. schema:
  853. $ref: '#/definitions/md.LoginReq'
  854. produces:
  855. - application/json
  856. responses:
  857. "200":
  858. description: token
  859. schema:
  860. $ref: '#/definitions/md.LoginResponse'
  861. "400":
  862. description: 具体错误
  863. schema:
  864. $ref: '#/definitions/md.Response'
  865. summary: 登陆
  866. tags:
  867. - 登录
  868. /api/v1/memberCenter/getBasic:
  869. get:
  870. consumes:
  871. - application/json
  872. description: 基础数据(获取)
  873. parameters:
  874. - description: 验证参数Bearer和token空格拼接
  875. in: header
  876. name: Authorization
  877. required: true
  878. type: string
  879. produces:
  880. - application/json
  881. responses:
  882. "200":
  883. description: 具体数据
  884. schema:
  885. $ref: '#/definitions/md.MemberCenterGetBasicResp'
  886. "400":
  887. description: 具体错误
  888. schema:
  889. $ref: '#/definitions/md.Response'
  890. summary: 蛋蛋星球-会员中心-基础数据(获取)
  891. tags:
  892. - 会员中心
  893. /api/v1/register:
  894. post:
  895. consumes:
  896. - application/json
  897. description: 注册
  898. parameters:
  899. - description: 注册参数
  900. in: body
  901. name: req
  902. required: true
  903. schema:
  904. $ref: '#/definitions/md.RegisterReq'
  905. produces:
  906. - application/json
  907. responses:
  908. "200":
  909. description: 登录成功返回
  910. schema:
  911. $ref: '#/definitions/md.LoginResponse'
  912. "400":
  913. description: 具体错误
  914. schema:
  915. $ref: '#/definitions/md.Response'
  916. summary: 注册
  917. tags:
  918. - 注册
  919. /api/v1/smsSend:
  920. post:
  921. consumes:
  922. - application/json
  923. description: 发送短信
  924. parameters:
  925. - description: 注册参数
  926. in: body
  927. name: req
  928. required: true
  929. schema:
  930. $ref: '#/definitions/md.SmsSendReq'
  931. produces:
  932. - application/json
  933. responses:
  934. "200":
  935. description: 成功返回
  936. schema:
  937. type: string
  938. "400":
  939. description: 具体错误
  940. schema:
  941. $ref: '#/definitions/md.Response'
  942. summary: 发送短信
  943. tags:
  944. - 发送短信
  945. /api/v1/test:
  946. get:
  947. consumes:
  948. - application/json
  949. description: Demo样例测试
  950. parameters:
  951. - description: 任意参数
  952. in: body
  953. name: req
  954. required: true
  955. schema: {}
  956. produces:
  957. - application/json
  958. responses:
  959. "200":
  960. description: 返回任意参数
  961. schema:
  962. additionalProperties: true
  963. type: object
  964. "400":
  965. description: 具体错误
  966. schema:
  967. $ref: '#/definitions/md.Response'
  968. summary: Demo测试
  969. tags:
  970. - Demo
  971. /api/v1/userInfo:
  972. get:
  973. consumes:
  974. - application/json
  975. description: 用户信息
  976. parameters:
  977. - description: 验证参数Bearer和token空格拼接
  978. in: header
  979. name: Authorization
  980. required: true
  981. type: string
  982. produces:
  983. - application/json
  984. responses:
  985. "200":
  986. description: 具体数据
  987. schema:
  988. $ref: '#/definitions/md.UserInfoResp'
  989. "400":
  990. description: 具体错误
  991. schema:
  992. $ref: '#/definitions/md.Response'
  993. summary: 用户信息
  994. tags:
  995. - 用户信息
  996. swagger: "2.0"