广告平台(站长使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1871 line
45 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.AppletUpdateReq:
  291. properties:
  292. id:
  293. type: integer
  294. logo:
  295. example: 小程序logo
  296. type: string
  297. name:
  298. example: 小程序名称
  299. type: string
  300. required:
  301. - id
  302. - logo
  303. - name
  304. type: object
  305. md.BindAdminRoleReq:
  306. properties:
  307. adm_id:
  308. type: integer
  309. role_ids:
  310. items:
  311. type: integer
  312. type: array
  313. required:
  314. - adm_id
  315. type: object
  316. md.LoginReq:
  317. properties:
  318. code:
  319. example: 验证码
  320. type: string
  321. password:
  322. example: 登录密码
  323. type: string
  324. username:
  325. example: 登录账号
  326. type: string
  327. required:
  328. - password
  329. - username
  330. type: object
  331. md.LoginResponse:
  332. properties:
  333. token:
  334. type: string
  335. type: object
  336. md.MediumQualificationContactData:
  337. properties:
  338. address:
  339. example: 联系地址
  340. type: string
  341. company_name:
  342. example: 公司名称
  343. type: string
  344. email:
  345. example: 邮箱地址
  346. type: string
  347. id:
  348. example: id
  349. type: string
  350. kind:
  351. example: 类型(1:企业 2:个人)
  352. type: string
  353. medium_id:
  354. example: 代理id
  355. type: string
  356. memo:
  357. example: 备注 审核时填写的
  358. type: string
  359. name:
  360. example: 联系人
  361. type: string
  362. phone:
  363. example: 联系电话
  364. type: string
  365. state:
  366. example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)
  367. type: string
  368. type: object
  369. md.MediumQualificationContactRes:
  370. properties:
  371. list:
  372. items:
  373. $ref: '#/definitions/md.MediumQualificationContactData'
  374. type: array
  375. state:
  376. items:
  377. $ref: '#/definitions/md.SelectData'
  378. type: array
  379. total:
  380. type: integer
  381. type: object
  382. md.MediumQualificationEnterpriseAuditReq:
  383. properties:
  384. medium_id:
  385. type: string
  386. memo:
  387. type: string
  388. state:
  389. type: string
  390. type: object
  391. md.MediumQualificationEnterpriseData:
  392. properties:
  393. business_license_address:
  394. example: 营业执照地址
  395. type: string
  396. business_license_img_url:
  397. example: 营业执照照片
  398. type: string
  399. certificate_first_type:
  400. example: 证件类型 1级类目id
  401. type: string
  402. certificate_type:
  403. example: 证件类型 2级类目id
  404. type: string
  405. certificate_validity:
  406. example: 证件有效期
  407. type: string
  408. company_abbreviation:
  409. example: 公司简称
  410. type: string
  411. company_name:
  412. example: 公司名称
  413. type: string
  414. country_region:
  415. example: 国家地区
  416. type: string
  417. country_region_id:
  418. example: 国家地区id
  419. type: string
  420. id:
  421. example: 状态选择
  422. type: string
  423. kind:
  424. example: 类型(1:企业 2:个人)
  425. type: string
  426. legal_representative:
  427. example: 法定代表人
  428. type: string
  429. medium_id:
  430. example: 代理id
  431. type: string
  432. memo:
  433. example: 备注 审核时填写的
  434. type: string
  435. registered_address:
  436. example: 注册地址
  437. type: string
  438. registered_address_city_id:
  439. example: 注册地址-市id
  440. type: string
  441. registered_address_country_id:
  442. example: 注册地址-国家id
  443. type: string
  444. registered_address_county_id:
  445. example: 注册地址-县/区id
  446. type: string
  447. registered_address_province_id:
  448. example: 册地址-省份id
  449. type: string
  450. state:
  451. example: 状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)
  452. type: string
  453. unified_social_credit_code:
  454. example: 统一社会信用代码
  455. type: string
  456. uuid:
  457. example: 站长id
  458. type: string
  459. type: object
  460. md.MediumQualificationEnterpriseReq:
  461. properties:
  462. limit:
  463. type: string
  464. name:
  465. type: string
  466. page:
  467. type: string
  468. state:
  469. type: string
  470. type: object
  471. md.MediumQualificationEnterpriseRes:
  472. properties:
  473. list:
  474. items:
  475. $ref: '#/definitions/md.MediumQualificationEnterpriseData'
  476. type: array
  477. state:
  478. items:
  479. $ref: '#/definitions/md.SelectData'
  480. type: array
  481. total:
  482. type: integer
  483. type:
  484. items:
  485. $ref: '#/definitions/md.SelectData'
  486. type: array
  487. type: object
  488. md.QiNiuBucketRegion:
  489. properties:
  490. region_domain:
  491. example: 区域域名
  492. type: string
  493. region_id:
  494. example: 区域id
  495. type: string
  496. region_name:
  497. example: 区域名称
  498. type: string
  499. type: object
  500. md.RegisterForAgentReq:
  501. properties:
  502. code:
  503. example: 验证码
  504. type: string
  505. password:
  506. example: 登录密码
  507. type: string
  508. phone:
  509. example: 登录账号
  510. type: string
  511. required:
  512. - password
  513. - phone
  514. type: object
  515. md.RegisterForMediumReq:
  516. properties:
  517. code:
  518. example: 验证码
  519. type: string
  520. password:
  521. example: 登录密码
  522. type: string
  523. phone:
  524. example: 登录账号
  525. type: string
  526. required:
  527. - password
  528. - phone
  529. type: object
  530. md.Response:
  531. properties:
  532. code:
  533. example: 响应码
  534. type: string
  535. data:
  536. description: 内容
  537. msg:
  538. example: 具体错误原因
  539. type: string
  540. type: object
  541. md.RoleBindPermissionGroupReq:
  542. properties:
  543. permission_ids:
  544. items:
  545. type: integer
  546. type: array
  547. role_id:
  548. type: integer
  549. required:
  550. - role_id
  551. type: object
  552. md.SelectData:
  553. properties:
  554. name:
  555. example: 名称
  556. type: string
  557. value:
  558. example: 值
  559. type: string
  560. type: object
  561. md.SetOssReq:
  562. properties:
  563. file_access_key:
  564. example: 对象存储AccessToken
  565. type: string
  566. file_bucket:
  567. example: 对象存储bucket(空间)
  568. type: string
  569. file_bucket_host:
  570. example: 对象存储域名
  571. type: string
  572. file_bucket_region:
  573. example: 文件所属区域
  574. type: string
  575. file_secret_key:
  576. example: 对象存储SecretToken
  577. type: string
  578. required:
  579. - file_access_key
  580. - file_bucket
  581. - file_bucket_host
  582. - file_bucket_region
  583. - file_secret_key
  584. type: object
  585. md.SetOssResp:
  586. properties:
  587. data:
  588. allOf:
  589. - $ref: '#/definitions/md.SetOssReq'
  590. description: 数据内容
  591. qi_niu_bucket_region_list:
  592. description: 七牛云存储区域列表
  593. items:
  594. $ref: '#/definitions/md.QiNiuBucketRegion'
  595. type: array
  596. type: object
  597. md.ShareIndexResp:
  598. properties:
  599. agent_domain:
  600. example: 代理分享地址
  601. type: string
  602. master_id:
  603. type: string
  604. medium_domain:
  605. example: 媒体分享地址
  606. type: string
  607. type: object
  608. md.UpdateAdminReq:
  609. properties:
  610. adm_id:
  611. type: integer
  612. memo:
  613. type: string
  614. password:
  615. type: string
  616. username:
  617. type: string
  618. required:
  619. - adm_id
  620. - password
  621. - username
  622. type: object
  623. md.UpdateAdminStateReq:
  624. properties:
  625. adm_id:
  626. type: integer
  627. state:
  628. type: integer
  629. required:
  630. - adm_id
  631. - state
  632. type: object
  633. md.UpdateRoleReq:
  634. properties:
  635. memo:
  636. type: string
  637. name:
  638. type: string
  639. role_id:
  640. type: integer
  641. required:
  642. - memo
  643. - name
  644. - role_id
  645. type: object
  646. md.UpdateRoleStateReq:
  647. properties:
  648. role_id:
  649. type: integer
  650. state:
  651. type: integer
  652. required:
  653. - role_id
  654. - state
  655. type: object
  656. md.WxOpenGetResp:
  657. properties:
  658. aes_key:
  659. example: 消息加解密Key
  660. type: string
  661. app_secret:
  662. example: appSecret
  663. type: string
  664. appid:
  665. example: appid
  666. type: string
  667. token:
  668. example: 消息校验Token
  669. type: string
  670. wx_open_applet_server_domain:
  671. example: 微信开放平台-小程序服务器域名
  672. type: string
  673. wx_open_authorization_event_receiving_configuration:
  674. example: 微信开放平台-授权事件接收配置
  675. type: string
  676. wx_open_domain_of_the_initiating_page_for_login_authorization:
  677. example: 微信开放平台-登录授权的发起页域名
  678. type: string
  679. wx_open_message_and_event_reception_configuration:
  680. example: 微信开放平台-消息与事件接收配置
  681. type: string
  682. wx_open_white_list_ip:
  683. example: 微信开放平台-白名单ip
  684. type: string
  685. type: object
  686. md.WxOpenSetReq:
  687. properties:
  688. aes_key:
  689. example: 消息加解密Key
  690. type: string
  691. app_secret:
  692. example: appSecret
  693. type: string
  694. appid:
  695. example: appid
  696. type: string
  697. token:
  698. example: 消息校验Token
  699. type: string
  700. required:
  701. - aes_key
  702. - app_secret
  703. - appid
  704. - token
  705. type: object
  706. host: localhost:1002 or xxxx.advertisement.dengbiao.top
  707. info:
  708. contact:
  709. email: 1239118001@qq.com
  710. name: dengbiao
  711. url: http://www.swagger.io/support
  712. description: 站长后台接口
  713. license:
  714. name: Apache 2.0
  715. url: http://www.apache.org/licenses/LICENSE-2.0.html
  716. termsOfService: http://swagger.io/terms/
  717. title: 广告联盟-站长平台
  718. version: "1.0"
  719. paths:
  720. /api/agentQualification/bank:
  721. post:
  722. consumes:
  723. - application/json
  724. description: 渠道资质-银行资质
  725. parameters:
  726. - description: 验证参数Bearer和token空格拼接
  727. in: header
  728. name: Authorization
  729. required: true
  730. type: string
  731. - description: 请求参数
  732. in: body
  733. name: args
  734. required: true
  735. schema:
  736. $ref: '#/definitions/md.AgentQualificationEnterpriseReq'
  737. produces:
  738. - application/json
  739. responses:
  740. "200":
  741. description: 具体看返回内容 这是data里面的数据
  742. schema:
  743. $ref: '#/definitions/md.AgentQualificationBankRes'
  744. "400":
  745. description: 具体错误
  746. schema:
  747. $ref: '#/definitions/md.Response'
  748. summary: 银行资质
  749. tags:
  750. - 渠道资质------嘉俊
  751. /api/agentQualification/bank/audit:
  752. post:
  753. consumes:
  754. - application/json
  755. description: 渠道资质-银行资质审核
  756. parameters:
  757. - description: 验证参数Bearer和token空格拼接
  758. in: header
  759. name: Authorization
  760. required: true
  761. type: string
  762. - description: 请求参数
  763. in: body
  764. name: args
  765. required: true
  766. schema:
  767. $ref: '#/definitions/md.AgentQualificationEnterpriseAuditReq'
  768. produces:
  769. - application/json
  770. responses:
  771. "200":
  772. description: 具体看返回内容
  773. schema:
  774. type: string
  775. "400":
  776. description: 具体错误
  777. schema:
  778. $ref: '#/definitions/md.Response'
  779. summary: 银行资质审核
  780. tags:
  781. - 渠道资质------嘉俊
  782. /api/agentQualification/contact:
  783. post:
  784. consumes:
  785. - application/json
  786. description: 渠道资质-联系方式
  787. parameters:
  788. - description: 验证参数Bearer和token空格拼接
  789. in: header
  790. name: Authorization
  791. required: true
  792. type: string
  793. - description: 请求参数
  794. in: body
  795. name: args
  796. required: true
  797. schema:
  798. $ref: '#/definitions/md.AgentQualificationEnterpriseReq'
  799. produces:
  800. - application/json
  801. responses:
  802. "200":
  803. description: 具体看返回内容 这是data里面的数据
  804. schema:
  805. $ref: '#/definitions/md.AgentQualificationContactRes'
  806. "400":
  807. description: 具体错误
  808. schema:
  809. $ref: '#/definitions/md.Response'
  810. summary: 联系方式
  811. tags:
  812. - 渠道资质------嘉俊
  813. /api/agentQualification/contact/audit:
  814. post:
  815. consumes:
  816. - application/json
  817. description: 渠道资质-联系方式审核
  818. parameters:
  819. - description: 验证参数Bearer和token空格拼接
  820. in: header
  821. name: Authorization
  822. required: true
  823. type: string
  824. - description: 请求参数
  825. in: body
  826. name: args
  827. required: true
  828. schema:
  829. $ref: '#/definitions/md.AgentQualificationEnterpriseAuditReq'
  830. produces:
  831. - application/json
  832. responses:
  833. "200":
  834. description: 具体看返回内容
  835. schema:
  836. type: string
  837. "400":
  838. description: 具体错误
  839. schema:
  840. $ref: '#/definitions/md.Response'
  841. summary: 联系方式审核
  842. tags:
  843. - 渠道资质------嘉俊
  844. /api/agentQualification/enterprise:
  845. post:
  846. consumes:
  847. - application/json
  848. description: 渠道资质-主体资质
  849. parameters:
  850. - description: 验证参数Bearer和token空格拼接
  851. in: header
  852. name: Authorization
  853. required: true
  854. type: string
  855. - description: 请求参数
  856. in: body
  857. name: args
  858. required: true
  859. schema:
  860. $ref: '#/definitions/md.AgentQualificationEnterpriseReq'
  861. produces:
  862. - application/json
  863. responses:
  864. "200":
  865. description: 具体看返回内容 这是data里面的数据
  866. schema:
  867. $ref: '#/definitions/md.AgentQualificationEnterpriseRes'
  868. "400":
  869. description: 具体错误
  870. schema:
  871. $ref: '#/definitions/md.Response'
  872. summary: 主体资质
  873. tags:
  874. - 渠道资质------嘉俊
  875. /api/agentQualification/enterprise/audit:
  876. post:
  877. consumes:
  878. - application/json
  879. description: 渠道资质-主体资质审核
  880. parameters:
  881. - description: 验证参数Bearer和token空格拼接
  882. in: header
  883. name: Authorization
  884. required: true
  885. type: string
  886. - description: 请求参数
  887. in: body
  888. name: args
  889. required: true
  890. schema:
  891. $ref: '#/definitions/md.AgentQualificationEnterpriseAuditReq'
  892. produces:
  893. - application/json
  894. responses:
  895. "200":
  896. description: 具体看返回内容
  897. schema:
  898. type: string
  899. "400":
  900. description: 具体错误
  901. schema:
  902. $ref: '#/definitions/md.Response'
  903. summary: 主体资质审核
  904. tags:
  905. - 渠道资质------嘉俊
  906. /api/login:
  907. post:
  908. consumes:
  909. - application/json
  910. description: 登入
  911. parameters:
  912. - description: 用户名密码
  913. in: body
  914. name: req
  915. required: true
  916. schema:
  917. $ref: '#/definitions/md.LoginReq'
  918. produces:
  919. - application/json
  920. responses:
  921. "200":
  922. description: token
  923. schema:
  924. $ref: '#/definitions/md.LoginResponse'
  925. "400":
  926. description: 具体错误
  927. schema:
  928. $ref: '#/definitions/md.Response'
  929. summary: 登陆
  930. tags:
  931. - 登录
  932. /api/mediumQualification/bank:
  933. post:
  934. responses:
  935. "400":
  936. description: 具体错误
  937. schema:
  938. $ref: '#/definitions/md.Response'
  939. /api/mediumQualification/bank/audit:
  940. post:
  941. consumes:
  942. - application/json
  943. description: 媒体资质-银行资质审核
  944. parameters:
  945. - description: 验证参数Bearer和token空格拼接
  946. in: header
  947. name: Authorization
  948. required: true
  949. type: string
  950. - description: 请求参数
  951. in: body
  952. name: args
  953. required: true
  954. schema:
  955. $ref: '#/definitions/md.MediumQualificationEnterpriseAuditReq'
  956. produces:
  957. - application/json
  958. responses:
  959. "200":
  960. description: 具体看返回内容
  961. schema:
  962. type: string
  963. "400":
  964. description: 具体错误
  965. schema:
  966. $ref: '#/definitions/md.Response'
  967. summary: 银行资质审核
  968. tags:
  969. - 媒体资质------嘉俊
  970. /api/mediumQualification/contact:
  971. post:
  972. consumes:
  973. - application/json
  974. description: 媒体资质-联系方式
  975. parameters:
  976. - description: 验证参数Bearer和token空格拼接
  977. in: header
  978. name: Authorization
  979. required: true
  980. type: string
  981. - description: 请求参数
  982. in: body
  983. name: args
  984. required: true
  985. schema:
  986. $ref: '#/definitions/md.MediumQualificationEnterpriseReq'
  987. produces:
  988. - application/json
  989. responses:
  990. "200":
  991. description: 具体看返回内容 这是data里面的数据
  992. schema:
  993. $ref: '#/definitions/md.MediumQualificationContactRes'
  994. "400":
  995. description: 具体错误
  996. schema:
  997. $ref: '#/definitions/md.Response'
  998. summary: 联系方式
  999. tags:
  1000. - 媒体资质------嘉俊
  1001. /api/mediumQualification/contact/audit:
  1002. post:
  1003. consumes:
  1004. - application/json
  1005. description: 媒体资质-联系方式审核
  1006. parameters:
  1007. - description: 验证参数Bearer和token空格拼接
  1008. in: header
  1009. name: Authorization
  1010. required: true
  1011. type: string
  1012. - description: 请求参数
  1013. in: body
  1014. name: args
  1015. required: true
  1016. schema:
  1017. $ref: '#/definitions/md.MediumQualificationEnterpriseAuditReq'
  1018. produces:
  1019. - application/json
  1020. responses:
  1021. "200":
  1022. description: 具体看返回内容
  1023. schema:
  1024. type: string
  1025. "400":
  1026. description: 具体错误
  1027. schema:
  1028. $ref: '#/definitions/md.Response'
  1029. summary: 联系方式审核
  1030. tags:
  1031. - 媒体资质------嘉俊
  1032. /api/mediumQualification/enterprise:
  1033. post:
  1034. consumes:
  1035. - application/json
  1036. description: 媒体资质-主体资质
  1037. parameters:
  1038. - description: 验证参数Bearer和token空格拼接
  1039. in: header
  1040. name: Authorization
  1041. required: true
  1042. type: string
  1043. - description: 请求参数
  1044. in: body
  1045. name: args
  1046. required: true
  1047. schema:
  1048. $ref: '#/definitions/md.MediumQualificationEnterpriseReq'
  1049. produces:
  1050. - application/json
  1051. responses:
  1052. "200":
  1053. description: 具体看返回内容 这是data里面的数据
  1054. schema:
  1055. $ref: '#/definitions/md.MediumQualificationEnterpriseRes'
  1056. "400":
  1057. description: 具体错误
  1058. schema:
  1059. $ref: '#/definitions/md.Response'
  1060. summary: 主体资质
  1061. tags:
  1062. - 媒体资质------嘉俊
  1063. /api/mediumQualification/enterprise/audit:
  1064. post:
  1065. consumes:
  1066. - application/json
  1067. description: 媒体资质-主体资质审核
  1068. parameters:
  1069. - description: 验证参数Bearer和token空格拼接
  1070. in: header
  1071. name: Authorization
  1072. required: true
  1073. type: string
  1074. - description: 请求参数
  1075. in: body
  1076. name: args
  1077. required: true
  1078. schema:
  1079. $ref: '#/definitions/md.MediumQualificationEnterpriseAuditReq'
  1080. produces:
  1081. - application/json
  1082. responses:
  1083. "200":
  1084. description: 具体看返回内容
  1085. schema:
  1086. type: string
  1087. "400":
  1088. description: 具体错误
  1089. schema:
  1090. $ref: '#/definitions/md.Response'
  1091. summary: 主体资质审核
  1092. tags:
  1093. - 媒体资质------嘉俊
  1094. /api/registerForAgent:
  1095. post:
  1096. consumes:
  1097. - application/json
  1098. description: 注册模块-渠道代理注册
  1099. parameters:
  1100. - description: 用户名密码
  1101. in: body
  1102. name: req
  1103. required: true
  1104. schema:
  1105. $ref: '#/definitions/md.RegisterForAgentReq'
  1106. produces:
  1107. - application/json
  1108. responses:
  1109. "200":
  1110. description: success
  1111. schema:
  1112. type: string
  1113. "400":
  1114. description: 具体错误
  1115. schema:
  1116. $ref: '#/definitions/md.Response'
  1117. summary: 渠道代理注册
  1118. tags:
  1119. - 注册模块
  1120. /api/registerForMedium:
  1121. post:
  1122. consumes:
  1123. - application/json
  1124. description: 注册模块-媒体注册
  1125. parameters:
  1126. - description: 用户名密码
  1127. in: body
  1128. name: req
  1129. required: true
  1130. schema:
  1131. $ref: '#/definitions/md.RegisterForMediumReq'
  1132. produces:
  1133. - application/json
  1134. responses:
  1135. "200":
  1136. description: success
  1137. schema:
  1138. type: string
  1139. "400":
  1140. description: 具体错误
  1141. schema:
  1142. $ref: '#/definitions/md.Response'
  1143. summary: 媒体注册
  1144. tags:
  1145. - 注册模块
  1146. /api/role/addAdmin:
  1147. post:
  1148. consumes:
  1149. - application/json
  1150. description: 权限管理-新增管理员
  1151. parameters:
  1152. - description: 验证参数Bearer和token空格拼接
  1153. in: header
  1154. name: Authorization
  1155. required: true
  1156. type: string
  1157. - description: 请求参数
  1158. in: body
  1159. name: args
  1160. required: true
  1161. schema:
  1162. $ref: '#/definitions/md.AddAdminReq'
  1163. produces:
  1164. - application/json
  1165. responses:
  1166. "200":
  1167. description: success
  1168. schema:
  1169. type: string
  1170. "400":
  1171. description: 具体错误
  1172. schema:
  1173. $ref: '#/definitions/md.Response'
  1174. summary: 新增管理员
  1175. tags:
  1176. - 权限管理
  1177. /api/role/addRole:
  1178. post:
  1179. consumes:
  1180. - application/json
  1181. description: 权限管理-添加角色
  1182. parameters:
  1183. - description: 验证参数Bearer和token空格拼接
  1184. in: header
  1185. name: Authorization
  1186. required: true
  1187. type: string
  1188. - description: 请求参数
  1189. in: body
  1190. name: args
  1191. required: true
  1192. schema:
  1193. $ref: '#/definitions/md.AddRoleReq'
  1194. produces:
  1195. - application/json
  1196. responses:
  1197. "200":
  1198. description: success
  1199. schema:
  1200. type: string
  1201. "400":
  1202. description: 具体错误
  1203. schema:
  1204. $ref: '#/definitions/md.Response'
  1205. summary: 添加角色
  1206. tags:
  1207. - 权限管理
  1208. /api/role/adminInfo:
  1209. get:
  1210. consumes:
  1211. - application/json
  1212. description: 权限管理-管理员信息
  1213. parameters:
  1214. - description: 验证参数Bearer和token空格拼接
  1215. in: header
  1216. name: Authorization
  1217. required: true
  1218. type: string
  1219. - description: 管理员id
  1220. in: query
  1221. name: adm_id
  1222. required: true
  1223. type: string
  1224. produces:
  1225. - application/json
  1226. responses:
  1227. "200":
  1228. description: 具体看返回内容
  1229. schema:
  1230. type: string
  1231. "400":
  1232. description: 具体错误
  1233. schema:
  1234. $ref: '#/definitions/md.Response'
  1235. summary: 管理员信息
  1236. tags:
  1237. - 权限管理
  1238. /api/role/adminList:
  1239. post:
  1240. consumes:
  1241. - application/json
  1242. description: 权限管理-管理员列表
  1243. parameters:
  1244. - description: 验证参数Bearer和token空格拼接
  1245. in: header
  1246. name: Authorization
  1247. required: true
  1248. type: string
  1249. - description: 请求参数
  1250. in: body
  1251. name: args
  1252. required: true
  1253. schema:
  1254. $ref: '#/definitions/md.AdminListReq'
  1255. produces:
  1256. - application/json
  1257. responses:
  1258. "200":
  1259. description: 具体看返回内容
  1260. schema:
  1261. type: string
  1262. "400":
  1263. description: 具体错误
  1264. schema:
  1265. $ref: '#/definitions/md.Response'
  1266. summary: 管理员列表
  1267. tags:
  1268. - 权限管理
  1269. /api/role/bindAdminRole/:
  1270. post:
  1271. consumes:
  1272. - application/json
  1273. description: 权限管理-管理员绑定角色
  1274. parameters:
  1275. - description: 验证参数Bearer和token空格拼接
  1276. in: header
  1277. name: Authorization
  1278. required: true
  1279. type: string
  1280. - description: 请求参数
  1281. in: body
  1282. name: args
  1283. required: true
  1284. schema:
  1285. $ref: '#/definitions/md.BindAdminRoleReq'
  1286. produces:
  1287. - application/json
  1288. responses:
  1289. "200":
  1290. description: success
  1291. schema:
  1292. type: string
  1293. "400":
  1294. description: 具体错误
  1295. schema:
  1296. $ref: '#/definitions/md.Response'
  1297. summary: 管理员绑定角色
  1298. tags:
  1299. - 权限管理
  1300. /api/role/deleteAdmin/{$adm_id}:
  1301. delete:
  1302. consumes:
  1303. - application/json
  1304. description: 权限管理-删除管理员
  1305. parameters:
  1306. - description: 验证参数Bearer和token空格拼接
  1307. in: header
  1308. name: Authorization
  1309. required: true
  1310. type: string
  1311. produces:
  1312. - application/json
  1313. responses:
  1314. "200":
  1315. description: success
  1316. schema:
  1317. type: string
  1318. "400":
  1319. description: 具体错误
  1320. schema:
  1321. $ref: '#/definitions/md.Response'
  1322. summary: 删除管理员
  1323. tags:
  1324. - 权限管理
  1325. /api/role/deleteRole/{$id}:
  1326. delete:
  1327. consumes:
  1328. - application/json
  1329. description: 权限管理-删除角色
  1330. parameters:
  1331. - description: 验证参数Bearer和token空格拼接
  1332. in: header
  1333. name: Authorization
  1334. required: true
  1335. type: string
  1336. - description: 请求参数
  1337. in: body
  1338. name: args
  1339. required: true
  1340. schema:
  1341. $ref: '#/definitions/md.UpdateRoleStateReq'
  1342. produces:
  1343. - application/json
  1344. responses:
  1345. "200":
  1346. description: success
  1347. schema:
  1348. type: string
  1349. "400":
  1350. description: 具体错误
  1351. schema:
  1352. $ref: '#/definitions/md.Response'
  1353. summary: 删除角色
  1354. tags:
  1355. - 权限管理
  1356. /api/role/roleBindPermissionGroup:
  1357. post:
  1358. consumes:
  1359. - application/json
  1360. description: 权限管理-角色绑定权限组
  1361. parameters:
  1362. - description: 验证参数Bearer和token空格拼接
  1363. in: header
  1364. name: Authorization
  1365. required: true
  1366. type: string
  1367. - description: 请求参数
  1368. in: body
  1369. name: args
  1370. required: true
  1371. schema:
  1372. $ref: '#/definitions/md.RoleBindPermissionGroupReq'
  1373. produces:
  1374. - application/json
  1375. responses:
  1376. "200":
  1377. description: success
  1378. schema:
  1379. type: string
  1380. "400":
  1381. description: 具体错误
  1382. schema:
  1383. $ref: '#/definitions/md.Response'
  1384. summary: 角色绑定权限组
  1385. tags:
  1386. - 权限管理
  1387. /api/role/roleList:
  1388. get:
  1389. consumes:
  1390. - application/json
  1391. description: 权限管理-角色列表
  1392. parameters:
  1393. - description: 验证参数Bearer和token空格拼接
  1394. in: header
  1395. name: Authorization
  1396. required: true
  1397. type: string
  1398. produces:
  1399. - application/json
  1400. responses:
  1401. "200":
  1402. description: 具体看返回内容
  1403. schema:
  1404. type: string
  1405. "400":
  1406. description: 具体错误
  1407. schema:
  1408. $ref: '#/definitions/md.Response'
  1409. summary: 角色列表
  1410. tags:
  1411. - 权限管理
  1412. /api/role/updateAdmin:
  1413. post:
  1414. consumes:
  1415. - application/json
  1416. description: 权限管理-修改管理员信息
  1417. parameters:
  1418. - description: 验证参数Bearer和token空格拼接
  1419. in: header
  1420. name: Authorization
  1421. required: true
  1422. type: string
  1423. - description: 请求参数
  1424. in: body
  1425. name: args
  1426. required: true
  1427. schema:
  1428. $ref: '#/definitions/md.UpdateAdminReq'
  1429. produces:
  1430. - application/json
  1431. responses:
  1432. "200":
  1433. description: success
  1434. schema:
  1435. type: string
  1436. "400":
  1437. description: 具体错误
  1438. schema:
  1439. $ref: '#/definitions/md.Response'
  1440. summary: 修改管理员信息
  1441. tags:
  1442. - 权限管理
  1443. /api/role/updateAdminState:
  1444. post:
  1445. consumes:
  1446. - application/json
  1447. description: 权限管理-修改管理员状态
  1448. parameters:
  1449. - description: 验证参数Bearer和token空格拼接
  1450. in: header
  1451. name: Authorization
  1452. required: true
  1453. type: string
  1454. - description: 请求参数
  1455. in: body
  1456. name: args
  1457. required: true
  1458. schema:
  1459. $ref: '#/definitions/md.UpdateAdminStateReq'
  1460. produces:
  1461. - application/json
  1462. responses:
  1463. "200":
  1464. description: success
  1465. schema:
  1466. type: string
  1467. "400":
  1468. description: 具体错误
  1469. schema:
  1470. $ref: '#/definitions/md.Response'
  1471. summary: 修改管理员状态
  1472. tags:
  1473. - 权限管理
  1474. /api/role/updateRole:
  1475. post:
  1476. consumes:
  1477. - application/json
  1478. description: 权限管理-修改角色
  1479. parameters:
  1480. - description: 验证参数Bearer和token空格拼接
  1481. in: header
  1482. name: Authorization
  1483. required: true
  1484. type: string
  1485. - description: 请求参数
  1486. in: body
  1487. name: args
  1488. required: true
  1489. schema:
  1490. $ref: '#/definitions/md.UpdateRoleReq'
  1491. produces:
  1492. - application/json
  1493. responses:
  1494. "200":
  1495. description: success
  1496. schema:
  1497. type: string
  1498. "400":
  1499. description: 具体错误
  1500. schema:
  1501. $ref: '#/definitions/md.Response'
  1502. summary: 修改角色
  1503. tags:
  1504. - 权限管理
  1505. /api/role/updateRoleState:
  1506. post:
  1507. consumes:
  1508. - application/json
  1509. description: 权限管理-修改角色状态
  1510. parameters:
  1511. - description: 验证参数Bearer和token空格拼接
  1512. in: header
  1513. name: Authorization
  1514. required: true
  1515. type: string
  1516. - description: 请求参数
  1517. in: body
  1518. name: args
  1519. required: true
  1520. schema:
  1521. $ref: '#/definitions/md.UpdateRoleStateReq'
  1522. produces:
  1523. - application/json
  1524. responses:
  1525. "200":
  1526. description: success
  1527. schema:
  1528. type: string
  1529. "400":
  1530. description: 具体错误
  1531. schema:
  1532. $ref: '#/definitions/md.Response'
  1533. summary: 修改角色状态
  1534. tags:
  1535. - 权限管理
  1536. /api/setCenter/applet/add:
  1537. post:
  1538. consumes:
  1539. - application/json
  1540. description: 小程序设置-新增
  1541. parameters:
  1542. - description: 验证参数Bearer和token空格拼接
  1543. in: header
  1544. name: Authorization
  1545. required: true
  1546. type: string
  1547. - description: 请求参数
  1548. in: body
  1549. name: args
  1550. required: true
  1551. schema:
  1552. $ref: '#/definitions/md.AppletAddReq'
  1553. produces:
  1554. - application/json
  1555. responses:
  1556. "200":
  1557. description: success
  1558. schema:
  1559. type: string
  1560. "400":
  1561. description: 具体错误
  1562. schema:
  1563. $ref: '#/definitions/md.Response'
  1564. summary: 新增
  1565. tags:
  1566. - 设置中心-小程序设置
  1567. /api/setCenter/applet/authorize:
  1568. get:
  1569. consumes:
  1570. - application/json
  1571. description: 设置中心-基础设置
  1572. parameters:
  1573. - description: 验证参数Bearer和token空格拼接
  1574. in: header
  1575. name: Authorization
  1576. required: true
  1577. type: string
  1578. produces:
  1579. - application/json
  1580. responses:
  1581. "200":
  1582. description: 微信授权界面url
  1583. schema:
  1584. type: string
  1585. "400":
  1586. description: 具体错误
  1587. schema:
  1588. $ref: '#/definitions/md.Response'
  1589. summary: 设置中心-基础设置-微信三方应用获取
  1590. tags:
  1591. - 设置中心
  1592. /api/setCenter/applet/list:
  1593. get:
  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. produces:
  1604. - application/json
  1605. responses:
  1606. "200":
  1607. description: OK
  1608. schema:
  1609. $ref: '#/definitions/hdl.WxOpenThirdPartyAppList'
  1610. "400":
  1611. description: 具体错误
  1612. schema:
  1613. $ref: '#/definitions/md.Response'
  1614. summary: 列表
  1615. tags:
  1616. - 设置中心-小程序设置
  1617. /api/setCenter/applet/unauthorized:
  1618. get:
  1619. consumes:
  1620. - application/json
  1621. description: 设置中心-基础设置
  1622. parameters:
  1623. - description: 验证参数Bearer和token空格拼接
  1624. in: header
  1625. name: Authorization
  1626. required: true
  1627. type: string
  1628. produces:
  1629. - application/json
  1630. responses:
  1631. "200":
  1632. description: success
  1633. schema:
  1634. type: string
  1635. "400":
  1636. description: 具体错误
  1637. schema:
  1638. $ref: '#/definitions/md.Response'
  1639. summary: 设置中心-基础设置-微信三方应用获取
  1640. tags:
  1641. - 设置中心
  1642. /api/setCenter/applet/update:
  1643. post:
  1644. consumes:
  1645. - application/json
  1646. description: 小程序设置-更新
  1647. parameters:
  1648. - description: 验证参数Bearer和token空格拼接
  1649. in: header
  1650. name: Authorization
  1651. required: true
  1652. type: string
  1653. - description: 请求参数
  1654. in: body
  1655. name: args
  1656. required: true
  1657. schema:
  1658. $ref: '#/definitions/md.AppletUpdateReq'
  1659. produces:
  1660. - application/json
  1661. responses:
  1662. "200":
  1663. description: success
  1664. schema:
  1665. type: string
  1666. "400":
  1667. description: 具体错误
  1668. schema:
  1669. $ref: '#/definitions/md.Response'
  1670. summary: 更新
  1671. tags:
  1672. - 设置中心-小程序设置
  1673. /api/setCenter/basic/getOss:
  1674. get:
  1675. consumes:
  1676. - application/json
  1677. description: 基础设置-oss获取
  1678. parameters:
  1679. - description: 验证参数Bearer和token空格拼接
  1680. in: header
  1681. name: Authorization
  1682. required: true
  1683. type: string
  1684. produces:
  1685. - application/json
  1686. responses:
  1687. "200":
  1688. description: OK
  1689. schema:
  1690. $ref: '#/definitions/md.SetOssResp'
  1691. "400":
  1692. description: 具体错误
  1693. schema:
  1694. $ref: '#/definitions/md.Response'
  1695. summary: oss获取
  1696. tags:
  1697. - 设置中心-基础设置
  1698. /api/setCenter/basic/setOss:
  1699. post:
  1700. consumes:
  1701. - application/json
  1702. description: 基础设置-oss设置
  1703. parameters:
  1704. - description: 验证参数Bearer和token空格拼接
  1705. in: header
  1706. name: Authorization
  1707. required: true
  1708. type: string
  1709. - description: 请求参数
  1710. in: body
  1711. name: args
  1712. required: true
  1713. schema:
  1714. $ref: '#/definitions/md.SetOssReq'
  1715. produces:
  1716. - application/json
  1717. responses:
  1718. "200":
  1719. description: success
  1720. schema:
  1721. type: string
  1722. "400":
  1723. description: 具体错误
  1724. schema:
  1725. $ref: '#/definitions/md.Response'
  1726. summary: oss设置
  1727. tags:
  1728. - 设置中心-基础设置
  1729. /api/setCenter/basic/wxOpenGet:
  1730. get:
  1731. consumes:
  1732. - application/json
  1733. description: 基础设置-微信三方应用获取
  1734. parameters:
  1735. - description: 验证参数Bearer和token空格拼接
  1736. in: header
  1737. name: Authorization
  1738. required: true
  1739. type: string
  1740. produces:
  1741. - application/json
  1742. responses:
  1743. "200":
  1744. description: OK
  1745. schema:
  1746. $ref: '#/definitions/md.WxOpenGetResp'
  1747. "400":
  1748. description: 具体错误
  1749. schema:
  1750. $ref: '#/definitions/md.Response'
  1751. summary: 微信三方应用获取
  1752. tags:
  1753. - 设置中心-基础设置
  1754. /api/setCenter/basic/wxOpenSet:
  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.WxOpenSetReq'
  1771. produces:
  1772. - application/json
  1773. responses:
  1774. "200":
  1775. description: success
  1776. schema:
  1777. type: string
  1778. "400":
  1779. description: 具体错误
  1780. schema:
  1781. $ref: '#/definitions/md.Response'
  1782. summary: 微信三方应用设置
  1783. tags:
  1784. - 设置中心-基础设置
  1785. /api/setCenter/share/index:
  1786. get:
  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. produces:
  1797. - application/json
  1798. responses:
  1799. "200":
  1800. description: OK
  1801. schema:
  1802. $ref: '#/definitions/md.ShareIndexResp'
  1803. "400":
  1804. description: 具体错误
  1805. schema:
  1806. $ref: '#/definitions/md.Response'
  1807. summary: 邀请链接
  1808. tags:
  1809. - 设置中心-邀请链接
  1810. /role/permissionGroupList:
  1811. get:
  1812. consumes:
  1813. - application/json
  1814. description: 权限管理-权限组列表
  1815. parameters:
  1816. - description: 验证参数Bearer和token空格拼接
  1817. in: header
  1818. name: Authorization
  1819. required: true
  1820. type: string
  1821. - description: 管理员id
  1822. in: query
  1823. name: adm_id
  1824. required: true
  1825. type: string
  1826. produces:
  1827. - application/json
  1828. responses:
  1829. "200":
  1830. description: 具体看返回内容
  1831. schema:
  1832. type: string
  1833. "400":
  1834. description: 具体错误
  1835. schema:
  1836. $ref: '#/definitions/md.Response'
  1837. summary: 权限组列表
  1838. tags:
  1839. - 权限管理
  1840. /v1/banner/delete/{$id}:
  1841. delete:
  1842. consumes:
  1843. - application/json
  1844. description: 小程序设置-删除
  1845. parameters:
  1846. - description: 验证参数Bearer和token空格拼接
  1847. in: header
  1848. name: Authorization
  1849. required: true
  1850. type: string
  1851. produces:
  1852. - application/json
  1853. responses:
  1854. "200":
  1855. description: success
  1856. schema:
  1857. type: string
  1858. "400":
  1859. description: 具体错误
  1860. schema:
  1861. $ref: '#/definitions/md.Response'
  1862. summary: 删除
  1863. tags:
  1864. - 设置中心-小程序设置
  1865. securityDefinitions:
  1866. MasterID:
  1867. in: header
  1868. name: MasterID
  1869. type: apiKey
  1870. swagger: "2.0"