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

1240 line
29 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/comm/uploadFile:
  522. post:
  523. consumes:
  524. - multipart/form-data
  525. description: 公共模块-上传文件
  526. parameters:
  527. - description: 验证参数Bearer和token空格拼接
  528. in: header
  529. name: Authorization
  530. required: true
  531. type: string
  532. - description: 上传的文件
  533. in: formData
  534. name: file
  535. required: true
  536. type: file
  537. produces:
  538. - multipart/form-data
  539. responses:
  540. "200":
  541. description: success
  542. schema:
  543. type: string
  544. "400":
  545. description: 具体错误
  546. schema:
  547. $ref: '#/definitions/md.Response'
  548. summary: 上传文件
  549. tags:
  550. - 公共模块
  551. /api/dataCenter/generate/data/detail:
  552. post:
  553. consumes:
  554. - application/json
  555. description: 数据中心-分成数据-详情
  556. parameters:
  557. - description: 验证参数Bearer和token空格拼接
  558. in: header
  559. name: Authorization
  560. required: true
  561. type: string
  562. - description: 请求参数
  563. in: body
  564. name: args
  565. required: true
  566. schema:
  567. $ref: '#/definitions/md.DataCenterGenerateDataCommReq'
  568. produces:
  569. - application/json
  570. responses:
  571. "200":
  572. description: '具体看返回内容 '
  573. schema:
  574. $ref: '#/definitions/md.DataCenterGenerateDataDetailData'
  575. "400":
  576. description: 具体错误
  577. schema:
  578. $ref: '#/definitions/md.Response'
  579. summary: 分成数据-详情
  580. tags:
  581. - 数据中心
  582. /api/dataCenter/generate/data/list:
  583. post:
  584. consumes:
  585. - application/json
  586. description: 数据中心-分成数据-列表
  587. parameters:
  588. - description: 验证参数Bearer和token空格拼接
  589. in: header
  590. name: Authorization
  591. required: true
  592. type: string
  593. - description: 请求参数
  594. in: body
  595. name: args
  596. required: true
  597. schema:
  598. $ref: '#/definitions/md.DataCenterGenerateDataReq'
  599. produces:
  600. - application/json
  601. responses:
  602. "200":
  603. description: 具体看返回内容 这是data里面的数据
  604. schema:
  605. $ref: '#/definitions/md.DataCenterGenerateDataRes'
  606. "400":
  607. description: 具体错误
  608. schema:
  609. $ref: '#/definitions/md.Response'
  610. summary: 分成数据-列表
  611. tags:
  612. - 数据中心
  613. /api/dataCenter/original/data/list:
  614. post:
  615. consumes:
  616. - application/json
  617. description: 数据中心-原始数据-列表
  618. parameters:
  619. - description: 验证参数Bearer和token空格拼接
  620. in: header
  621. name: Authorization
  622. required: true
  623. type: string
  624. - description: 请求参数
  625. in: body
  626. name: args
  627. required: true
  628. schema:
  629. $ref: '#/definitions/md.DataCenterOriginalDataReq'
  630. produces:
  631. - application/json
  632. responses:
  633. "200":
  634. description: 具体看返回内容 这是data里面的数据
  635. schema:
  636. $ref: '#/definitions/md.DataCenterOriginalDataRes'
  637. "400":
  638. description: 具体错误
  639. schema:
  640. $ref: '#/definitions/md.Response'
  641. summary: 原始数据-列表
  642. tags:
  643. - 数据中心
  644. /api/login:
  645. post:
  646. consumes:
  647. - application/json
  648. description: 登入
  649. parameters:
  650. - description: 用户名密码
  651. in: body
  652. name: req
  653. required: true
  654. schema:
  655. $ref: '#/definitions/md.LoginReq'
  656. produces:
  657. - application/json
  658. responses:
  659. "200":
  660. description: token
  661. schema:
  662. $ref: '#/definitions/md.LoginResponse'
  663. "400":
  664. description: 具体错误
  665. schema:
  666. $ref: '#/definitions/md.Response'
  667. summary: 登陆
  668. tags:
  669. - 登录注册
  670. /api/loginInfo:
  671. get:
  672. consumes:
  673. - application/json
  674. description: 登录信息
  675. parameters:
  676. - description: 用户名密码
  677. in: body
  678. name: req
  679. required: true
  680. schema:
  681. $ref: '#/definitions/md.LoginReq'
  682. produces:
  683. - application/json
  684. responses:
  685. "200":
  686. description: token
  687. schema:
  688. $ref: '#/definitions/md.LoginInfoResponse'
  689. "400":
  690. description: 具体错误
  691. schema:
  692. $ref: '#/definitions/md.Response'
  693. summary: 登录信息
  694. tags:
  695. - 登录注册
  696. /api/role/addAdmin:
  697. post:
  698. consumes:
  699. - application/json
  700. description: 权限管理-新增管理员
  701. parameters:
  702. - description: 验证参数Bearer和token空格拼接
  703. in: header
  704. name: Authorization
  705. required: true
  706. type: string
  707. - description: 请求参数
  708. in: body
  709. name: args
  710. required: true
  711. schema:
  712. $ref: '#/definitions/md.AddAdminReq'
  713. produces:
  714. - application/json
  715. responses:
  716. "200":
  717. description: success
  718. schema:
  719. type: string
  720. "400":
  721. description: 具体错误
  722. schema:
  723. $ref: '#/definitions/md.Response'
  724. summary: 新增管理员
  725. tags:
  726. - 权限管理
  727. /api/role/addRole:
  728. post:
  729. consumes:
  730. - application/json
  731. description: 权限管理-添加角色
  732. parameters:
  733. - description: 验证参数Bearer和token空格拼接
  734. in: header
  735. name: Authorization
  736. required: true
  737. type: string
  738. - description: 请求参数
  739. in: body
  740. name: args
  741. required: true
  742. schema:
  743. $ref: '#/definitions/md.AddRoleReq'
  744. produces:
  745. - application/json
  746. responses:
  747. "200":
  748. description: success
  749. schema:
  750. type: string
  751. "400":
  752. description: 具体错误
  753. schema:
  754. $ref: '#/definitions/md.Response'
  755. summary: 添加角色
  756. tags:
  757. - 权限管理
  758. /api/role/adminInfo:
  759. get:
  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: 管理员id
  770. in: query
  771. name: adm_id
  772. required: true
  773. type: string
  774. produces:
  775. - application/json
  776. responses:
  777. "200":
  778. description: 具体看返回内容
  779. schema:
  780. type: string
  781. "400":
  782. description: 具体错误
  783. schema:
  784. $ref: '#/definitions/md.Response'
  785. summary: 管理员信息
  786. tags:
  787. - 权限管理
  788. /api/role/adminList:
  789. post:
  790. consumes:
  791. - application/json
  792. description: 权限管理-管理员列表
  793. parameters:
  794. - description: 验证参数Bearer和token空格拼接
  795. in: header
  796. name: Authorization
  797. required: true
  798. type: string
  799. - description: 请求参数
  800. in: body
  801. name: args
  802. required: true
  803. schema:
  804. $ref: '#/definitions/md.AdminListReq'
  805. produces:
  806. - application/json
  807. responses:
  808. "200":
  809. description: 具体看返回内容
  810. schema:
  811. type: string
  812. "400":
  813. description: 具体错误
  814. schema:
  815. $ref: '#/definitions/md.Response'
  816. summary: 管理员列表
  817. tags:
  818. - 权限管理
  819. /api/role/bindAdminRole/:
  820. post:
  821. consumes:
  822. - application/json
  823. description: 权限管理-管理员绑定角色
  824. parameters:
  825. - description: 验证参数Bearer和token空格拼接
  826. in: header
  827. name: Authorization
  828. required: true
  829. type: string
  830. - description: 请求参数
  831. in: body
  832. name: args
  833. required: true
  834. schema:
  835. $ref: '#/definitions/md.BindAdminRoleReq'
  836. produces:
  837. - application/json
  838. responses:
  839. "200":
  840. description: success
  841. schema:
  842. type: string
  843. "400":
  844. description: 具体错误
  845. schema:
  846. $ref: '#/definitions/md.Response'
  847. summary: 管理员绑定角色
  848. tags:
  849. - 权限管理
  850. /api/role/deleteAdmin/{$adm_id}:
  851. delete:
  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. produces:
  862. - application/json
  863. responses:
  864. "200":
  865. description: success
  866. schema:
  867. type: string
  868. "400":
  869. description: 具体错误
  870. schema:
  871. $ref: '#/definitions/md.Response'
  872. summary: 删除管理员
  873. tags:
  874. - 权限管理
  875. /api/role/deleteRole/{$id}:
  876. delete:
  877. consumes:
  878. - application/json
  879. description: 权限管理-删除角色
  880. parameters:
  881. - description: 验证参数Bearer和token空格拼接
  882. in: header
  883. name: Authorization
  884. required: true
  885. type: string
  886. - description: 请求参数
  887. in: body
  888. name: args
  889. required: true
  890. schema:
  891. $ref: '#/definitions/md.UpdateRoleStateReq'
  892. produces:
  893. - application/json
  894. responses:
  895. "200":
  896. description: success
  897. schema:
  898. type: string
  899. "400":
  900. description: 具体错误
  901. schema:
  902. $ref: '#/definitions/md.Response'
  903. summary: 删除角色
  904. tags:
  905. - 权限管理
  906. /api/role/permissionGroupList:
  907. get:
  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: 管理员id
  918. in: query
  919. name: adm_id
  920. required: true
  921. type: string
  922. produces:
  923. - application/json
  924. responses:
  925. "200":
  926. description: 具体看返回内容
  927. schema:
  928. type: string
  929. "400":
  930. description: 具体错误
  931. schema:
  932. $ref: '#/definitions/md.Response'
  933. summary: 权限组列表
  934. tags:
  935. - 权限管理
  936. /api/role/roleBindPermissionGroup:
  937. post:
  938. consumes:
  939. - application/json
  940. description: 权限管理-角色绑定权限组
  941. parameters:
  942. - description: 验证参数Bearer和token空格拼接
  943. in: header
  944. name: Authorization
  945. required: true
  946. type: string
  947. - description: 请求参数
  948. in: body
  949. name: args
  950. required: true
  951. schema:
  952. $ref: '#/definitions/md.RoleBindPermissionGroupReq'
  953. produces:
  954. - application/json
  955. responses:
  956. "200":
  957. description: success
  958. schema:
  959. type: string
  960. "400":
  961. description: 具体错误
  962. schema:
  963. $ref: '#/definitions/md.Response'
  964. summary: 角色绑定权限组
  965. tags:
  966. - 权限管理
  967. /api/role/roleList:
  968. get:
  969. consumes:
  970. - application/json
  971. description: 权限管理-角色列表
  972. parameters:
  973. - description: 验证参数Bearer和token空格拼接
  974. in: header
  975. name: Authorization
  976. required: true
  977. type: string
  978. produces:
  979. - application/json
  980. responses:
  981. "200":
  982. description: 具体看返回内容
  983. schema:
  984. type: string
  985. "400":
  986. description: 具体错误
  987. schema:
  988. $ref: '#/definitions/md.Response'
  989. summary: 角色列表
  990. tags:
  991. - 权限管理
  992. /api/role/updateAdmin:
  993. post:
  994. consumes:
  995. - application/json
  996. description: 权限管理-修改管理员信息
  997. parameters:
  998. - description: 验证参数Bearer和token空格拼接
  999. in: header
  1000. name: Authorization
  1001. required: true
  1002. type: string
  1003. - description: 请求参数
  1004. in: body
  1005. name: args
  1006. required: true
  1007. schema:
  1008. $ref: '#/definitions/md.UpdateAdminReq'
  1009. produces:
  1010. - application/json
  1011. responses:
  1012. "200":
  1013. description: success
  1014. schema:
  1015. type: string
  1016. "400":
  1017. description: 具体错误
  1018. schema:
  1019. $ref: '#/definitions/md.Response'
  1020. summary: 修改管理员信息
  1021. tags:
  1022. - 权限管理
  1023. /api/role/updateAdminState:
  1024. post:
  1025. consumes:
  1026. - application/json
  1027. description: 权限管理-修改管理员状态
  1028. parameters:
  1029. - description: 验证参数Bearer和token空格拼接
  1030. in: header
  1031. name: Authorization
  1032. required: true
  1033. type: string
  1034. - description: 请求参数
  1035. in: body
  1036. name: args
  1037. required: true
  1038. schema:
  1039. $ref: '#/definitions/md.UpdateAdminStateReq'
  1040. produces:
  1041. - application/json
  1042. responses:
  1043. "200":
  1044. description: success
  1045. schema:
  1046. type: string
  1047. "400":
  1048. description: 具体错误
  1049. schema:
  1050. $ref: '#/definitions/md.Response'
  1051. summary: 修改管理员状态
  1052. tags:
  1053. - 权限管理
  1054. /api/role/updateRole:
  1055. post:
  1056. consumes:
  1057. - application/json
  1058. description: 权限管理-修改角色状态
  1059. parameters:
  1060. - description: 验证参数Bearer和token空格拼接
  1061. in: header
  1062. name: Authorization
  1063. required: true
  1064. type: string
  1065. - description: 请求参数
  1066. in: body
  1067. name: args
  1068. required: true
  1069. schema:
  1070. $ref: '#/definitions/md.UpdateRoleStateReq'
  1071. produces:
  1072. - application/json
  1073. responses:
  1074. "200":
  1075. description: success
  1076. schema:
  1077. type: string
  1078. "400":
  1079. description: 具体错误
  1080. schema:
  1081. $ref: '#/definitions/md.Response'
  1082. summary: 修改角色状态
  1083. tags:
  1084. - 权限管理
  1085. /api/setCenter/basicGet:
  1086. get:
  1087. consumes:
  1088. - application/json
  1089. description: 基础设置-获取
  1090. parameters:
  1091. - description: 验证参数Bearer和token空格拼接
  1092. in: header
  1093. name: Authorization
  1094. required: true
  1095. type: string
  1096. produces:
  1097. - application/json
  1098. responses:
  1099. "200":
  1100. description: success
  1101. schema:
  1102. type: string
  1103. "400":
  1104. description: 具体错误
  1105. schema:
  1106. $ref: '#/definitions/md.Response'
  1107. summary: 基础设置
  1108. tags:
  1109. - 设置中心-基础设置
  1110. /api/setCenter/basicSet:
  1111. post:
  1112. consumes:
  1113. - application/json
  1114. description: 基础设置-设置
  1115. parameters:
  1116. - description: 验证参数Bearer和token空格拼接
  1117. in: header
  1118. name: Authorization
  1119. required: true
  1120. type: string
  1121. - description: 请求参数
  1122. in: body
  1123. name: args
  1124. required: true
  1125. schema:
  1126. $ref: '#/definitions/md.BasicSetReq'
  1127. produces:
  1128. - application/json
  1129. responses:
  1130. "200":
  1131. description: success
  1132. schema:
  1133. type: string
  1134. "400":
  1135. description: 具体错误
  1136. schema:
  1137. $ref: '#/definitions/md.Response'
  1138. summary: 基础设置
  1139. tags:
  1140. - 设置中心-基础设置
  1141. /api/smsCenter/detail:
  1142. post:
  1143. consumes:
  1144. - application/json
  1145. description: 短信中心-详情
  1146. parameters:
  1147. - description: 验证参数Bearer和token空格拼接
  1148. in: header
  1149. name: Authorization
  1150. required: true
  1151. type: string
  1152. - description: 请求参数
  1153. in: body
  1154. name: args
  1155. required: true
  1156. schema:
  1157. $ref: '#/definitions/md.SmsDetailReq'
  1158. produces:
  1159. - application/json
  1160. responses:
  1161. "200":
  1162. description: 具体看返回内容 这是data里面的数据
  1163. schema:
  1164. $ref: '#/definitions/md.SmsDetailResp'
  1165. "400":
  1166. description: 具体错误
  1167. schema:
  1168. $ref: '#/definitions/md.Response'
  1169. summary: 详情
  1170. tags:
  1171. - 短信中心
  1172. /api/smsCenter/list:
  1173. post:
  1174. consumes:
  1175. - application/json
  1176. description: 短信中心-列表
  1177. parameters:
  1178. - description: 验证参数Bearer和token空格拼接
  1179. in: header
  1180. name: Authorization
  1181. required: true
  1182. type: string
  1183. - description: 请求参数
  1184. in: body
  1185. name: args
  1186. required: true
  1187. schema:
  1188. $ref: '#/definitions/md.SmsListReq'
  1189. produces:
  1190. - application/json
  1191. responses:
  1192. "200":
  1193. description: 具体看返回内容 这是data里面的数据
  1194. schema:
  1195. $ref: '#/definitions/md.SmsListResp'
  1196. "400":
  1197. description: 具体错误
  1198. schema:
  1199. $ref: '#/definitions/md.Response'
  1200. summary: 列表
  1201. tags:
  1202. - 短信中心
  1203. /api/smsCenter/update:
  1204. post:
  1205. consumes:
  1206. - application/json
  1207. description: 短信中心-修改
  1208. parameters:
  1209. - description: 验证参数Bearer和token空格拼接
  1210. in: header
  1211. name: Authorization
  1212. required: true
  1213. type: string
  1214. - description: 请求参数
  1215. in: body
  1216. name: args
  1217. required: true
  1218. schema:
  1219. $ref: '#/definitions/md.SmsDetailReq'
  1220. produces:
  1221. - application/json
  1222. responses:
  1223. "200":
  1224. description: success
  1225. schema:
  1226. type: string
  1227. "400":
  1228. description: 具体错误
  1229. schema:
  1230. $ref: '#/definitions/md.Response'
  1231. summary: 修改
  1232. tags:
  1233. - 短信中心
  1234. securityDefinitions:
  1235. MasterID:
  1236. in: header
  1237. name: MasterID
  1238. type: apiKey
  1239. swagger: "2.0"