广告平台(总站长使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1098 lines
25 KiB

  1. definitions:
  2. md.AddAdminReq:
  3. properties:
  4. memo:
  5. type: string
  6. password:
  7. type: string
  8. username:
  9. type: string
  10. required:
  11. - password
  12. - username
  13. type: object
  14. md.AddRoleReq:
  15. properties:
  16. memo:
  17. type: string
  18. name:
  19. type: string
  20. required:
  21. - memo
  22. - name
  23. type: object
  24. md.AdminListReq:
  25. properties:
  26. limit:
  27. type: integer
  28. page:
  29. type: integer
  30. state:
  31. type: integer
  32. username:
  33. type: string
  34. type: object
  35. md.BindAdminRoleReq:
  36. properties:
  37. adm_id:
  38. type: integer
  39. role_ids:
  40. items:
  41. type: integer
  42. type: array
  43. required:
  44. - adm_id
  45. type: object
  46. md.DataCenterGenerateDataCommReq:
  47. properties:
  48. id:
  49. example: 列表id
  50. type: string
  51. type: object
  52. md.DataCenterGenerateDataData:
  53. properties:
  54. adv_name:
  55. example: 广告位
  56. type: string
  57. agent_revenue:
  58. example: 代理收益(元)
  59. type: string
  60. agreement_sharing:
  61. example: 协议分成(元)
  62. type: string
  63. agreement_sharing_total:
  64. example: 协议总分成(元)
  65. type: string
  66. click_count:
  67. example: 现-点击量
  68. type: string
  69. click_rate:
  70. example: 现-点击率
  71. type: string
  72. commission_retention:
  73. example: 佣金留存(元)
  74. type: string
  75. date:
  76. example: 日期
  77. type: string
  78. ecpm:
  79. example: '''现-ecpm(元)'
  80. type: string
  81. exposure_count:
  82. example: 现-曝光量
  83. type: string
  84. extra_revenue:
  85. example: 额外收益(元)
  86. type: string
  87. id:
  88. example: id
  89. type: string
  90. is_generate_report:
  91. example: 是否已生成报表(0:未 1:已)
  92. type: string
  93. media_revenue:
  94. example: 媒体收益(元)
  95. type: string
  96. name:
  97. example: 名称
  98. type: string
  99. old_click_count:
  100. example: 原-点击量
  101. type: string
  102. old_click_rate:
  103. example: 原-点击率
  104. type: string
  105. old_ecpm:
  106. example: '''原-ecpm(元)'
  107. type: string
  108. old_exposure_count:
  109. example: 原-曝光量
  110. type: string
  111. platform:
  112. example: 平台名称
  113. type: string
  114. platform_retention:
  115. example: 平台留存(元)
  116. type: string
  117. price_adjustment_retention:
  118. example: 调价留存(元)
  119. type: string
  120. state:
  121. example: 状态id
  122. type: string
  123. type: object
  124. md.DataCenterGenerateDataDetailAgentReward:
  125. properties:
  126. account:
  127. type: string
  128. agent_revenue:
  129. example: 代理收益(元)
  130. type: string
  131. agent_revenue_rate:
  132. example: 代理收益百分比
  133. type: string
  134. extra_revenue:
  135. example: 额外收益(元)
  136. type: string
  137. extra_revenue_rate:
  138. example: '''额外收益百分比'
  139. type: string
  140. name:
  141. type: string
  142. type: object
  143. md.DataCenterGenerateDataDetailData:
  144. properties:
  145. agent_revenue_rate:
  146. example: 代理收益百分比
  147. type: string
  148. agent_reward:
  149. items:
  150. $ref: '#/definitions/md.DataCenterGenerateDataDetailAgentReward'
  151. type: array
  152. agreement_sharing_rate:
  153. example: 协议分成百分比
  154. type: string
  155. commission_retention_rate:
  156. example: 佣金留存百分比
  157. type: string
  158. create_at:
  159. type: string
  160. extra_revenue_rate:
  161. example: 额外收益百分比
  162. type: string
  163. media_revenue_rate:
  164. example: 媒体收益百分比
  165. type: string
  166. platform_retention_rate:
  167. example: 平台留存百分比
  168. type: string
  169. update_at:
  170. type: string
  171. type: object
  172. md.DataCenterGenerateDataReq:
  173. properties:
  174. end_time:
  175. type: string
  176. limit:
  177. type: string
  178. name:
  179. type: string
  180. page:
  181. type: string
  182. platform:
  183. type: string
  184. start_time:
  185. type: string
  186. state:
  187. type: string
  188. type: object
  189. md.DataCenterGenerateDataRes:
  190. properties:
  191. list:
  192. items:
  193. $ref: '#/definitions/md.DataCenterGenerateDataData'
  194. type: array
  195. platform:
  196. items:
  197. $ref: '#/definitions/md.SelectData'
  198. type: array
  199. state:
  200. items:
  201. $ref: '#/definitions/md.SelectData'
  202. type: array
  203. total:
  204. type: integer
  205. type: object
  206. md.DataCenterOriginalDataData:
  207. properties:
  208. adv_name:
  209. example: 广告位
  210. type: string
  211. click_count:
  212. example: 点击量
  213. type: string
  214. click_rate:
  215. example: 点击率
  216. type: string
  217. date:
  218. example: 日期
  219. type: string
  220. ecpm:
  221. example: '''ecpm(元)'
  222. type: string
  223. exposure_count:
  224. example: 曝光量
  225. type: string
  226. exposure_rate:
  227. example: 曝光率
  228. type: string
  229. id:
  230. example: id
  231. type: string
  232. is_apply:
  233. example: 是否已应用
  234. type: string
  235. name:
  236. example: 名称
  237. type: string
  238. platform:
  239. example: 平台名称
  240. type: string
  241. publisher_income:
  242. example: 总收益(元)
  243. type: string
  244. req_succ_count:
  245. example: 拉取量
  246. type: string
  247. state:
  248. example: 状态id
  249. type: string
  250. type: object
  251. md.DataCenterOriginalDataReq:
  252. properties:
  253. end_time:
  254. type: string
  255. limit:
  256. type: string
  257. name:
  258. type: string
  259. page:
  260. type: string
  261. platform:
  262. type: string
  263. start_time:
  264. type: string
  265. state:
  266. type: string
  267. type: object
  268. md.DataCenterOriginalDataRes:
  269. properties:
  270. list:
  271. items:
  272. $ref: '#/definitions/md.DataCenterOriginalDataData'
  273. type: array
  274. platform:
  275. items:
  276. $ref: '#/definitions/md.SelectData'
  277. type: array
  278. state:
  279. items:
  280. $ref: '#/definitions/md.SelectData'
  281. type: array
  282. total:
  283. type: integer
  284. type: object
  285. md.LoginReq:
  286. properties:
  287. code:
  288. example: 验证码
  289. type: string
  290. password:
  291. example: 登录密码
  292. type: string
  293. username:
  294. example: 登录账号
  295. type: string
  296. required:
  297. - password
  298. - username
  299. type: object
  300. md.LoginResponse:
  301. properties:
  302. token:
  303. type: string
  304. type: object
  305. md.Response:
  306. properties:
  307. code:
  308. example: 响应码
  309. type: string
  310. data:
  311. description: 内容
  312. msg:
  313. example: 具体错误原因
  314. type: string
  315. type: object
  316. md.RoleBindPermissionGroupReq:
  317. properties:
  318. permission_ids:
  319. items:
  320. type: integer
  321. type: array
  322. role_id:
  323. type: integer
  324. required:
  325. - role_id
  326. type: object
  327. md.SelectData:
  328. properties:
  329. name:
  330. example: 名称
  331. type: string
  332. value:
  333. example: 值
  334. type: string
  335. type: object
  336. md.SmsDetail:
  337. properties:
  338. create_at:
  339. example: 创建时间
  340. type: string
  341. id:
  342. type: integer
  343. phone:
  344. example: 接收号码
  345. type: string
  346. state_zh:
  347. example: 发送状态
  348. type: string
  349. type: object
  350. md.SmsDetailReq:
  351. properties:
  352. limit:
  353. type: integer
  354. page:
  355. type: integer
  356. uuid:
  357. example: 站长ID
  358. type: string
  359. type: object
  360. md.SmsDetailResp:
  361. properties:
  362. list:
  363. items:
  364. $ref: '#/definitions/md.SmsDetail'
  365. type: array
  366. total:
  367. type: integer
  368. type: object
  369. md.SmsList:
  370. properties:
  371. name:
  372. example: 站长名称
  373. type: string
  374. num:
  375. description: 短信条数
  376. type: integer
  377. uuid:
  378. example: 站长ID
  379. type: string
  380. type: object
  381. md.SmsListReq:
  382. properties:
  383. limit:
  384. type: integer
  385. name:
  386. example: 站长名称
  387. type: string
  388. page:
  389. type: integer
  390. uuid:
  391. example: 站长ID
  392. type: string
  393. type: object
  394. md.SmsListResp:
  395. properties:
  396. list:
  397. items:
  398. $ref: '#/definitions/md.SmsList'
  399. type: array
  400. total:
  401. type: integer
  402. type: object
  403. md.UpdateAdminReq:
  404. properties:
  405. adm_id:
  406. type: integer
  407. memo:
  408. type: string
  409. password:
  410. type: string
  411. username:
  412. type: string
  413. required:
  414. - adm_id
  415. - password
  416. - username
  417. type: object
  418. md.UpdateAdminStateReq:
  419. properties:
  420. adm_id:
  421. type: integer
  422. state:
  423. type: integer
  424. required:
  425. - adm_id
  426. - state
  427. type: object
  428. md.UpdateRoleReq:
  429. properties:
  430. memo:
  431. type: string
  432. name:
  433. type: string
  434. role_id:
  435. type: integer
  436. required:
  437. - memo
  438. - name
  439. - role_id
  440. type: object
  441. md.UpdateRoleStateReq:
  442. properties:
  443. role_id:
  444. type: integer
  445. state:
  446. type: integer
  447. required:
  448. - role_id
  449. - state
  450. type: object
  451. host: localhost:1001 or advertisement.dengbiao.top
  452. info:
  453. contact:
  454. email: 1239118001@qq.com
  455. name: dengbiao
  456. url: http://www.swagger.io/support
  457. description: 总站长后台接口
  458. license:
  459. name: Apache 2.0
  460. url: http://www.apache.org/licenses/LICENSE-2.0.html
  461. termsOfService: http://swagger.io/terms/
  462. title: 广告联盟-总站长平台
  463. version: "1.0"
  464. paths:
  465. /api/dataCenter/generate/data/detail:
  466. post:
  467. consumes:
  468. - application/json
  469. description: 数据中心-分成数据-详情
  470. parameters:
  471. - description: 验证参数Bearer和token空格拼接
  472. in: header
  473. name: Authorization
  474. required: true
  475. type: string
  476. - description: 请求参数
  477. in: body
  478. name: args
  479. required: true
  480. schema:
  481. $ref: '#/definitions/md.DataCenterGenerateDataCommReq'
  482. produces:
  483. - application/json
  484. responses:
  485. "200":
  486. description: '具体看返回内容 '
  487. schema:
  488. $ref: '#/definitions/md.DataCenterGenerateDataDetailData'
  489. "400":
  490. description: 具体错误
  491. schema:
  492. $ref: '#/definitions/md.Response'
  493. summary: 分成数据-详情
  494. tags:
  495. - 数据中心
  496. /api/dataCenter/generate/data/list:
  497. post:
  498. consumes:
  499. - application/json
  500. description: 数据中心-分成数据-列表
  501. parameters:
  502. - description: 验证参数Bearer和token空格拼接
  503. in: header
  504. name: Authorization
  505. required: true
  506. type: string
  507. - description: 请求参数
  508. in: body
  509. name: args
  510. required: true
  511. schema:
  512. $ref: '#/definitions/md.DataCenterGenerateDataReq'
  513. produces:
  514. - application/json
  515. responses:
  516. "200":
  517. description: 具体看返回内容 这是data里面的数据
  518. schema:
  519. $ref: '#/definitions/md.DataCenterGenerateDataRes'
  520. "400":
  521. description: 具体错误
  522. schema:
  523. $ref: '#/definitions/md.Response'
  524. summary: 分成数据-列表
  525. tags:
  526. - 数据中心
  527. /api/dataCenter/original/data/list:
  528. post:
  529. consumes:
  530. - application/json
  531. description: 数据中心-原始数据-列表
  532. parameters:
  533. - description: 验证参数Bearer和token空格拼接
  534. in: header
  535. name: Authorization
  536. required: true
  537. type: string
  538. - description: 请求参数
  539. in: body
  540. name: args
  541. required: true
  542. schema:
  543. $ref: '#/definitions/md.DataCenterOriginalDataReq'
  544. produces:
  545. - application/json
  546. responses:
  547. "200":
  548. description: 具体看返回内容 这是data里面的数据
  549. schema:
  550. $ref: '#/definitions/md.DataCenterOriginalDataRes'
  551. "400":
  552. description: 具体错误
  553. schema:
  554. $ref: '#/definitions/md.Response'
  555. summary: 原始数据-列表
  556. tags:
  557. - 数据中心
  558. /api/login:
  559. post:
  560. consumes:
  561. - application/json
  562. description: 登入
  563. parameters:
  564. - description: 用户名密码
  565. in: body
  566. name: req
  567. required: true
  568. schema:
  569. $ref: '#/definitions/md.LoginReq'
  570. produces:
  571. - application/json
  572. responses:
  573. "200":
  574. description: token
  575. schema:
  576. $ref: '#/definitions/md.LoginResponse'
  577. "400":
  578. description: 具体错误
  579. schema:
  580. $ref: '#/definitions/md.Response'
  581. summary: 登陆
  582. tags:
  583. - 登录注册
  584. /api/loginInfo:
  585. get:
  586. consumes:
  587. - application/json
  588. description: 登录信息
  589. parameters:
  590. - description: 用户名密码
  591. in: body
  592. name: req
  593. required: true
  594. schema:
  595. $ref: '#/definitions/md.LoginReq'
  596. produces:
  597. - application/json
  598. responses:
  599. "200":
  600. description: token
  601. schema:
  602. $ref: '#/definitions/md.LoginResponse'
  603. "400":
  604. description: 具体错误
  605. schema:
  606. $ref: '#/definitions/md.Response'
  607. summary: 登录信息
  608. tags:
  609. - 登录注册
  610. /api/role/addAdmin:
  611. post:
  612. consumes:
  613. - application/json
  614. description: 权限管理-新增管理员
  615. parameters:
  616. - description: 验证参数Bearer和token空格拼接
  617. in: header
  618. name: Authorization
  619. required: true
  620. type: string
  621. - description: 请求参数
  622. in: body
  623. name: args
  624. required: true
  625. schema:
  626. $ref: '#/definitions/md.AddAdminReq'
  627. produces:
  628. - application/json
  629. responses:
  630. "200":
  631. description: success
  632. schema:
  633. type: string
  634. "400":
  635. description: 具体错误
  636. schema:
  637. $ref: '#/definitions/md.Response'
  638. summary: 新增管理员
  639. tags:
  640. - 权限管理
  641. /api/role/addRole:
  642. post:
  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. - description: 请求参数
  653. in: body
  654. name: args
  655. required: true
  656. schema:
  657. $ref: '#/definitions/md.AddRoleReq'
  658. produces:
  659. - application/json
  660. responses:
  661. "200":
  662. description: success
  663. schema:
  664. type: string
  665. "400":
  666. description: 具体错误
  667. schema:
  668. $ref: '#/definitions/md.Response'
  669. summary: 添加角色
  670. tags:
  671. - 权限管理
  672. /api/role/adminInfo:
  673. get:
  674. consumes:
  675. - application/json
  676. description: 权限管理-管理员信息
  677. parameters:
  678. - description: 验证参数Bearer和token空格拼接
  679. in: header
  680. name: Authorization
  681. required: true
  682. type: string
  683. - description: 管理员id
  684. in: query
  685. name: adm_id
  686. required: true
  687. type: string
  688. produces:
  689. - application/json
  690. responses:
  691. "200":
  692. description: 具体看返回内容
  693. schema:
  694. type: string
  695. "400":
  696. description: 具体错误
  697. schema:
  698. $ref: '#/definitions/md.Response'
  699. summary: 管理员信息
  700. tags:
  701. - 权限管理
  702. /api/role/adminList:
  703. post:
  704. consumes:
  705. - application/json
  706. description: 权限管理-管理员列表
  707. parameters:
  708. - description: 验证参数Bearer和token空格拼接
  709. in: header
  710. name: Authorization
  711. required: true
  712. type: string
  713. - description: 请求参数
  714. in: body
  715. name: args
  716. required: true
  717. schema:
  718. $ref: '#/definitions/md.AdminListReq'
  719. produces:
  720. - application/json
  721. responses:
  722. "200":
  723. description: 具体看返回内容
  724. schema:
  725. type: string
  726. "400":
  727. description: 具体错误
  728. schema:
  729. $ref: '#/definitions/md.Response'
  730. summary: 管理员列表
  731. tags:
  732. - 权限管理
  733. /api/role/bindAdminRole/:
  734. post:
  735. consumes:
  736. - application/json
  737. description: 权限管理-管理员绑定角色
  738. parameters:
  739. - description: 验证参数Bearer和token空格拼接
  740. in: header
  741. name: Authorization
  742. required: true
  743. type: string
  744. - description: 请求参数
  745. in: body
  746. name: args
  747. required: true
  748. schema:
  749. $ref: '#/definitions/md.BindAdminRoleReq'
  750. produces:
  751. - application/json
  752. responses:
  753. "200":
  754. description: success
  755. schema:
  756. type: string
  757. "400":
  758. description: 具体错误
  759. schema:
  760. $ref: '#/definitions/md.Response'
  761. summary: 管理员绑定角色
  762. tags:
  763. - 权限管理
  764. /api/role/deleteAdmin/{$adm_id}:
  765. delete:
  766. consumes:
  767. - application/json
  768. description: 权限管理-删除管理员
  769. parameters:
  770. - description: 验证参数Bearer和token空格拼接
  771. in: header
  772. name: Authorization
  773. required: true
  774. type: string
  775. produces:
  776. - application/json
  777. responses:
  778. "200":
  779. description: success
  780. schema:
  781. type: string
  782. "400":
  783. description: 具体错误
  784. schema:
  785. $ref: '#/definitions/md.Response'
  786. summary: 删除管理员
  787. tags:
  788. - 权限管理
  789. /api/role/deleteRole/{$id}:
  790. delete:
  791. consumes:
  792. - application/json
  793. description: 权限管理-删除角色
  794. parameters:
  795. - description: 验证参数Bearer和token空格拼接
  796. in: header
  797. name: Authorization
  798. required: true
  799. type: string
  800. - description: 请求参数
  801. in: body
  802. name: args
  803. required: true
  804. schema:
  805. $ref: '#/definitions/md.UpdateRoleStateReq'
  806. produces:
  807. - application/json
  808. responses:
  809. "200":
  810. description: success
  811. schema:
  812. type: string
  813. "400":
  814. description: 具体错误
  815. schema:
  816. $ref: '#/definitions/md.Response'
  817. summary: 删除角色
  818. tags:
  819. - 权限管理
  820. /api/role/permissionGroupList:
  821. get:
  822. consumes:
  823. - application/json
  824. description: 权限管理-权限组列表
  825. parameters:
  826. - description: 验证参数Bearer和token空格拼接
  827. in: header
  828. name: Authorization
  829. required: true
  830. type: string
  831. - description: 管理员id
  832. in: query
  833. name: adm_id
  834. required: true
  835. type: string
  836. produces:
  837. - application/json
  838. responses:
  839. "200":
  840. description: 具体看返回内容
  841. schema:
  842. type: string
  843. "400":
  844. description: 具体错误
  845. schema:
  846. $ref: '#/definitions/md.Response'
  847. summary: 权限组列表
  848. tags:
  849. - 权限管理
  850. /api/role/roleBindPermissionGroup:
  851. post:
  852. consumes:
  853. - application/json
  854. description: 权限管理-角色绑定权限组
  855. parameters:
  856. - description: 验证参数Bearer和token空格拼接
  857. in: header
  858. name: Authorization
  859. required: true
  860. type: string
  861. - description: 请求参数
  862. in: body
  863. name: args
  864. required: true
  865. schema:
  866. $ref: '#/definitions/md.RoleBindPermissionGroupReq'
  867. produces:
  868. - application/json
  869. responses:
  870. "200":
  871. description: success
  872. schema:
  873. type: string
  874. "400":
  875. description: 具体错误
  876. schema:
  877. $ref: '#/definitions/md.Response'
  878. summary: 角色绑定权限组
  879. tags:
  880. - 权限管理
  881. /api/role/roleList:
  882. get:
  883. consumes:
  884. - application/json
  885. description: 权限管理-角色列表
  886. parameters:
  887. - description: 验证参数Bearer和token空格拼接
  888. in: header
  889. name: Authorization
  890. required: true
  891. type: string
  892. produces:
  893. - application/json
  894. responses:
  895. "200":
  896. description: 具体看返回内容
  897. schema:
  898. type: string
  899. "400":
  900. description: 具体错误
  901. schema:
  902. $ref: '#/definitions/md.Response'
  903. summary: 角色列表
  904. tags:
  905. - 权限管理
  906. /api/role/updateAdmin:
  907. post:
  908. consumes:
  909. - application/json
  910. description: 权限管理-修改管理员信息
  911. parameters:
  912. - description: 验证参数Bearer和token空格拼接
  913. in: header
  914. name: Authorization
  915. required: true
  916. type: string
  917. - description: 请求参数
  918. in: body
  919. name: args
  920. required: true
  921. schema:
  922. $ref: '#/definitions/md.UpdateAdminReq'
  923. produces:
  924. - application/json
  925. responses:
  926. "200":
  927. description: success
  928. schema:
  929. type: string
  930. "400":
  931. description: 具体错误
  932. schema:
  933. $ref: '#/definitions/md.Response'
  934. summary: 修改管理员信息
  935. tags:
  936. - 权限管理
  937. /api/role/updateAdminState:
  938. post:
  939. consumes:
  940. - application/json
  941. description: 权限管理-修改管理员状态
  942. parameters:
  943. - description: 验证参数Bearer和token空格拼接
  944. in: header
  945. name: Authorization
  946. required: true
  947. type: string
  948. - description: 请求参数
  949. in: body
  950. name: args
  951. required: true
  952. schema:
  953. $ref: '#/definitions/md.UpdateAdminStateReq'
  954. produces:
  955. - application/json
  956. responses:
  957. "200":
  958. description: success
  959. schema:
  960. type: string
  961. "400":
  962. description: 具体错误
  963. schema:
  964. $ref: '#/definitions/md.Response'
  965. summary: 修改管理员状态
  966. tags:
  967. - 权限管理
  968. /api/role/updateRole:
  969. post:
  970. consumes:
  971. - application/json
  972. description: 权限管理-修改角色状态
  973. parameters:
  974. - description: 验证参数Bearer和token空格拼接
  975. in: header
  976. name: Authorization
  977. required: true
  978. type: string
  979. - description: 请求参数
  980. in: body
  981. name: args
  982. required: true
  983. schema:
  984. $ref: '#/definitions/md.UpdateRoleStateReq'
  985. produces:
  986. - application/json
  987. responses:
  988. "200":
  989. description: success
  990. schema:
  991. type: string
  992. "400":
  993. description: 具体错误
  994. schema:
  995. $ref: '#/definitions/md.Response'
  996. summary: 修改角色状态
  997. tags:
  998. - 权限管理
  999. /api/smsCenter/detail:
  1000. post:
  1001. consumes:
  1002. - application/json
  1003. description: 短信中心-详情
  1004. parameters:
  1005. - description: 验证参数Bearer和token空格拼接
  1006. in: header
  1007. name: Authorization
  1008. required: true
  1009. type: string
  1010. - description: 请求参数
  1011. in: body
  1012. name: args
  1013. required: true
  1014. schema:
  1015. $ref: '#/definitions/md.SmsDetailReq'
  1016. produces:
  1017. - application/json
  1018. responses:
  1019. "200":
  1020. description: 具体看返回内容 这是data里面的数据
  1021. schema:
  1022. $ref: '#/definitions/md.SmsDetailResp'
  1023. "400":
  1024. description: 具体错误
  1025. schema:
  1026. $ref: '#/definitions/md.Response'
  1027. summary: 详情
  1028. tags:
  1029. - 短信中心
  1030. /api/smsCenter/list:
  1031. post:
  1032. consumes:
  1033. - application/json
  1034. description: 短信中心-列表
  1035. parameters:
  1036. - description: 验证参数Bearer和token空格拼接
  1037. in: header
  1038. name: Authorization
  1039. required: true
  1040. type: string
  1041. - description: 请求参数
  1042. in: body
  1043. name: args
  1044. required: true
  1045. schema:
  1046. $ref: '#/definitions/md.SmsListReq'
  1047. produces:
  1048. - application/json
  1049. responses:
  1050. "200":
  1051. description: 具体看返回内容 这是data里面的数据
  1052. schema:
  1053. $ref: '#/definitions/md.SmsListResp'
  1054. "400":
  1055. description: 具体错误
  1056. schema:
  1057. $ref: '#/definitions/md.Response'
  1058. summary: 列表
  1059. tags:
  1060. - 短信中心
  1061. /api/smsCenter/update:
  1062. post:
  1063. consumes:
  1064. - application/json
  1065. description: 短信中心-修改
  1066. parameters:
  1067. - description: 验证参数Bearer和token空格拼接
  1068. in: header
  1069. name: Authorization
  1070. required: true
  1071. type: string
  1072. - description: 请求参数
  1073. in: body
  1074. name: args
  1075. required: true
  1076. schema:
  1077. $ref: '#/definitions/md.SmsDetailReq'
  1078. produces:
  1079. - application/json
  1080. responses:
  1081. "200":
  1082. description: success
  1083. schema:
  1084. type: string
  1085. "400":
  1086. description: 具体错误
  1087. schema:
  1088. $ref: '#/definitions/md.Response'
  1089. summary: 修改
  1090. tags:
  1091. - 短信中心
  1092. securityDefinitions:
  1093. MasterID:
  1094. in: header
  1095. name: MasterID
  1096. type: apiKey
  1097. swagger: "2.0"