广告平台(总站长使用)
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 
 
 

1185 wiersze
27 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/dataCenter/generate/data/detail:
  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.DataCenterGenerateDataCommReq'
  513. produces:
  514. - application/json
  515. responses:
  516. "200":
  517. description: '具体看返回内容 '
  518. schema:
  519. $ref: '#/definitions/md.DataCenterGenerateDataDetailData'
  520. "400":
  521. description: 具体错误
  522. schema:
  523. $ref: '#/definitions/md.Response'
  524. summary: 分成数据-详情
  525. tags:
  526. - 数据中心
  527. /api/dataCenter/generate/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.DataCenterGenerateDataReq'
  544. produces:
  545. - application/json
  546. responses:
  547. "200":
  548. description: 具体看返回内容 这是data里面的数据
  549. schema:
  550. $ref: '#/definitions/md.DataCenterGenerateDataRes'
  551. "400":
  552. description: 具体错误
  553. schema:
  554. $ref: '#/definitions/md.Response'
  555. summary: 分成数据-列表
  556. tags:
  557. - 数据中心
  558. /api/dataCenter/original/data/list:
  559. post:
  560. consumes:
  561. - application/json
  562. description: 数据中心-原始数据-列表
  563. parameters:
  564. - description: 验证参数Bearer和token空格拼接
  565. in: header
  566. name: Authorization
  567. required: true
  568. type: string
  569. - description: 请求参数
  570. in: body
  571. name: args
  572. required: true
  573. schema:
  574. $ref: '#/definitions/md.DataCenterOriginalDataReq'
  575. produces:
  576. - application/json
  577. responses:
  578. "200":
  579. description: 具体看返回内容 这是data里面的数据
  580. schema:
  581. $ref: '#/definitions/md.DataCenterOriginalDataRes'
  582. "400":
  583. description: 具体错误
  584. schema:
  585. $ref: '#/definitions/md.Response'
  586. summary: 原始数据-列表
  587. tags:
  588. - 数据中心
  589. /api/login:
  590. post:
  591. consumes:
  592. - application/json
  593. description: 登入
  594. parameters:
  595. - description: 用户名密码
  596. in: body
  597. name: req
  598. required: true
  599. schema:
  600. $ref: '#/definitions/md.LoginReq'
  601. produces:
  602. - application/json
  603. responses:
  604. "200":
  605. description: token
  606. schema:
  607. $ref: '#/definitions/md.LoginResponse'
  608. "400":
  609. description: 具体错误
  610. schema:
  611. $ref: '#/definitions/md.Response'
  612. summary: 登陆
  613. tags:
  614. - 登录注册
  615. /api/loginInfo:
  616. get:
  617. consumes:
  618. - application/json
  619. description: 登录信息
  620. parameters:
  621. - description: 用户名密码
  622. in: body
  623. name: req
  624. required: true
  625. schema:
  626. $ref: '#/definitions/md.LoginReq'
  627. produces:
  628. - application/json
  629. responses:
  630. "200":
  631. description: token
  632. schema:
  633. $ref: '#/definitions/md.LoginInfoResponse'
  634. "400":
  635. description: 具体错误
  636. schema:
  637. $ref: '#/definitions/md.Response'
  638. summary: 登录信息
  639. tags:
  640. - 登录注册
  641. /api/role/addAdmin:
  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.AddAdminReq'
  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/addRole:
  673. post:
  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: 请求参数
  684. in: body
  685. name: args
  686. required: true
  687. schema:
  688. $ref: '#/definitions/md.AddRoleReq'
  689. produces:
  690. - application/json
  691. responses:
  692. "200":
  693. description: success
  694. schema:
  695. type: string
  696. "400":
  697. description: 具体错误
  698. schema:
  699. $ref: '#/definitions/md.Response'
  700. summary: 添加角色
  701. tags:
  702. - 权限管理
  703. /api/role/adminInfo:
  704. get:
  705. consumes:
  706. - application/json
  707. description: 权限管理-管理员信息
  708. parameters:
  709. - description: 验证参数Bearer和token空格拼接
  710. in: header
  711. name: Authorization
  712. required: true
  713. type: string
  714. - description: 管理员id
  715. in: query
  716. name: adm_id
  717. required: true
  718. type: string
  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/adminList:
  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.AdminListReq'
  750. produces:
  751. - application/json
  752. responses:
  753. "200":
  754. description: 具体看返回内容
  755. schema:
  756. type: string
  757. "400":
  758. description: 具体错误
  759. schema:
  760. $ref: '#/definitions/md.Response'
  761. summary: 管理员列表
  762. tags:
  763. - 权限管理
  764. /api/role/bindAdminRole/:
  765. post:
  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. - description: 请求参数
  776. in: body
  777. name: args
  778. required: true
  779. schema:
  780. $ref: '#/definitions/md.BindAdminRoleReq'
  781. produces:
  782. - application/json
  783. responses:
  784. "200":
  785. description: success
  786. schema:
  787. type: string
  788. "400":
  789. description: 具体错误
  790. schema:
  791. $ref: '#/definitions/md.Response'
  792. summary: 管理员绑定角色
  793. tags:
  794. - 权限管理
  795. /api/role/deleteAdmin/{$adm_id}:
  796. delete:
  797. consumes:
  798. - application/json
  799. description: 权限管理-删除管理员
  800. parameters:
  801. - description: 验证参数Bearer和token空格拼接
  802. in: header
  803. name: Authorization
  804. required: true
  805. type: string
  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/deleteRole/{$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. - description: 请求参数
  832. in: body
  833. name: args
  834. required: true
  835. schema:
  836. $ref: '#/definitions/md.UpdateRoleStateReq'
  837. produces:
  838. - application/json
  839. responses:
  840. "200":
  841. description: success
  842. schema:
  843. type: string
  844. "400":
  845. description: 具体错误
  846. schema:
  847. $ref: '#/definitions/md.Response'
  848. summary: 删除角色
  849. tags:
  850. - 权限管理
  851. /api/role/permissionGroupList:
  852. get:
  853. consumes:
  854. - application/json
  855. description: 权限管理-权限组列表
  856. parameters:
  857. - description: 验证参数Bearer和token空格拼接
  858. in: header
  859. name: Authorization
  860. required: true
  861. type: string
  862. - description: 管理员id
  863. in: query
  864. name: adm_id
  865. required: true
  866. type: string
  867. produces:
  868. - application/json
  869. responses:
  870. "200":
  871. description: 具体看返回内容
  872. schema:
  873. type: string
  874. "400":
  875. description: 具体错误
  876. schema:
  877. $ref: '#/definitions/md.Response'
  878. summary: 权限组列表
  879. tags:
  880. - 权限管理
  881. /api/role/roleBindPermissionGroup:
  882. post:
  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. - description: 请求参数
  893. in: body
  894. name: args
  895. required: true
  896. schema:
  897. $ref: '#/definitions/md.RoleBindPermissionGroupReq'
  898. produces:
  899. - application/json
  900. responses:
  901. "200":
  902. description: success
  903. schema:
  904. type: string
  905. "400":
  906. description: 具体错误
  907. schema:
  908. $ref: '#/definitions/md.Response'
  909. summary: 角色绑定权限组
  910. tags:
  911. - 权限管理
  912. /api/role/roleList:
  913. get:
  914. consumes:
  915. - application/json
  916. description: 权限管理-角色列表
  917. parameters:
  918. - description: 验证参数Bearer和token空格拼接
  919. in: header
  920. name: Authorization
  921. required: true
  922. type: string
  923. produces:
  924. - application/json
  925. responses:
  926. "200":
  927. description: 具体看返回内容
  928. schema:
  929. type: string
  930. "400":
  931. description: 具体错误
  932. schema:
  933. $ref: '#/definitions/md.Response'
  934. summary: 角色列表
  935. tags:
  936. - 权限管理
  937. /api/role/updateAdmin:
  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.UpdateAdminReq'
  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/updateAdminState:
  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.UpdateAdminStateReq'
  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/role/updateRole:
  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.UpdateRoleStateReq'
  1016. produces:
  1017. - application/json
  1018. responses:
  1019. "200":
  1020. description: success
  1021. schema:
  1022. type: string
  1023. "400":
  1024. description: 具体错误
  1025. schema:
  1026. $ref: '#/definitions/md.Response'
  1027. summary: 修改角色状态
  1028. tags:
  1029. - 权限管理
  1030. /api/setCenter/basicGet:
  1031. get:
  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. 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/basicSet:
  1056. post:
  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. - description: 请求参数
  1067. in: body
  1068. name: args
  1069. required: true
  1070. schema:
  1071. $ref: '#/definitions/md.BasicSetReq'
  1072. produces:
  1073. - application/json
  1074. responses:
  1075. "200":
  1076. description: success
  1077. schema:
  1078. type: string
  1079. "400":
  1080. description: 具体错误
  1081. schema:
  1082. $ref: '#/definitions/md.Response'
  1083. summary: 基础设置
  1084. tags:
  1085. - 设置中心-基础设置
  1086. /api/smsCenter/detail:
  1087. post:
  1088. consumes:
  1089. - application/json
  1090. description: 短信中心-详情
  1091. parameters:
  1092. - description: 验证参数Bearer和token空格拼接
  1093. in: header
  1094. name: Authorization
  1095. required: true
  1096. type: string
  1097. - description: 请求参数
  1098. in: body
  1099. name: args
  1100. required: true
  1101. schema:
  1102. $ref: '#/definitions/md.SmsDetailReq'
  1103. produces:
  1104. - application/json
  1105. responses:
  1106. "200":
  1107. description: 具体看返回内容 这是data里面的数据
  1108. schema:
  1109. $ref: '#/definitions/md.SmsDetailResp'
  1110. "400":
  1111. description: 具体错误
  1112. schema:
  1113. $ref: '#/definitions/md.Response'
  1114. summary: 详情
  1115. tags:
  1116. - 短信中心
  1117. /api/smsCenter/list:
  1118. post:
  1119. consumes:
  1120. - application/json
  1121. description: 短信中心-列表
  1122. parameters:
  1123. - description: 验证参数Bearer和token空格拼接
  1124. in: header
  1125. name: Authorization
  1126. required: true
  1127. type: string
  1128. - description: 请求参数
  1129. in: body
  1130. name: args
  1131. required: true
  1132. schema:
  1133. $ref: '#/definitions/md.SmsListReq'
  1134. produces:
  1135. - application/json
  1136. responses:
  1137. "200":
  1138. description: 具体看返回内容 这是data里面的数据
  1139. schema:
  1140. $ref: '#/definitions/md.SmsListResp'
  1141. "400":
  1142. description: 具体错误
  1143. schema:
  1144. $ref: '#/definitions/md.Response'
  1145. summary: 列表
  1146. tags:
  1147. - 短信中心
  1148. /api/smsCenter/update:
  1149. post:
  1150. consumes:
  1151. - application/json
  1152. description: 短信中心-修改
  1153. parameters:
  1154. - description: 验证参数Bearer和token空格拼接
  1155. in: header
  1156. name: Authorization
  1157. required: true
  1158. type: string
  1159. - description: 请求参数
  1160. in: body
  1161. name: args
  1162. required: true
  1163. schema:
  1164. $ref: '#/definitions/md.SmsDetailReq'
  1165. produces:
  1166. - application/json
  1167. responses:
  1168. "200":
  1169. description: success
  1170. schema:
  1171. type: string
  1172. "400":
  1173. description: 具体错误
  1174. schema:
  1175. $ref: '#/definitions/md.Response'
  1176. summary: 修改
  1177. tags:
  1178. - 短信中心
  1179. securityDefinitions:
  1180. MasterID:
  1181. in: header
  1182. name: MasterID
  1183. type: apiKey
  1184. swagger: "2.0"