广告平台(总站长使用)
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.
 
 
 
 
 
 

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