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

2649 wiersze
65 KiB

  1. definitions:
  2. hdl.WxOpenThirdPartyAppList:
  3. properties:
  4. aes_key:
  5. type: string
  6. app_secret:
  7. type: string
  8. appid:
  9. type: string
  10. component_access_token:
  11. type: string
  12. component_verify_ticket:
  13. type: string
  14. create_at:
  15. type: string
  16. id:
  17. type: integer
  18. token:
  19. type: string
  20. update_at:
  21. type: string
  22. uuid:
  23. type: integer
  24. type: object
  25. md.AddAdminReq:
  26. properties:
  27. memo:
  28. type: string
  29. password:
  30. type: string
  31. username:
  32. type: string
  33. required:
  34. - password
  35. - username
  36. type: object
  37. md.AddRoleReq:
  38. properties:
  39. memo:
  40. type: string
  41. name:
  42. type: string
  43. required:
  44. - memo
  45. - name
  46. type: object
  47. md.AdminListReq:
  48. properties:
  49. limit:
  50. type: integer
  51. page:
  52. type: integer
  53. state:
  54. type: integer
  55. username:
  56. type: string
  57. type: object
  58. md.AgentQualificationBankData:
  59. properties:
  60. account:
  61. example: 账号
  62. type: string
  63. agent_id:
  64. example: 代理id
  65. type: string
  66. bank:
  67. example: 开户银行
  68. type: string
  69. bank_branch:
  70. example: 开户银行分行
  71. type: string
  72. bank_no:
  73. example: 银行卡号
  74. type: string
  75. company_name:
  76. example: 公司名称
  77. type: string
  78. currency_conf:
  79. example: 结算币种 0人民币
  80. type: string
  81. id:
  82. example: id
  83. type: string
  84. kind:
  85. example: 类型(1:企业 2:个人)
  86. type: string
  87. licence:
  88. example: 开户许可证
  89. type: string
  90. memo:
  91. example: 备注 审核时填写的
  92. type: string
  93. state:
  94. example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)
  95. type: string
  96. unified_social_credit_code:
  97. example: 统一社会信用代码
  98. type: string
  99. type: object
  100. md.AgentQualificationBankRes:
  101. properties:
  102. currency_conf:
  103. items:
  104. $ref: '#/definitions/md.SelectData'
  105. type: array
  106. list:
  107. items:
  108. $ref: '#/definitions/md.AgentQualificationBankData'
  109. type: array
  110. state:
  111. items:
  112. $ref: '#/definitions/md.SelectData'
  113. type: array
  114. total:
  115. type: integer
  116. type:
  117. items:
  118. $ref: '#/definitions/md.SelectData'
  119. type: array
  120. type: object
  121. md.AgentQualificationContactData:
  122. properties:
  123. account:
  124. example: 账号
  125. type: string
  126. address:
  127. example: 联系地址
  128. type: string
  129. agent_id:
  130. example: 代理id
  131. type: string
  132. company_name:
  133. example: 公司名称
  134. type: string
  135. email:
  136. example: 邮箱地址
  137. type: string
  138. id:
  139. example: id
  140. type: string
  141. kind:
  142. example: 类型(1:企业 2:个人)
  143. type: string
  144. memo:
  145. example: 备注 审核时填写的
  146. type: string
  147. name:
  148. example: 联系人
  149. type: string
  150. phone:
  151. example: 联系电话
  152. type: string
  153. state:
  154. example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)
  155. type: string
  156. type: object
  157. md.AgentQualificationContactRes:
  158. properties:
  159. list:
  160. items:
  161. $ref: '#/definitions/md.AgentQualificationContactData'
  162. type: array
  163. state:
  164. items:
  165. $ref: '#/definitions/md.SelectData'
  166. type: array
  167. total:
  168. type: integer
  169. type: object
  170. md.AgentQualificationEnterpriseAuditReq:
  171. properties:
  172. agent_id:
  173. type: string
  174. memo:
  175. type: string
  176. state:
  177. type: string
  178. type: object
  179. md.AgentQualificationEnterpriseData:
  180. properties:
  181. account:
  182. example: 账号
  183. type: string
  184. agent_id:
  185. example: 代理id
  186. type: string
  187. business_license_address:
  188. example: 营业执照地址
  189. type: string
  190. business_license_img_url:
  191. example: 营业执照照片
  192. type: string
  193. certificate_first_type:
  194. example: 证件类型 1级类目id
  195. type: string
  196. certificate_type:
  197. example: 证件类型 2级类目id
  198. type: string
  199. certificate_validity:
  200. example: 证件有效期
  201. type: string
  202. company_abbreviation:
  203. example: 公司简称
  204. type: string
  205. company_name:
  206. example: 公司名称
  207. type: string
  208. country_region:
  209. example: 国家地区
  210. type: string
  211. country_region_id:
  212. example: 国家地区id
  213. type: string
  214. id:
  215. example: 状态选择
  216. type: string
  217. kind:
  218. example: 类型(1:企业 2:个人)
  219. type: string
  220. legal_representative:
  221. example: 法定代表人
  222. type: string
  223. memo:
  224. example: 备注 审核时填写的
  225. type: string
  226. registered_address:
  227. example: 注册地址
  228. type: string
  229. registered_address_city_id:
  230. example: 注册地址-市id
  231. type: string
  232. registered_address_country_id:
  233. example: 注册地址-国家id
  234. type: string
  235. registered_address_county_id:
  236. example: 注册地址-县/区id
  237. type: string
  238. registered_address_province_id:
  239. example: 册地址-省份id
  240. type: string
  241. state:
  242. example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)
  243. type: string
  244. unified_social_credit_code:
  245. example: 统一社会信用代码
  246. type: string
  247. uuid:
  248. example: 站长id
  249. type: string
  250. type: object
  251. md.AgentQualificationEnterpriseReq:
  252. properties:
  253. limit:
  254. type: string
  255. name:
  256. type: string
  257. page:
  258. type: string
  259. state:
  260. type: string
  261. type: object
  262. md.AgentQualificationEnterpriseRes:
  263. properties:
  264. list:
  265. items:
  266. $ref: '#/definitions/md.AgentQualificationEnterpriseData'
  267. type: array
  268. state:
  269. items:
  270. $ref: '#/definitions/md.SelectData'
  271. type: array
  272. total:
  273. type: integer
  274. type:
  275. items:
  276. $ref: '#/definitions/md.SelectData'
  277. type: array
  278. type: object
  279. md.AppletAddReq:
  280. properties:
  281. appid:
  282. example: 授权小程序appid
  283. type: string
  284. logo:
  285. example: 小程序logo
  286. type: string
  287. name:
  288. example: 小程序名称
  289. type: string
  290. original_id:
  291. example: 授权小程序原始id
  292. type: string
  293. required:
  294. - appid
  295. - logo
  296. - name
  297. - original_id
  298. type: object
  299. md.AppletApplicationAdSpaceListData:
  300. properties:
  301. ad_id:
  302. example: 广告位id
  303. type: string
  304. app_id:
  305. example: 小程序appid
  306. type: string
  307. cooperate_state:
  308. example: 合作状态
  309. type: string
  310. id:
  311. example: id
  312. type: string
  313. kind:
  314. example: 广告位类型
  315. type: string
  316. logo:
  317. example: logo
  318. type: string
  319. memo:
  320. example: 备注
  321. type: string
  322. name:
  323. example: 应用名称
  324. type: string
  325. platform:
  326. example: 平台
  327. type: string
  328. state:
  329. example: 应用状态 state=2 才能再次编辑
  330. type: string
  331. type: object
  332. md.AppletApplicationAdSpaceListReq:
  333. properties:
  334. cooperate_state:
  335. example: 合作状态
  336. type: string
  337. limit:
  338. type: string
  339. medium_id:
  340. example: 媒体id
  341. type: string
  342. name:
  343. type: string
  344. page:
  345. type: string
  346. platform:
  347. type: string
  348. type: object
  349. md.AppletApplicationAdSpaceListRes:
  350. properties:
  351. ad_type:
  352. items:
  353. $ref: '#/definitions/md.SelectData'
  354. type: array
  355. cooperate_state:
  356. items:
  357. $ref: '#/definitions/md.SelectData'
  358. type: array
  359. list:
  360. items:
  361. $ref: '#/definitions/md.AppletApplicationAdSpaceListData'
  362. type: array
  363. platform:
  364. items:
  365. $ref: '#/definitions/md.SelectData'
  366. type: array
  367. state:
  368. items:
  369. $ref: '#/definitions/md.SelectData'
  370. type: array
  371. total:
  372. type: integer
  373. type: object
  374. md.AppletApplicationAdSpaceMediumListData:
  375. properties:
  376. account:
  377. example: 账号
  378. type: string
  379. contact_name:
  380. example: 联系人
  381. type: string
  382. count:
  383. example: 广告位数量
  384. type: string
  385. id:
  386. example: id
  387. type: string
  388. medium_id:
  389. example: 媒体id
  390. type: string
  391. name:
  392. example: 名称
  393. type: string
  394. phone:
  395. example: 联系电话
  396. type: string
  397. type: object
  398. md.AppletApplicationAdSpaceMediumListReq:
  399. properties:
  400. account:
  401. example: 媒体账号
  402. type: string
  403. limit:
  404. type: string
  405. name:
  406. example: 媒体名称
  407. type: string
  408. page:
  409. type: string
  410. type: object
  411. md.AppletApplicationAdSpaceMediumListRes:
  412. properties:
  413. list:
  414. items:
  415. $ref: '#/definitions/md.AppletApplicationAdSpaceMediumListData'
  416. type: array
  417. total:
  418. type: integer
  419. type: object
  420. md.AppletApplicationAdSpaceSaveReq:
  421. properties:
  422. id:
  423. example: id 多个逗号隔开
  424. type: string
  425. memo:
  426. example: 备注
  427. type: string
  428. state:
  429. example: 审核状态
  430. type: string
  431. type: object
  432. md.AppletApplicationListData:
  433. properties:
  434. app_id:
  435. example: 小程序appid
  436. type: string
  437. cooperate_state:
  438. example: 合作状态
  439. type: string
  440. id:
  441. example: id
  442. type: string
  443. logo:
  444. example: logo
  445. type: string
  446. memo:
  447. example: 备注
  448. type: string
  449. name:
  450. example: 应用名称
  451. type: string
  452. original_id:
  453. example: 小程序id
  454. type: string
  455. platform:
  456. example: 平台
  457. type: string
  458. state:
  459. example: 应用状态 state=3 才能再次编辑
  460. type: string
  461. type: object
  462. md.AppletApplicationListReq:
  463. properties:
  464. cooperate_state:
  465. example: 合作状态
  466. type: string
  467. limit:
  468. type: string
  469. medium_id:
  470. example: 媒体id
  471. type: string
  472. name:
  473. type: string
  474. page:
  475. type: string
  476. platform:
  477. type: string
  478. type: object
  479. md.AppletApplicationListRes:
  480. properties:
  481. cooperate_state:
  482. items:
  483. $ref: '#/definitions/md.SelectData'
  484. type: array
  485. list:
  486. items:
  487. $ref: '#/definitions/md.AppletApplicationListData'
  488. type: array
  489. platform:
  490. items:
  491. $ref: '#/definitions/md.SelectData'
  492. type: array
  493. state:
  494. items:
  495. $ref: '#/definitions/md.SelectData'
  496. type: array
  497. total:
  498. type: integer
  499. type: object
  500. md.AppletApplicationMediumListData:
  501. properties:
  502. account:
  503. example: 账号
  504. type: string
  505. contact_name:
  506. example: 联系人
  507. type: string
  508. count:
  509. example: 应用数量
  510. type: string
  511. id:
  512. example: id
  513. type: string
  514. medium_id:
  515. example: 媒体id
  516. type: string
  517. name:
  518. example: 名称
  519. type: string
  520. phone:
  521. example: 联系电话
  522. type: string
  523. type: object
  524. md.AppletApplicationMediumListReq:
  525. properties:
  526. account:
  527. example: 媒体账号
  528. type: string
  529. limit:
  530. type: string
  531. name:
  532. example: 媒体名称
  533. type: string
  534. page:
  535. type: string
  536. type: object
  537. md.AppletApplicationMediumListRes:
  538. properties:
  539. list:
  540. items:
  541. $ref: '#/definitions/md.AppletApplicationMediumListData'
  542. type: array
  543. total:
  544. type: integer
  545. type: object
  546. md.AppletApplicationSaveReq:
  547. properties:
  548. id:
  549. example: id 多个逗号隔开
  550. type: string
  551. memo:
  552. example: 备注
  553. type: string
  554. state:
  555. example: 审核状态
  556. type: string
  557. type: object
  558. md.AppletUpdateReq:
  559. properties:
  560. id:
  561. type: integer
  562. logo:
  563. example: 小程序logo
  564. type: string
  565. name:
  566. example: 小程序名称
  567. type: string
  568. required:
  569. - id
  570. - logo
  571. - name
  572. type: object
  573. md.BindAdminRoleReq:
  574. properties:
  575. adm_id:
  576. type: integer
  577. role_ids:
  578. items:
  579. type: integer
  580. type: array
  581. required:
  582. - adm_id
  583. type: object
  584. md.LoginReq:
  585. properties:
  586. code:
  587. example: 验证码
  588. type: string
  589. password:
  590. example: 登录密码
  591. type: string
  592. username:
  593. example: 登录账号
  594. type: string
  595. required:
  596. - password
  597. - username
  598. type: object
  599. md.LoginResponse:
  600. properties:
  601. token:
  602. type: string
  603. type: object
  604. md.MediumListData:
  605. properties:
  606. account:
  607. example: 媒体账号
  608. type: string
  609. business_license_address:
  610. example: 营业执照地址
  611. type: string
  612. company_name:
  613. example: 公司名称
  614. type: string
  615. id:
  616. example: id
  617. type: string
  618. legal_representative:
  619. example: 法定代表人
  620. type: string
  621. medium_id:
  622. example: 媒体id
  623. type: string
  624. memo:
  625. example: 备注 审核时填写的
  626. type: string
  627. state:
  628. example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)
  629. type: string
  630. unified_social_credit_code:
  631. example: 统一社会信用代码
  632. type: string
  633. type: object
  634. md.MediumListDelReq:
  635. properties:
  636. id:
  637. example: 列表id
  638. type: string
  639. type: object
  640. md.MediumListReq:
  641. properties:
  642. id:
  643. type: string
  644. limit:
  645. type: string
  646. name:
  647. type: string
  648. page:
  649. type: string
  650. state:
  651. type: string
  652. type: object
  653. md.MediumListRes:
  654. properties:
  655. list:
  656. items:
  657. $ref: '#/definitions/md.MediumListData'
  658. type: array
  659. state:
  660. items:
  661. $ref: '#/definitions/md.SelectData'
  662. type: array
  663. total:
  664. type: integer
  665. type: object
  666. md.MediumListSaveReq:
  667. properties:
  668. medium_id:
  669. type: string
  670. username:
  671. type: string
  672. type: object
  673. md.MediumQualificationContactData:
  674. properties:
  675. account:
  676. example: 账号
  677. type: string
  678. address:
  679. example: 联系地址
  680. type: string
  681. company_name:
  682. example: 公司名称
  683. type: string
  684. email:
  685. example: 邮箱地址
  686. type: string
  687. id:
  688. example: id
  689. type: string
  690. kind:
  691. example: 类型(1:企业 2:个人)
  692. type: string
  693. medium_id:
  694. example: 代理id
  695. type: string
  696. memo:
  697. example: 备注 审核时填写的
  698. type: string
  699. name:
  700. example: 联系人
  701. type: string
  702. phone:
  703. example: 联系电话
  704. type: string
  705. state:
  706. example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)
  707. type: string
  708. type: object
  709. md.MediumQualificationContactRes:
  710. properties:
  711. list:
  712. items:
  713. $ref: '#/definitions/md.MediumQualificationContactData'
  714. type: array
  715. state:
  716. items:
  717. $ref: '#/definitions/md.SelectData'
  718. type: array
  719. total:
  720. type: integer
  721. type: object
  722. md.MediumQualificationEnterpriseAuditReq:
  723. properties:
  724. medium_id:
  725. type: string
  726. memo:
  727. type: string
  728. state:
  729. type: string
  730. type: object
  731. md.MediumQualificationEnterpriseData:
  732. properties:
  733. account:
  734. example: 账号
  735. type: string
  736. business_license_address:
  737. example: 营业执照地址
  738. type: string
  739. business_license_img_url:
  740. example: 营业执照照片
  741. type: string
  742. certificate_first_type:
  743. example: 证件类型 1级类目id
  744. type: string
  745. certificate_type:
  746. example: 证件类型 2级类目id
  747. type: string
  748. certificate_validity:
  749. example: 证件有效期
  750. type: string
  751. company_abbreviation:
  752. example: 公司简称
  753. type: string
  754. company_name:
  755. example: 公司名称
  756. type: string
  757. country_region:
  758. example: 国家地区
  759. type: string
  760. country_region_id:
  761. example: 国家地区id
  762. type: string
  763. id:
  764. example: 状态选择
  765. type: string
  766. kind:
  767. example: 类型(1:企业 2:个人)
  768. type: string
  769. legal_representative:
  770. example: 法定代表人
  771. type: string
  772. medium_id:
  773. example: 代理id
  774. type: string
  775. memo:
  776. example: 备注 审核时填写的
  777. type: string
  778. registered_address:
  779. example: 注册地址
  780. type: string
  781. registered_address_city_id:
  782. example: 注册地址-市id
  783. type: string
  784. registered_address_country_id:
  785. example: 注册地址-国家id
  786. type: string
  787. registered_address_county_id:
  788. example: 注册地址-县/区id
  789. type: string
  790. registered_address_province_id:
  791. example: 册地址-省份id
  792. type: string
  793. state:
  794. example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)
  795. type: string
  796. unified_social_credit_code:
  797. example: 统一社会信用代码
  798. type: string
  799. uuid:
  800. example: 站长id
  801. type: string
  802. type: object
  803. md.MediumQualificationEnterpriseReq:
  804. properties:
  805. limit:
  806. type: string
  807. name:
  808. type: string
  809. page:
  810. type: string
  811. state:
  812. type: string
  813. type: object
  814. md.MediumQualificationEnterpriseRes:
  815. properties:
  816. list:
  817. items:
  818. $ref: '#/definitions/md.MediumQualificationEnterpriseData'
  819. type: array
  820. state:
  821. items:
  822. $ref: '#/definitions/md.SelectData'
  823. type: array
  824. total:
  825. type: integer
  826. type:
  827. items:
  828. $ref: '#/definitions/md.SelectData'
  829. type: array
  830. type: object
  831. md.QiNiuBucketRegion:
  832. properties:
  833. region_domain:
  834. example: 区域域名
  835. type: string
  836. region_id:
  837. example: 区域id
  838. type: string
  839. region_name:
  840. example: 区域名称
  841. type: string
  842. type: object
  843. md.RegisterForAgentReq:
  844. properties:
  845. code:
  846. example: 验证码
  847. type: string
  848. password:
  849. example: 登录密码
  850. type: string
  851. phone:
  852. example: 登录账号
  853. type: string
  854. required:
  855. - password
  856. - phone
  857. type: object
  858. md.RegisterForMediumReq:
  859. properties:
  860. code:
  861. example: 验证码
  862. type: string
  863. password:
  864. example: 登录密码
  865. type: string
  866. phone:
  867. example: 登录账号
  868. type: string
  869. required:
  870. - password
  871. - phone
  872. type: object
  873. md.Response:
  874. properties:
  875. code:
  876. example: 响应码
  877. type: string
  878. data:
  879. description: 内容
  880. msg:
  881. example: 具体错误原因
  882. type: string
  883. type: object
  884. md.RoleBindPermissionGroupReq:
  885. properties:
  886. permission_ids:
  887. items:
  888. type: integer
  889. type: array
  890. role_id:
  891. type: integer
  892. required:
  893. - role_id
  894. type: object
  895. md.SelectData:
  896. properties:
  897. name:
  898. example: 名称
  899. type: string
  900. value:
  901. example: 值
  902. type: string
  903. type: object
  904. md.SetMobReq:
  905. properties:
  906. mob_app_key:
  907. type: string
  908. mob_app_secret:
  909. type: string
  910. type: object
  911. md.SetOssReq:
  912. properties:
  913. file_access_key:
  914. example: 对象存储AccessToken
  915. type: string
  916. file_bucket:
  917. example: 对象存储bucket(空间)
  918. type: string
  919. file_bucket_host:
  920. example: 对象存储域名
  921. type: string
  922. file_bucket_region:
  923. example: 文件所属区域
  924. type: string
  925. file_secret_key:
  926. example: 对象存储SecretToken
  927. type: string
  928. required:
  929. - file_access_key
  930. - file_bucket
  931. - file_bucket_host
  932. - file_bucket_region
  933. - file_secret_key
  934. type: object
  935. md.SetOssResp:
  936. properties:
  937. data:
  938. allOf:
  939. - $ref: '#/definitions/md.SetOssReq'
  940. description: 数据内容
  941. qi_niu_bucket_region_list:
  942. description: 七牛云存储区域列表
  943. items:
  944. $ref: '#/definitions/md.QiNiuBucketRegion'
  945. type: array
  946. type: object
  947. md.ShareIndexResp:
  948. properties:
  949. agent_domain:
  950. example: 代理分享地址
  951. type: string
  952. master_id:
  953. type: string
  954. medium_domain:
  955. example: 媒体分享地址
  956. type: string
  957. type: object
  958. md.UpdateAdminReq:
  959. properties:
  960. adm_id:
  961. type: integer
  962. memo:
  963. type: string
  964. password:
  965. type: string
  966. username:
  967. type: string
  968. required:
  969. - adm_id
  970. - password
  971. - username
  972. type: object
  973. md.UpdateAdminStateReq:
  974. properties:
  975. adm_id:
  976. type: integer
  977. state:
  978. type: integer
  979. required:
  980. - adm_id
  981. - state
  982. type: object
  983. md.UpdateRoleReq:
  984. properties:
  985. memo:
  986. type: string
  987. name:
  988. type: string
  989. role_id:
  990. type: integer
  991. required:
  992. - memo
  993. - name
  994. - role_id
  995. type: object
  996. md.UpdateRoleStateReq:
  997. properties:
  998. role_id:
  999. type: integer
  1000. state:
  1001. type: integer
  1002. required:
  1003. - role_id
  1004. - state
  1005. type: object
  1006. md.WxOpenGetResp:
  1007. properties:
  1008. aes_key:
  1009. example: 消息加解密Key
  1010. type: string
  1011. app_secret:
  1012. example: appSecret
  1013. type: string
  1014. appid:
  1015. example: appid
  1016. type: string
  1017. token:
  1018. example: 消息校验Token
  1019. type: string
  1020. wx_open_applet_server_domain:
  1021. example: 微信开放平台-小程序服务器域名
  1022. type: string
  1023. wx_open_authorization_event_receiving_configuration:
  1024. example: 微信开放平台-授权事件接收配置
  1025. type: string
  1026. wx_open_domain_of_the_initiating_page_for_login_authorization:
  1027. example: 微信开放平台-登录授权的发起页域名
  1028. type: string
  1029. wx_open_message_and_event_reception_configuration:
  1030. example: 微信开放平台-消息与事件接收配置
  1031. type: string
  1032. wx_open_white_list_ip:
  1033. example: 微信开放平台-白名单ip
  1034. type: string
  1035. type: object
  1036. md.WxOpenSetReq:
  1037. properties:
  1038. aes_key:
  1039. example: 消息加解密Key
  1040. type: string
  1041. app_secret:
  1042. example: appSecret
  1043. type: string
  1044. appid:
  1045. example: appid
  1046. type: string
  1047. token:
  1048. example: 消息校验Token
  1049. type: string
  1050. required:
  1051. - aes_key
  1052. - app_secret
  1053. - appid
  1054. - token
  1055. type: object
  1056. host: localhost:1002 or xxxx.advertisement.dengbiao.top
  1057. info:
  1058. contact:
  1059. email: 1239118001@qq.com
  1060. name: dengbiao
  1061. url: http://www.swagger.io/support
  1062. description: 站长后台接口
  1063. license:
  1064. name: Apache 2.0
  1065. url: http://www.apache.org/licenses/LICENSE-2.0.html
  1066. termsOfService: http://swagger.io/terms/
  1067. title: 广告联盟-站长平台
  1068. version: "1.0"
  1069. paths:
  1070. /api/agentQualification/bank:
  1071. post:
  1072. consumes:
  1073. - application/json
  1074. description: 渠道资质-银行资质
  1075. parameters:
  1076. - description: 验证参数Bearer和token空格拼接
  1077. in: header
  1078. name: Authorization
  1079. required: true
  1080. type: string
  1081. - description: 请求参数
  1082. in: body
  1083. name: args
  1084. required: true
  1085. schema:
  1086. $ref: '#/definitions/md.AgentQualificationEnterpriseReq'
  1087. produces:
  1088. - application/json
  1089. responses:
  1090. "200":
  1091. description: 具体看返回内容 这是data里面的数据
  1092. schema:
  1093. $ref: '#/definitions/md.AgentQualificationBankRes'
  1094. "400":
  1095. description: 具体错误
  1096. schema:
  1097. $ref: '#/definitions/md.Response'
  1098. summary: 银行资质
  1099. tags:
  1100. - 渠道资质------嘉俊
  1101. /api/agentQualification/bank/audit:
  1102. post:
  1103. consumes:
  1104. - application/json
  1105. description: 渠道资质-银行资质审核
  1106. parameters:
  1107. - description: 验证参数Bearer和token空格拼接
  1108. in: header
  1109. name: Authorization
  1110. required: true
  1111. type: string
  1112. - description: 请求参数
  1113. in: body
  1114. name: args
  1115. required: true
  1116. schema:
  1117. $ref: '#/definitions/md.AgentQualificationEnterpriseAuditReq'
  1118. produces:
  1119. - application/json
  1120. responses:
  1121. "200":
  1122. description: 具体看返回内容
  1123. schema:
  1124. type: string
  1125. "400":
  1126. description: 具体错误
  1127. schema:
  1128. $ref: '#/definitions/md.Response'
  1129. summary: 银行资质审核
  1130. tags:
  1131. - 渠道资质------嘉俊
  1132. /api/agentQualification/contact:
  1133. post:
  1134. consumes:
  1135. - application/json
  1136. description: 渠道资质-联系方式
  1137. parameters:
  1138. - description: 验证参数Bearer和token空格拼接
  1139. in: header
  1140. name: Authorization
  1141. required: true
  1142. type: string
  1143. - description: 请求参数
  1144. in: body
  1145. name: args
  1146. required: true
  1147. schema:
  1148. $ref: '#/definitions/md.AgentQualificationEnterpriseReq'
  1149. produces:
  1150. - application/json
  1151. responses:
  1152. "200":
  1153. description: 具体看返回内容 这是data里面的数据
  1154. schema:
  1155. $ref: '#/definitions/md.AgentQualificationContactRes'
  1156. "400":
  1157. description: 具体错误
  1158. schema:
  1159. $ref: '#/definitions/md.Response'
  1160. summary: 联系方式
  1161. tags:
  1162. - 渠道资质------嘉俊
  1163. /api/agentQualification/contact/audit:
  1164. post:
  1165. consumes:
  1166. - application/json
  1167. description: 渠道资质-联系方式审核
  1168. parameters:
  1169. - description: 验证参数Bearer和token空格拼接
  1170. in: header
  1171. name: Authorization
  1172. required: true
  1173. type: string
  1174. - description: 请求参数
  1175. in: body
  1176. name: args
  1177. required: true
  1178. schema:
  1179. $ref: '#/definitions/md.AgentQualificationEnterpriseAuditReq'
  1180. produces:
  1181. - application/json
  1182. responses:
  1183. "200":
  1184. description: 具体看返回内容
  1185. schema:
  1186. type: string
  1187. "400":
  1188. description: 具体错误
  1189. schema:
  1190. $ref: '#/definitions/md.Response'
  1191. summary: 联系方式审核
  1192. tags:
  1193. - 渠道资质------嘉俊
  1194. /api/agentQualification/enterprise:
  1195. post:
  1196. consumes:
  1197. - application/json
  1198. description: 渠道资质-主体资质
  1199. parameters:
  1200. - description: 验证参数Bearer和token空格拼接
  1201. in: header
  1202. name: Authorization
  1203. required: true
  1204. type: string
  1205. - description: 请求参数
  1206. in: body
  1207. name: args
  1208. required: true
  1209. schema:
  1210. $ref: '#/definitions/md.AgentQualificationEnterpriseReq'
  1211. produces:
  1212. - application/json
  1213. responses:
  1214. "200":
  1215. description: 具体看返回内容 这是data里面的数据
  1216. schema:
  1217. $ref: '#/definitions/md.AgentQualificationEnterpriseRes'
  1218. "400":
  1219. description: 具体错误
  1220. schema:
  1221. $ref: '#/definitions/md.Response'
  1222. summary: 主体资质
  1223. tags:
  1224. - 渠道资质------嘉俊
  1225. /api/agentQualification/enterprise/audit:
  1226. post:
  1227. consumes:
  1228. - application/json
  1229. description: 渠道资质-主体资质审核
  1230. parameters:
  1231. - description: 验证参数Bearer和token空格拼接
  1232. in: header
  1233. name: Authorization
  1234. required: true
  1235. type: string
  1236. - description: 请求参数
  1237. in: body
  1238. name: args
  1239. required: true
  1240. schema:
  1241. $ref: '#/definitions/md.AgentQualificationEnterpriseAuditReq'
  1242. produces:
  1243. - application/json
  1244. responses:
  1245. "200":
  1246. description: 具体看返回内容
  1247. schema:
  1248. type: string
  1249. "400":
  1250. description: 具体错误
  1251. schema:
  1252. $ref: '#/definitions/md.Response'
  1253. summary: 主体资质审核
  1254. tags:
  1255. - 渠道资质------嘉俊
  1256. /api/login:
  1257. post:
  1258. consumes:
  1259. - application/json
  1260. description: 登入
  1261. parameters:
  1262. - description: 用户名密码
  1263. in: body
  1264. name: req
  1265. required: true
  1266. schema:
  1267. $ref: '#/definitions/md.LoginReq'
  1268. produces:
  1269. - application/json
  1270. responses:
  1271. "200":
  1272. description: token
  1273. schema:
  1274. $ref: '#/definitions/md.LoginResponse'
  1275. "400":
  1276. description: 具体错误
  1277. schema:
  1278. $ref: '#/definitions/md.Response'
  1279. summary: 登陆
  1280. tags:
  1281. - 登录
  1282. /api/mediumCenter/agent/bind/medium/list:
  1283. post:
  1284. consumes:
  1285. - application/json
  1286. description: 媒体中心-代理绑定媒体列表
  1287. parameters:
  1288. - description: 验证参数Bearer和token空格拼接
  1289. in: header
  1290. name: Authorization
  1291. required: true
  1292. type: string
  1293. - description: 请求参数
  1294. in: body
  1295. name: args
  1296. required: true
  1297. schema:
  1298. $ref: '#/definitions/md.MediumListReq'
  1299. produces:
  1300. - application/json
  1301. responses:
  1302. "200":
  1303. description: 具体看返回内容 这是data里面的数据
  1304. schema:
  1305. $ref: '#/definitions/md.MediumListRes'
  1306. "400":
  1307. description: 具体错误
  1308. schema:
  1309. $ref: '#/definitions/md.Response'
  1310. summary: 代理绑定媒体列表
  1311. tags:
  1312. - 媒体中心------嘉俊
  1313. /api/mediumCenter/agent/list:
  1314. post:
  1315. consumes:
  1316. - application/json
  1317. description: 媒体中心-代理列表
  1318. parameters:
  1319. - description: 验证参数Bearer和token空格拼接
  1320. in: header
  1321. name: Authorization
  1322. required: true
  1323. type: string
  1324. - description: 请求参数
  1325. in: body
  1326. name: args
  1327. required: true
  1328. schema:
  1329. $ref: '#/definitions/md.AgentQualificationEnterpriseReq'
  1330. produces:
  1331. - application/json
  1332. responses:
  1333. "200":
  1334. description: 具体看返回内容 这是data里面的数据
  1335. schema:
  1336. $ref: '#/definitions/md.AgentQualificationEnterpriseRes'
  1337. "400":
  1338. description: 具体错误
  1339. schema:
  1340. $ref: '#/definitions/md.Response'
  1341. summary: 代理列表
  1342. tags:
  1343. - 媒体中心------嘉俊
  1344. /api/mediumCenter/applet/application/ad/space/audit:
  1345. post:
  1346. consumes:
  1347. - application/json
  1348. description: 小程序应用-广告位审核
  1349. parameters:
  1350. - description: 验证参数Bearer和token空格拼接
  1351. in: header
  1352. name: Authorization
  1353. required: true
  1354. type: string
  1355. - description: 请求参数
  1356. in: body
  1357. name: args
  1358. required: true
  1359. schema:
  1360. $ref: '#/definitions/md.AppletApplicationAdSpaceSaveReq'
  1361. produces:
  1362. - application/json
  1363. responses:
  1364. "200":
  1365. description: 具体看返回内容
  1366. schema:
  1367. type: string
  1368. "400":
  1369. description: 具体错误
  1370. schema:
  1371. $ref: '#/definitions/md.Response'
  1372. summary: 广告位审核
  1373. tags:
  1374. - 媒体中心------嘉俊
  1375. /api/mediumCenter/applet/application/ad/space/list:
  1376. post:
  1377. consumes:
  1378. - application/json
  1379. description: 媒体中心-媒体列表
  1380. parameters:
  1381. - description: 验证参数Bearer和token空格拼接
  1382. in: header
  1383. name: Authorization
  1384. required: true
  1385. type: string
  1386. - description: 请求参数
  1387. in: body
  1388. name: args
  1389. required: true
  1390. schema:
  1391. $ref: '#/definitions/md.AppletApplicationAdSpaceMediumListReq'
  1392. produces:
  1393. - application/json
  1394. responses:
  1395. "200":
  1396. description: 具体看返回内容---这是data里面的数据
  1397. schema:
  1398. $ref: '#/definitions/md.AppletApplicationAdSpaceMediumListRes'
  1399. "400":
  1400. description: 具体错误
  1401. schema:
  1402. $ref: '#/definitions/md.Response'
  1403. summary: 媒体列表
  1404. tags:
  1405. - 媒体中心------嘉俊
  1406. /api/mediumCenter/applet/application/ad/space/save:
  1407. post:
  1408. consumes:
  1409. - application/json
  1410. description: 小程序应用-广告位列表
  1411. parameters:
  1412. - description: 验证参数Bearer和token空格拼接
  1413. in: header
  1414. name: Authorization
  1415. required: true
  1416. type: string
  1417. - description: 请求参数
  1418. in: body
  1419. name: args
  1420. required: true
  1421. schema:
  1422. $ref: '#/definitions/md.AppletApplicationAdSpaceListReq'
  1423. produces:
  1424. - application/json
  1425. responses:
  1426. "200":
  1427. description: 具体看返回内容---这是data里面的数据
  1428. schema:
  1429. $ref: '#/definitions/md.AppletApplicationAdSpaceListRes'
  1430. "400":
  1431. description: 具体错误
  1432. schema:
  1433. $ref: '#/definitions/md.Response'
  1434. summary: 广告位列表
  1435. tags:
  1436. - 媒体中心------嘉俊
  1437. /api/mediumCenter/applet/application/audit:
  1438. post:
  1439. consumes:
  1440. - application/json
  1441. description: 小程序应用-审核
  1442. parameters:
  1443. - description: 验证参数Bearer和token空格拼接
  1444. in: header
  1445. name: Authorization
  1446. required: true
  1447. type: string
  1448. - description: 请求参数
  1449. in: body
  1450. name: args
  1451. required: true
  1452. schema:
  1453. $ref: '#/definitions/md.AppletApplicationSaveReq'
  1454. produces:
  1455. - application/json
  1456. responses:
  1457. "200":
  1458. description: 具体看返回内容
  1459. schema:
  1460. type: string
  1461. "400":
  1462. description: 具体错误
  1463. schema:
  1464. $ref: '#/definitions/md.Response'
  1465. summary: 审核
  1466. tags:
  1467. - 媒体中心------嘉俊
  1468. /api/mediumCenter/applet/application/list:
  1469. post:
  1470. consumes:
  1471. - application/json
  1472. description: 小程序应用-列表数据
  1473. parameters:
  1474. - description: 验证参数Bearer和token空格拼接
  1475. in: header
  1476. name: Authorization
  1477. required: true
  1478. type: string
  1479. - description: 请求参数
  1480. in: body
  1481. name: args
  1482. required: true
  1483. schema:
  1484. $ref: '#/definitions/md.AppletApplicationListReq'
  1485. produces:
  1486. - application/json
  1487. responses:
  1488. "200":
  1489. description: 具体看返回内容---这是data里面的数据
  1490. schema:
  1491. $ref: '#/definitions/md.AppletApplicationListRes'
  1492. "400":
  1493. description: 具体错误
  1494. schema:
  1495. $ref: '#/definitions/md.Response'
  1496. summary: 应用列表
  1497. tags:
  1498. - 媒体中心------嘉俊
  1499. /api/mediumCenter/applet/application/medium/list:
  1500. post:
  1501. consumes:
  1502. - application/json
  1503. description: 媒体中心-媒体列表
  1504. parameters:
  1505. - description: 验证参数Bearer和token空格拼接
  1506. in: header
  1507. name: Authorization
  1508. required: true
  1509. type: string
  1510. - description: 请求参数
  1511. in: body
  1512. name: args
  1513. required: true
  1514. schema:
  1515. $ref: '#/definitions/md.AppletApplicationMediumListReq'
  1516. produces:
  1517. - application/json
  1518. responses:
  1519. "200":
  1520. description: 具体看返回内容---这是data里面的数据
  1521. schema:
  1522. $ref: '#/definitions/md.AppletApplicationMediumListRes'
  1523. "400":
  1524. description: 具体错误
  1525. schema:
  1526. $ref: '#/definitions/md.Response'
  1527. summary: 媒体列表
  1528. tags:
  1529. - 媒体中心------嘉俊
  1530. /api/mediumCenter/medium/bind/agent/del:
  1531. post:
  1532. consumes:
  1533. - application/json
  1534. description: 媒体中心-媒体绑定代理删除
  1535. parameters:
  1536. - description: 验证参数Bearer和token空格拼接
  1537. in: header
  1538. name: Authorization
  1539. required: true
  1540. type: string
  1541. - description: 请求参数
  1542. in: body
  1543. name: args
  1544. required: true
  1545. schema:
  1546. $ref: '#/definitions/md.MediumListDelReq'
  1547. produces:
  1548. - application/json
  1549. responses:
  1550. "200":
  1551. description: '具体看返回内容 '
  1552. schema:
  1553. type: string
  1554. "400":
  1555. description: 具体错误
  1556. schema:
  1557. $ref: '#/definitions/md.Response'
  1558. summary: 媒体绑定代理删除
  1559. tags:
  1560. - 媒体中心------嘉俊
  1561. /api/mediumCenter/medium/bind/agent/list:
  1562. post:
  1563. consumes:
  1564. - application/json
  1565. description: 媒体中心-媒体绑定代理列表
  1566. parameters:
  1567. - description: 验证参数Bearer和token空格拼接
  1568. in: header
  1569. name: Authorization
  1570. required: true
  1571. type: string
  1572. - description: 请求参数
  1573. in: body
  1574. name: args
  1575. required: true
  1576. schema:
  1577. $ref: '#/definitions/md.MediumListReq'
  1578. produces:
  1579. - application/json
  1580. responses:
  1581. "200":
  1582. description: 具体看返回内容 这是data里面的数据
  1583. schema:
  1584. $ref: '#/definitions/md.MediumListRes'
  1585. "400":
  1586. description: 具体错误
  1587. schema:
  1588. $ref: '#/definitions/md.Response'
  1589. summary: 媒体绑定代理列表
  1590. tags:
  1591. - 媒体中心------嘉俊
  1592. /api/mediumCenter/medium/bind/agent/save:
  1593. post:
  1594. consumes:
  1595. - application/json
  1596. description: 媒体中心-媒体绑定代理操作
  1597. parameters:
  1598. - description: 验证参数Bearer和token空格拼接
  1599. in: header
  1600. name: Authorization
  1601. required: true
  1602. type: string
  1603. - description: 请求参数
  1604. in: body
  1605. name: args
  1606. required: true
  1607. schema:
  1608. $ref: '#/definitions/md.MediumListSaveReq'
  1609. produces:
  1610. - application/json
  1611. responses:
  1612. "200":
  1613. description: '具体看返回内容 '
  1614. schema:
  1615. type: string
  1616. "400":
  1617. description: 具体错误
  1618. schema:
  1619. $ref: '#/definitions/md.Response'
  1620. summary: 媒体绑定代理操作
  1621. tags:
  1622. - 媒体中心------嘉俊
  1623. /api/mediumCenter/medium/list:
  1624. post:
  1625. consumes:
  1626. - application/json
  1627. description: 媒体中心-媒体列表
  1628. parameters:
  1629. - description: 验证参数Bearer和token空格拼接
  1630. in: header
  1631. name: Authorization
  1632. required: true
  1633. type: string
  1634. - description: 请求参数
  1635. in: body
  1636. name: args
  1637. required: true
  1638. schema:
  1639. $ref: '#/definitions/md.MediumQualificationEnterpriseReq'
  1640. produces:
  1641. - application/json
  1642. responses:
  1643. "200":
  1644. description: 具体看返回内容 这是data里面的数据
  1645. schema:
  1646. $ref: '#/definitions/md.MediumQualificationEnterpriseRes'
  1647. "400":
  1648. description: 具体错误
  1649. schema:
  1650. $ref: '#/definitions/md.Response'
  1651. summary: 媒体列表
  1652. tags:
  1653. - 媒体中心------嘉俊
  1654. /api/mediumQualification/bank:
  1655. post:
  1656. responses:
  1657. "400":
  1658. description: 具体错误
  1659. schema:
  1660. $ref: '#/definitions/md.Response'
  1661. /api/mediumQualification/bank/audit:
  1662. post:
  1663. consumes:
  1664. - application/json
  1665. description: 媒体资质-银行资质审核
  1666. parameters:
  1667. - description: 验证参数Bearer和token空格拼接
  1668. in: header
  1669. name: Authorization
  1670. required: true
  1671. type: string
  1672. - description: 请求参数
  1673. in: body
  1674. name: args
  1675. required: true
  1676. schema:
  1677. $ref: '#/definitions/md.MediumQualificationEnterpriseAuditReq'
  1678. produces:
  1679. - application/json
  1680. responses:
  1681. "200":
  1682. description: 具体看返回内容
  1683. schema:
  1684. type: string
  1685. "400":
  1686. description: 具体错误
  1687. schema:
  1688. $ref: '#/definitions/md.Response'
  1689. summary: 银行资质审核
  1690. tags:
  1691. - 媒体资质------嘉俊
  1692. /api/mediumQualification/contact:
  1693. post:
  1694. consumes:
  1695. - application/json
  1696. description: 媒体资质-联系方式
  1697. parameters:
  1698. - description: 验证参数Bearer和token空格拼接
  1699. in: header
  1700. name: Authorization
  1701. required: true
  1702. type: string
  1703. - description: 请求参数
  1704. in: body
  1705. name: args
  1706. required: true
  1707. schema:
  1708. $ref: '#/definitions/md.MediumQualificationEnterpriseReq'
  1709. produces:
  1710. - application/json
  1711. responses:
  1712. "200":
  1713. description: 具体看返回内容 这是data里面的数据
  1714. schema:
  1715. $ref: '#/definitions/md.MediumQualificationContactRes'
  1716. "400":
  1717. description: 具体错误
  1718. schema:
  1719. $ref: '#/definitions/md.Response'
  1720. summary: 联系方式
  1721. tags:
  1722. - 媒体资质------嘉俊
  1723. /api/mediumQualification/contact/audit:
  1724. post:
  1725. consumes:
  1726. - application/json
  1727. description: 媒体资质-联系方式审核
  1728. parameters:
  1729. - description: 验证参数Bearer和token空格拼接
  1730. in: header
  1731. name: Authorization
  1732. required: true
  1733. type: string
  1734. - description: 请求参数
  1735. in: body
  1736. name: args
  1737. required: true
  1738. schema:
  1739. $ref: '#/definitions/md.MediumQualificationEnterpriseAuditReq'
  1740. produces:
  1741. - application/json
  1742. responses:
  1743. "200":
  1744. description: 具体看返回内容
  1745. schema:
  1746. type: string
  1747. "400":
  1748. description: 具体错误
  1749. schema:
  1750. $ref: '#/definitions/md.Response'
  1751. summary: 联系方式审核
  1752. tags:
  1753. - 媒体资质------嘉俊
  1754. /api/mediumQualification/enterprise:
  1755. post:
  1756. consumes:
  1757. - application/json
  1758. description: 媒体资质-主体资质
  1759. parameters:
  1760. - description: 验证参数Bearer和token空格拼接
  1761. in: header
  1762. name: Authorization
  1763. required: true
  1764. type: string
  1765. - description: 请求参数
  1766. in: body
  1767. name: args
  1768. required: true
  1769. schema:
  1770. $ref: '#/definitions/md.MediumQualificationEnterpriseReq'
  1771. produces:
  1772. - application/json
  1773. responses:
  1774. "200":
  1775. description: 具体看返回内容 这是data里面的数据
  1776. schema:
  1777. $ref: '#/definitions/md.MediumQualificationEnterpriseRes'
  1778. "400":
  1779. description: 具体错误
  1780. schema:
  1781. $ref: '#/definitions/md.Response'
  1782. summary: 主体资质
  1783. tags:
  1784. - 媒体资质------嘉俊
  1785. /api/mediumQualification/enterprise/audit:
  1786. post:
  1787. consumes:
  1788. - application/json
  1789. description: 媒体资质-主体资质审核
  1790. parameters:
  1791. - description: 验证参数Bearer和token空格拼接
  1792. in: header
  1793. name: Authorization
  1794. required: true
  1795. type: string
  1796. - description: 请求参数
  1797. in: body
  1798. name: args
  1799. required: true
  1800. schema:
  1801. $ref: '#/definitions/md.MediumQualificationEnterpriseAuditReq'
  1802. produces:
  1803. - application/json
  1804. responses:
  1805. "200":
  1806. description: 具体看返回内容
  1807. schema:
  1808. type: string
  1809. "400":
  1810. description: 具体错误
  1811. schema:
  1812. $ref: '#/definitions/md.Response'
  1813. summary: 主体资质审核
  1814. tags:
  1815. - 媒体资质------嘉俊
  1816. /api/registerForAgent:
  1817. post:
  1818. consumes:
  1819. - application/json
  1820. description: 注册模块-渠道代理注册
  1821. parameters:
  1822. - description: 用户名密码
  1823. in: body
  1824. name: req
  1825. required: true
  1826. schema:
  1827. $ref: '#/definitions/md.RegisterForAgentReq'
  1828. produces:
  1829. - application/json
  1830. responses:
  1831. "200":
  1832. description: success
  1833. schema:
  1834. type: string
  1835. "400":
  1836. description: 具体错误
  1837. schema:
  1838. $ref: '#/definitions/md.Response'
  1839. summary: 渠道代理注册
  1840. tags:
  1841. - 注册模块
  1842. /api/registerForMedium:
  1843. post:
  1844. consumes:
  1845. - application/json
  1846. description: 注册模块-媒体注册
  1847. parameters:
  1848. - description: 用户名密码
  1849. in: body
  1850. name: req
  1851. required: true
  1852. schema:
  1853. $ref: '#/definitions/md.RegisterForMediumReq'
  1854. produces:
  1855. - application/json
  1856. responses:
  1857. "200":
  1858. description: success
  1859. schema:
  1860. type: string
  1861. "400":
  1862. description: 具体错误
  1863. schema:
  1864. $ref: '#/definitions/md.Response'
  1865. summary: 媒体注册
  1866. tags:
  1867. - 注册模块
  1868. /api/role/addAdmin:
  1869. post:
  1870. consumes:
  1871. - application/json
  1872. description: 权限管理-新增管理员
  1873. parameters:
  1874. - description: 验证参数Bearer和token空格拼接
  1875. in: header
  1876. name: Authorization
  1877. required: true
  1878. type: string
  1879. - description: 请求参数
  1880. in: body
  1881. name: args
  1882. required: true
  1883. schema:
  1884. $ref: '#/definitions/md.AddAdminReq'
  1885. produces:
  1886. - application/json
  1887. responses:
  1888. "200":
  1889. description: success
  1890. schema:
  1891. type: string
  1892. "400":
  1893. description: 具体错误
  1894. schema:
  1895. $ref: '#/definitions/md.Response'
  1896. summary: 新增管理员
  1897. tags:
  1898. - 权限管理
  1899. /api/role/addRole:
  1900. post:
  1901. consumes:
  1902. - application/json
  1903. description: 权限管理-添加角色
  1904. parameters:
  1905. - description: 验证参数Bearer和token空格拼接
  1906. in: header
  1907. name: Authorization
  1908. required: true
  1909. type: string
  1910. - description: 请求参数
  1911. in: body
  1912. name: args
  1913. required: true
  1914. schema:
  1915. $ref: '#/definitions/md.AddRoleReq'
  1916. produces:
  1917. - application/json
  1918. responses:
  1919. "200":
  1920. description: success
  1921. schema:
  1922. type: string
  1923. "400":
  1924. description: 具体错误
  1925. schema:
  1926. $ref: '#/definitions/md.Response'
  1927. summary: 添加角色
  1928. tags:
  1929. - 权限管理
  1930. /api/role/adminInfo:
  1931. get:
  1932. consumes:
  1933. - application/json
  1934. description: 权限管理-管理员信息
  1935. parameters:
  1936. - description: 验证参数Bearer和token空格拼接
  1937. in: header
  1938. name: Authorization
  1939. required: true
  1940. type: string
  1941. - description: 管理员id
  1942. in: query
  1943. name: adm_id
  1944. required: true
  1945. type: string
  1946. produces:
  1947. - application/json
  1948. responses:
  1949. "200":
  1950. description: 具体看返回内容
  1951. schema:
  1952. type: string
  1953. "400":
  1954. description: 具体错误
  1955. schema:
  1956. $ref: '#/definitions/md.Response'
  1957. summary: 管理员信息
  1958. tags:
  1959. - 权限管理
  1960. /api/role/adminList:
  1961. post:
  1962. consumes:
  1963. - application/json
  1964. description: 权限管理-管理员列表
  1965. parameters:
  1966. - description: 验证参数Bearer和token空格拼接
  1967. in: header
  1968. name: Authorization
  1969. required: true
  1970. type: string
  1971. - description: 请求参数
  1972. in: body
  1973. name: args
  1974. required: true
  1975. schema:
  1976. $ref: '#/definitions/md.AdminListReq'
  1977. produces:
  1978. - application/json
  1979. responses:
  1980. "200":
  1981. description: 具体看返回内容
  1982. schema:
  1983. type: string
  1984. "400":
  1985. description: 具体错误
  1986. schema:
  1987. $ref: '#/definitions/md.Response'
  1988. summary: 管理员列表
  1989. tags:
  1990. - 权限管理
  1991. /api/role/bindAdminRole/:
  1992. post:
  1993. consumes:
  1994. - application/json
  1995. description: 权限管理-管理员绑定角色
  1996. parameters:
  1997. - description: 验证参数Bearer和token空格拼接
  1998. in: header
  1999. name: Authorization
  2000. required: true
  2001. type: string
  2002. - description: 请求参数
  2003. in: body
  2004. name: args
  2005. required: true
  2006. schema:
  2007. $ref: '#/definitions/md.BindAdminRoleReq'
  2008. produces:
  2009. - application/json
  2010. responses:
  2011. "200":
  2012. description: success
  2013. schema:
  2014. type: string
  2015. "400":
  2016. description: 具体错误
  2017. schema:
  2018. $ref: '#/definitions/md.Response'
  2019. summary: 管理员绑定角色
  2020. tags:
  2021. - 权限管理
  2022. /api/role/deleteAdmin/{$adm_id}:
  2023. delete:
  2024. consumes:
  2025. - application/json
  2026. description: 权限管理-删除管理员
  2027. parameters:
  2028. - description: 验证参数Bearer和token空格拼接
  2029. in: header
  2030. name: Authorization
  2031. required: true
  2032. type: string
  2033. produces:
  2034. - application/json
  2035. responses:
  2036. "200":
  2037. description: success
  2038. schema:
  2039. type: string
  2040. "400":
  2041. description: 具体错误
  2042. schema:
  2043. $ref: '#/definitions/md.Response'
  2044. summary: 删除管理员
  2045. tags:
  2046. - 权限管理
  2047. /api/role/deleteRole/{$id}:
  2048. delete:
  2049. consumes:
  2050. - application/json
  2051. description: 权限管理-删除角色
  2052. parameters:
  2053. - description: 验证参数Bearer和token空格拼接
  2054. in: header
  2055. name: Authorization
  2056. required: true
  2057. type: string
  2058. - description: 请求参数
  2059. in: body
  2060. name: args
  2061. required: true
  2062. schema:
  2063. $ref: '#/definitions/md.UpdateRoleStateReq'
  2064. produces:
  2065. - application/json
  2066. responses:
  2067. "200":
  2068. description: success
  2069. schema:
  2070. type: string
  2071. "400":
  2072. description: 具体错误
  2073. schema:
  2074. $ref: '#/definitions/md.Response'
  2075. summary: 删除角色
  2076. tags:
  2077. - 权限管理
  2078. /api/role/roleBindPermissionGroup:
  2079. post:
  2080. consumes:
  2081. - application/json
  2082. description: 权限管理-角色绑定权限组
  2083. parameters:
  2084. - description: 验证参数Bearer和token空格拼接
  2085. in: header
  2086. name: Authorization
  2087. required: true
  2088. type: string
  2089. - description: 请求参数
  2090. in: body
  2091. name: args
  2092. required: true
  2093. schema:
  2094. $ref: '#/definitions/md.RoleBindPermissionGroupReq'
  2095. produces:
  2096. - application/json
  2097. responses:
  2098. "200":
  2099. description: success
  2100. schema:
  2101. type: string
  2102. "400":
  2103. description: 具体错误
  2104. schema:
  2105. $ref: '#/definitions/md.Response'
  2106. summary: 角色绑定权限组
  2107. tags:
  2108. - 权限管理
  2109. /api/role/roleList:
  2110. get:
  2111. consumes:
  2112. - application/json
  2113. description: 权限管理-角色列表
  2114. parameters:
  2115. - description: 验证参数Bearer和token空格拼接
  2116. in: header
  2117. name: Authorization
  2118. required: true
  2119. type: string
  2120. produces:
  2121. - application/json
  2122. responses:
  2123. "200":
  2124. description: 具体看返回内容
  2125. schema:
  2126. type: string
  2127. "400":
  2128. description: 具体错误
  2129. schema:
  2130. $ref: '#/definitions/md.Response'
  2131. summary: 角色列表
  2132. tags:
  2133. - 权限管理
  2134. /api/role/updateAdmin:
  2135. post:
  2136. consumes:
  2137. - application/json
  2138. description: 权限管理-修改管理员信息
  2139. parameters:
  2140. - description: 验证参数Bearer和token空格拼接
  2141. in: header
  2142. name: Authorization
  2143. required: true
  2144. type: string
  2145. - description: 请求参数
  2146. in: body
  2147. name: args
  2148. required: true
  2149. schema:
  2150. $ref: '#/definitions/md.UpdateAdminReq'
  2151. produces:
  2152. - application/json
  2153. responses:
  2154. "200":
  2155. description: success
  2156. schema:
  2157. type: string
  2158. "400":
  2159. description: 具体错误
  2160. schema:
  2161. $ref: '#/definitions/md.Response'
  2162. summary: 修改管理员信息
  2163. tags:
  2164. - 权限管理
  2165. /api/role/updateAdminState:
  2166. post:
  2167. consumes:
  2168. - application/json
  2169. description: 权限管理-修改管理员状态
  2170. parameters:
  2171. - description: 验证参数Bearer和token空格拼接
  2172. in: header
  2173. name: Authorization
  2174. required: true
  2175. type: string
  2176. - description: 请求参数
  2177. in: body
  2178. name: args
  2179. required: true
  2180. schema:
  2181. $ref: '#/definitions/md.UpdateAdminStateReq'
  2182. produces:
  2183. - application/json
  2184. responses:
  2185. "200":
  2186. description: success
  2187. schema:
  2188. type: string
  2189. "400":
  2190. description: 具体错误
  2191. schema:
  2192. $ref: '#/definitions/md.Response'
  2193. summary: 修改管理员状态
  2194. tags:
  2195. - 权限管理
  2196. /api/role/updateRole:
  2197. post:
  2198. consumes:
  2199. - application/json
  2200. description: 权限管理-修改角色
  2201. parameters:
  2202. - description: 验证参数Bearer和token空格拼接
  2203. in: header
  2204. name: Authorization
  2205. required: true
  2206. type: string
  2207. - description: 请求参数
  2208. in: body
  2209. name: args
  2210. required: true
  2211. schema:
  2212. $ref: '#/definitions/md.UpdateRoleReq'
  2213. produces:
  2214. - application/json
  2215. responses:
  2216. "200":
  2217. description: success
  2218. schema:
  2219. type: string
  2220. "400":
  2221. description: 具体错误
  2222. schema:
  2223. $ref: '#/definitions/md.Response'
  2224. summary: 修改角色
  2225. tags:
  2226. - 权限管理
  2227. /api/role/updateRoleState:
  2228. post:
  2229. consumes:
  2230. - application/json
  2231. description: 权限管理-修改角色状态
  2232. parameters:
  2233. - description: 验证参数Bearer和token空格拼接
  2234. in: header
  2235. name: Authorization
  2236. required: true
  2237. type: string
  2238. - description: 请求参数
  2239. in: body
  2240. name: args
  2241. required: true
  2242. schema:
  2243. $ref: '#/definitions/md.UpdateRoleStateReq'
  2244. produces:
  2245. - application/json
  2246. responses:
  2247. "200":
  2248. description: success
  2249. schema:
  2250. type: string
  2251. "400":
  2252. description: 具体错误
  2253. schema:
  2254. $ref: '#/definitions/md.Response'
  2255. summary: 修改角色状态
  2256. tags:
  2257. - 权限管理
  2258. /api/setCenter/applet/add:
  2259. post:
  2260. consumes:
  2261. - application/json
  2262. description: 小程序设置-新增
  2263. parameters:
  2264. - description: 验证参数Bearer和token空格拼接
  2265. in: header
  2266. name: Authorization
  2267. required: true
  2268. type: string
  2269. - description: 请求参数
  2270. in: body
  2271. name: args
  2272. required: true
  2273. schema:
  2274. $ref: '#/definitions/md.AppletAddReq'
  2275. produces:
  2276. - application/json
  2277. responses:
  2278. "200":
  2279. description: success
  2280. schema:
  2281. type: string
  2282. "400":
  2283. description: 具体错误
  2284. schema:
  2285. $ref: '#/definitions/md.Response'
  2286. summary: 新增
  2287. tags:
  2288. - 设置中心-小程序设置
  2289. /api/setCenter/applet/authorize:
  2290. get:
  2291. consumes:
  2292. - application/json
  2293. description: 设置中心-基础设置
  2294. parameters:
  2295. - description: 验证参数Bearer和token空格拼接
  2296. in: header
  2297. name: Authorization
  2298. required: true
  2299. type: string
  2300. produces:
  2301. - application/json
  2302. responses:
  2303. "200":
  2304. description: 微信授权界面url
  2305. schema:
  2306. type: string
  2307. "400":
  2308. description: 具体错误
  2309. schema:
  2310. $ref: '#/definitions/md.Response'
  2311. summary: 设置中心-基础设置-微信三方应用获取
  2312. tags:
  2313. - 设置中心
  2314. /api/setCenter/applet/list:
  2315. get:
  2316. consumes:
  2317. - application/json
  2318. description: 小程序设置-列表
  2319. parameters:
  2320. - description: 验证参数Bearer和token空格拼接
  2321. in: header
  2322. name: Authorization
  2323. required: true
  2324. type: string
  2325. produces:
  2326. - application/json
  2327. responses:
  2328. "200":
  2329. description: OK
  2330. schema:
  2331. $ref: '#/definitions/hdl.WxOpenThirdPartyAppList'
  2332. "400":
  2333. description: 具体错误
  2334. schema:
  2335. $ref: '#/definitions/md.Response'
  2336. summary: 列表
  2337. tags:
  2338. - 设置中心-小程序设置
  2339. /api/setCenter/applet/unauthorized:
  2340. get:
  2341. consumes:
  2342. - application/json
  2343. description: 设置中心-基础设置
  2344. parameters:
  2345. - description: 验证参数Bearer和token空格拼接
  2346. in: header
  2347. name: Authorization
  2348. required: true
  2349. type: string
  2350. produces:
  2351. - application/json
  2352. responses:
  2353. "200":
  2354. description: success
  2355. schema:
  2356. type: string
  2357. "400":
  2358. description: 具体错误
  2359. schema:
  2360. $ref: '#/definitions/md.Response'
  2361. summary: 设置中心-基础设置-微信三方应用获取
  2362. tags:
  2363. - 设置中心
  2364. /api/setCenter/applet/update:
  2365. post:
  2366. consumes:
  2367. - application/json
  2368. description: 小程序设置-更新
  2369. parameters:
  2370. - description: 验证参数Bearer和token空格拼接
  2371. in: header
  2372. name: Authorization
  2373. required: true
  2374. type: string
  2375. - description: 请求参数
  2376. in: body
  2377. name: args
  2378. required: true
  2379. schema:
  2380. $ref: '#/definitions/md.AppletUpdateReq'
  2381. produces:
  2382. - application/json
  2383. responses:
  2384. "200":
  2385. description: success
  2386. schema:
  2387. type: string
  2388. "400":
  2389. description: 具体错误
  2390. schema:
  2391. $ref: '#/definitions/md.Response'
  2392. summary: 更新
  2393. tags:
  2394. - 设置中心-小程序设置
  2395. /api/setCenter/basic/getMob:
  2396. get:
  2397. consumes:
  2398. - application/json
  2399. description: 基础设置-mob获取
  2400. parameters:
  2401. - description: 验证参数Bearer和token空格拼接
  2402. in: header
  2403. name: Authorization
  2404. required: true
  2405. type: string
  2406. produces:
  2407. - application/json
  2408. responses:
  2409. "200":
  2410. description: OK
  2411. schema:
  2412. $ref: '#/definitions/md.SetOssResp'
  2413. "400":
  2414. description: 具体错误
  2415. schema:
  2416. $ref: '#/definitions/md.Response'
  2417. summary: mob获取
  2418. tags:
  2419. - 设置中心-基础设置
  2420. /api/setCenter/basic/getOss:
  2421. get:
  2422. consumes:
  2423. - application/json
  2424. description: 基础设置-oss获取
  2425. parameters:
  2426. - description: 验证参数Bearer和token空格拼接
  2427. in: header
  2428. name: Authorization
  2429. required: true
  2430. type: string
  2431. produces:
  2432. - application/json
  2433. responses:
  2434. "200":
  2435. description: OK
  2436. schema:
  2437. $ref: '#/definitions/md.SetOssResp'
  2438. "400":
  2439. description: 具体错误
  2440. schema:
  2441. $ref: '#/definitions/md.Response'
  2442. summary: oss获取
  2443. tags:
  2444. - 设置中心-基础设置
  2445. /api/setCenter/basic/setMob:
  2446. post:
  2447. consumes:
  2448. - application/json
  2449. description: 基础设置-mob设置
  2450. parameters:
  2451. - description: 验证参数Bearer和token空格拼接
  2452. in: header
  2453. name: Authorization
  2454. required: true
  2455. type: string
  2456. - description: 请求参数
  2457. in: body
  2458. name: args
  2459. required: true
  2460. schema:
  2461. $ref: '#/definitions/md.SetMobReq'
  2462. produces:
  2463. - application/json
  2464. responses:
  2465. "200":
  2466. description: success
  2467. schema:
  2468. type: string
  2469. "400":
  2470. description: 具体错误
  2471. schema:
  2472. $ref: '#/definitions/md.Response'
  2473. summary: mob设置
  2474. tags:
  2475. - 设置中心-基础设置
  2476. /api/setCenter/basic/setOss:
  2477. post:
  2478. consumes:
  2479. - application/json
  2480. description: 基础设置-oss设置
  2481. parameters:
  2482. - description: 验证参数Bearer和token空格拼接
  2483. in: header
  2484. name: Authorization
  2485. required: true
  2486. type: string
  2487. - description: 请求参数
  2488. in: body
  2489. name: args
  2490. required: true
  2491. schema:
  2492. $ref: '#/definitions/md.SetOssReq'
  2493. produces:
  2494. - application/json
  2495. responses:
  2496. "200":
  2497. description: success
  2498. schema:
  2499. type: string
  2500. "400":
  2501. description: 具体错误
  2502. schema:
  2503. $ref: '#/definitions/md.Response'
  2504. summary: oss设置
  2505. tags:
  2506. - 设置中心-基础设置
  2507. /api/setCenter/basic/wxOpenGet:
  2508. get:
  2509. consumes:
  2510. - application/json
  2511. description: 基础设置-微信三方应用获取
  2512. parameters:
  2513. - description: 验证参数Bearer和token空格拼接
  2514. in: header
  2515. name: Authorization
  2516. required: true
  2517. type: string
  2518. produces:
  2519. - application/json
  2520. responses:
  2521. "200":
  2522. description: OK
  2523. schema:
  2524. $ref: '#/definitions/md.WxOpenGetResp'
  2525. "400":
  2526. description: 具体错误
  2527. schema:
  2528. $ref: '#/definitions/md.Response'
  2529. summary: 微信三方应用获取
  2530. tags:
  2531. - 设置中心-基础设置
  2532. /api/setCenter/basic/wxOpenSet:
  2533. post:
  2534. consumes:
  2535. - application/json
  2536. description: 基础设置-微信三方应用设置
  2537. parameters:
  2538. - description: 验证参数Bearer和token空格拼接
  2539. in: header
  2540. name: Authorization
  2541. required: true
  2542. type: string
  2543. - description: 请求参数
  2544. in: body
  2545. name: args
  2546. required: true
  2547. schema:
  2548. $ref: '#/definitions/md.WxOpenSetReq'
  2549. produces:
  2550. - application/json
  2551. responses:
  2552. "200":
  2553. description: success
  2554. schema:
  2555. type: string
  2556. "400":
  2557. description: 具体错误
  2558. schema:
  2559. $ref: '#/definitions/md.Response'
  2560. summary: 微信三方应用设置
  2561. tags:
  2562. - 设置中心-基础设置
  2563. /api/setCenter/share/index:
  2564. get:
  2565. consumes:
  2566. - application/json
  2567. description: 邀请链接界面接口
  2568. parameters:
  2569. - description: 验证参数Bearer和token空格拼接
  2570. in: header
  2571. name: Authorization
  2572. required: true
  2573. type: string
  2574. produces:
  2575. - application/json
  2576. responses:
  2577. "200":
  2578. description: OK
  2579. schema:
  2580. $ref: '#/definitions/md.ShareIndexResp'
  2581. "400":
  2582. description: 具体错误
  2583. schema:
  2584. $ref: '#/definitions/md.Response'
  2585. summary: 邀请链接
  2586. tags:
  2587. - 设置中心-邀请链接
  2588. /role/permissionGroupList:
  2589. get:
  2590. consumes:
  2591. - application/json
  2592. description: 权限管理-权限组列表
  2593. parameters:
  2594. - description: 验证参数Bearer和token空格拼接
  2595. in: header
  2596. name: Authorization
  2597. required: true
  2598. type: string
  2599. - description: 管理员id
  2600. in: query
  2601. name: adm_id
  2602. required: true
  2603. type: string
  2604. produces:
  2605. - application/json
  2606. responses:
  2607. "200":
  2608. description: 具体看返回内容
  2609. schema:
  2610. type: string
  2611. "400":
  2612. description: 具体错误
  2613. schema:
  2614. $ref: '#/definitions/md.Response'
  2615. summary: 权限组列表
  2616. tags:
  2617. - 权限管理
  2618. /v1/banner/delete/{$id}:
  2619. delete:
  2620. consumes:
  2621. - application/json
  2622. description: 小程序设置-删除
  2623. parameters:
  2624. - description: 验证参数Bearer和token空格拼接
  2625. in: header
  2626. name: Authorization
  2627. required: true
  2628. type: string
  2629. produces:
  2630. - application/json
  2631. responses:
  2632. "200":
  2633. description: success
  2634. schema:
  2635. type: string
  2636. "400":
  2637. description: 具体错误
  2638. schema:
  2639. $ref: '#/definitions/md.Response'
  2640. summary: 删除
  2641. tags:
  2642. - 设置中心-小程序设置
  2643. securityDefinitions:
  2644. MasterID:
  2645. in: header
  2646. name: MasterID
  2647. type: apiKey
  2648. swagger: "2.0"