广告平台(总站长使用)
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

1072 rindas
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/role/addAdmin:
  585. post:
  586. consumes:
  587. - application/json
  588. description: 权限管理-新增管理员
  589. parameters:
  590. - description: 验证参数Bearer和token空格拼接
  591. in: header
  592. name: Authorization
  593. required: true
  594. type: string
  595. - description: 请求参数
  596. in: body
  597. name: args
  598. required: true
  599. schema:
  600. $ref: '#/definitions/md.AddAdminReq'
  601. produces:
  602. - application/json
  603. responses:
  604. "200":
  605. description: success
  606. schema:
  607. type: string
  608. "400":
  609. description: 具体错误
  610. schema:
  611. $ref: '#/definitions/md.Response'
  612. summary: 新增管理员
  613. tags:
  614. - 权限管理
  615. /api/role/addRole:
  616. post:
  617. consumes:
  618. - application/json
  619. description: 权限管理-添加角色
  620. parameters:
  621. - description: 验证参数Bearer和token空格拼接
  622. in: header
  623. name: Authorization
  624. required: true
  625. type: string
  626. - description: 请求参数
  627. in: body
  628. name: args
  629. required: true
  630. schema:
  631. $ref: '#/definitions/md.AddRoleReq'
  632. produces:
  633. - application/json
  634. responses:
  635. "200":
  636. description: success
  637. schema:
  638. type: string
  639. "400":
  640. description: 具体错误
  641. schema:
  642. $ref: '#/definitions/md.Response'
  643. summary: 添加角色
  644. tags:
  645. - 权限管理
  646. /api/role/adminInfo:
  647. get:
  648. consumes:
  649. - application/json
  650. description: 权限管理-管理员信息
  651. parameters:
  652. - description: 验证参数Bearer和token空格拼接
  653. in: header
  654. name: Authorization
  655. required: true
  656. type: string
  657. - description: 管理员id
  658. in: query
  659. name: adm_id
  660. required: true
  661. type: string
  662. produces:
  663. - application/json
  664. responses:
  665. "200":
  666. description: 具体看返回内容
  667. schema:
  668. type: string
  669. "400":
  670. description: 具体错误
  671. schema:
  672. $ref: '#/definitions/md.Response'
  673. summary: 管理员信息
  674. tags:
  675. - 权限管理
  676. /api/role/adminList:
  677. post:
  678. consumes:
  679. - application/json
  680. description: 权限管理-管理员列表
  681. parameters:
  682. - description: 验证参数Bearer和token空格拼接
  683. in: header
  684. name: Authorization
  685. required: true
  686. type: string
  687. - description: 请求参数
  688. in: body
  689. name: args
  690. required: true
  691. schema:
  692. $ref: '#/definitions/md.AdminListReq'
  693. produces:
  694. - application/json
  695. responses:
  696. "200":
  697. description: 具体看返回内容
  698. schema:
  699. type: string
  700. "400":
  701. description: 具体错误
  702. schema:
  703. $ref: '#/definitions/md.Response'
  704. summary: 管理员列表
  705. tags:
  706. - 权限管理
  707. /api/role/bindAdminRole/:
  708. post:
  709. consumes:
  710. - application/json
  711. description: 权限管理-管理员绑定角色
  712. parameters:
  713. - description: 验证参数Bearer和token空格拼接
  714. in: header
  715. name: Authorization
  716. required: true
  717. type: string
  718. - description: 请求参数
  719. in: body
  720. name: args
  721. required: true
  722. schema:
  723. $ref: '#/definitions/md.BindAdminRoleReq'
  724. produces:
  725. - application/json
  726. responses:
  727. "200":
  728. description: success
  729. schema:
  730. type: string
  731. "400":
  732. description: 具体错误
  733. schema:
  734. $ref: '#/definitions/md.Response'
  735. summary: 管理员绑定角色
  736. tags:
  737. - 权限管理
  738. /api/role/deleteAdmin/{$adm_id}:
  739. delete:
  740. consumes:
  741. - application/json
  742. description: 权限管理-删除管理员
  743. parameters:
  744. - description: 验证参数Bearer和token空格拼接
  745. in: header
  746. name: Authorization
  747. required: true
  748. type: string
  749. produces:
  750. - application/json
  751. responses:
  752. "200":
  753. description: success
  754. schema:
  755. type: string
  756. "400":
  757. description: 具体错误
  758. schema:
  759. $ref: '#/definitions/md.Response'
  760. summary: 删除管理员
  761. tags:
  762. - 权限管理
  763. /api/role/deleteRole/{$id}:
  764. delete:
  765. consumes:
  766. - application/json
  767. description: 权限管理-删除角色
  768. parameters:
  769. - description: 验证参数Bearer和token空格拼接
  770. in: header
  771. name: Authorization
  772. required: true
  773. type: string
  774. - description: 请求参数
  775. in: body
  776. name: args
  777. required: true
  778. schema:
  779. $ref: '#/definitions/md.UpdateRoleStateReq'
  780. produces:
  781. - application/json
  782. responses:
  783. "200":
  784. description: success
  785. schema:
  786. type: string
  787. "400":
  788. description: 具体错误
  789. schema:
  790. $ref: '#/definitions/md.Response'
  791. summary: 删除角色
  792. tags:
  793. - 权限管理
  794. /api/role/permissionGroupList:
  795. get:
  796. consumes:
  797. - application/json
  798. description: 权限管理-权限组列表
  799. parameters:
  800. - description: 验证参数Bearer和token空格拼接
  801. in: header
  802. name: Authorization
  803. required: true
  804. type: string
  805. - description: 管理员id
  806. in: query
  807. name: adm_id
  808. required: true
  809. type: string
  810. produces:
  811. - application/json
  812. responses:
  813. "200":
  814. description: 具体看返回内容
  815. schema:
  816. type: string
  817. "400":
  818. description: 具体错误
  819. schema:
  820. $ref: '#/definitions/md.Response'
  821. summary: 权限组列表
  822. tags:
  823. - 权限管理
  824. /api/role/roleBindPermissionGroup:
  825. post:
  826. consumes:
  827. - application/json
  828. description: 权限管理-角色绑定权限组
  829. parameters:
  830. - description: 验证参数Bearer和token空格拼接
  831. in: header
  832. name: Authorization
  833. required: true
  834. type: string
  835. - description: 请求参数
  836. in: body
  837. name: args
  838. required: true
  839. schema:
  840. $ref: '#/definitions/md.RoleBindPermissionGroupReq'
  841. produces:
  842. - application/json
  843. responses:
  844. "200":
  845. description: success
  846. schema:
  847. type: string
  848. "400":
  849. description: 具体错误
  850. schema:
  851. $ref: '#/definitions/md.Response'
  852. summary: 角色绑定权限组
  853. tags:
  854. - 权限管理
  855. /api/role/roleList:
  856. get:
  857. consumes:
  858. - application/json
  859. description: 权限管理-角色列表
  860. parameters:
  861. - description: 验证参数Bearer和token空格拼接
  862. in: header
  863. name: Authorization
  864. required: true
  865. type: string
  866. produces:
  867. - application/json
  868. responses:
  869. "200":
  870. description: 具体看返回内容
  871. schema:
  872. type: string
  873. "400":
  874. description: 具体错误
  875. schema:
  876. $ref: '#/definitions/md.Response'
  877. summary: 角色列表
  878. tags:
  879. - 权限管理
  880. /api/role/updateAdmin:
  881. post:
  882. consumes:
  883. - application/json
  884. description: 权限管理-修改管理员信息
  885. parameters:
  886. - description: 验证参数Bearer和token空格拼接
  887. in: header
  888. name: Authorization
  889. required: true
  890. type: string
  891. - description: 请求参数
  892. in: body
  893. name: args
  894. required: true
  895. schema:
  896. $ref: '#/definitions/md.UpdateAdminReq'
  897. produces:
  898. - application/json
  899. responses:
  900. "200":
  901. description: success
  902. schema:
  903. type: string
  904. "400":
  905. description: 具体错误
  906. schema:
  907. $ref: '#/definitions/md.Response'
  908. summary: 修改管理员信息
  909. tags:
  910. - 权限管理
  911. /api/role/updateAdminState:
  912. post:
  913. consumes:
  914. - application/json
  915. description: 权限管理-修改管理员状态
  916. parameters:
  917. - description: 验证参数Bearer和token空格拼接
  918. in: header
  919. name: Authorization
  920. required: true
  921. type: string
  922. - description: 请求参数
  923. in: body
  924. name: args
  925. required: true
  926. schema:
  927. $ref: '#/definitions/md.UpdateAdminStateReq'
  928. produces:
  929. - application/json
  930. responses:
  931. "200":
  932. description: success
  933. schema:
  934. type: string
  935. "400":
  936. description: 具体错误
  937. schema:
  938. $ref: '#/definitions/md.Response'
  939. summary: 修改管理员状态
  940. tags:
  941. - 权限管理
  942. /api/role/updateRole:
  943. post:
  944. consumes:
  945. - application/json
  946. description: 权限管理-修改角色状态
  947. parameters:
  948. - description: 验证参数Bearer和token空格拼接
  949. in: header
  950. name: Authorization
  951. required: true
  952. type: string
  953. - description: 请求参数
  954. in: body
  955. name: args
  956. required: true
  957. schema:
  958. $ref: '#/definitions/md.UpdateRoleStateReq'
  959. produces:
  960. - application/json
  961. responses:
  962. "200":
  963. description: success
  964. schema:
  965. type: string
  966. "400":
  967. description: 具体错误
  968. schema:
  969. $ref: '#/definitions/md.Response'
  970. summary: 修改角色状态
  971. tags:
  972. - 权限管理
  973. /api/smsCenter/detail:
  974. post:
  975. consumes:
  976. - application/json
  977. description: 短信中心-详情
  978. parameters:
  979. - description: 验证参数Bearer和token空格拼接
  980. in: header
  981. name: Authorization
  982. required: true
  983. type: string
  984. - description: 请求参数
  985. in: body
  986. name: args
  987. required: true
  988. schema:
  989. $ref: '#/definitions/md.SmsDetailReq'
  990. produces:
  991. - application/json
  992. responses:
  993. "200":
  994. description: 具体看返回内容 这是data里面的数据
  995. schema:
  996. $ref: '#/definitions/md.SmsDetailResp'
  997. "400":
  998. description: 具体错误
  999. schema:
  1000. $ref: '#/definitions/md.Response'
  1001. summary: 详情
  1002. tags:
  1003. - 短信中心
  1004. /api/smsCenter/list:
  1005. post:
  1006. consumes:
  1007. - application/json
  1008. description: 短信中心-列表
  1009. parameters:
  1010. - description: 验证参数Bearer和token空格拼接
  1011. in: header
  1012. name: Authorization
  1013. required: true
  1014. type: string
  1015. - description: 请求参数
  1016. in: body
  1017. name: args
  1018. required: true
  1019. schema:
  1020. $ref: '#/definitions/md.SmsListReq'
  1021. produces:
  1022. - application/json
  1023. responses:
  1024. "200":
  1025. description: 具体看返回内容 这是data里面的数据
  1026. schema:
  1027. $ref: '#/definitions/md.SmsListResp'
  1028. "400":
  1029. description: 具体错误
  1030. schema:
  1031. $ref: '#/definitions/md.Response'
  1032. summary: 列表
  1033. tags:
  1034. - 短信中心
  1035. /api/smsCenter/update:
  1036. post:
  1037. consumes:
  1038. - application/json
  1039. description: 短信中心-修改
  1040. parameters:
  1041. - description: 验证参数Bearer和token空格拼接
  1042. in: header
  1043. name: Authorization
  1044. required: true
  1045. type: string
  1046. - description: 请求参数
  1047. in: body
  1048. name: args
  1049. required: true
  1050. schema:
  1051. $ref: '#/definitions/md.SmsDetailReq'
  1052. produces:
  1053. - application/json
  1054. responses:
  1055. "200":
  1056. description: success
  1057. schema:
  1058. type: string
  1059. "400":
  1060. description: 具体错误
  1061. schema:
  1062. $ref: '#/definitions/md.Response'
  1063. summary: 修改
  1064. tags:
  1065. - 短信中心
  1066. securityDefinitions:
  1067. MasterID:
  1068. in: header
  1069. name: MasterID
  1070. type: apiKey
  1071. swagger: "2.0"