广告平台(站长使用)
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 

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