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

3465 wiersze
114 KiB

  1. // Code generated by swaggo/swag. DO NOT EDIT.
  2. package docs
  3. import "github.com/swaggo/swag"
  4. const docTemplate = `{
  5. "schemes": {{ marshal .Schemes }},
  6. "swagger": "2.0",
  7. "info": {
  8. "description": "{{escape .Description}}",
  9. "title": "{{.Title}}",
  10. "termsOfService": "http://swagger.io/terms/",
  11. "contact": {
  12. "name": "dengbiao",
  13. "url": "http://www.swagger.io/support",
  14. "email": "1239118001@qq.com"
  15. },
  16. "license": {
  17. "name": "Apache 2.0",
  18. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  19. },
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/api/agentQualification/bank": {
  26. "post": {
  27. "description": "渠道资质-银行资质",
  28. "consumes": [
  29. "application/json"
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "渠道资质------嘉俊"
  36. ],
  37. "summary": "银行资质",
  38. "parameters": [
  39. {
  40. "type": "string",
  41. "description": "验证参数Bearer和token空格拼接",
  42. "name": "Authorization",
  43. "in": "header",
  44. "required": true
  45. },
  46. {
  47. "description": "请求参数",
  48. "name": "args",
  49. "in": "body",
  50. "required": true,
  51. "schema": {
  52. "$ref": "#/definitions/md.AgentQualificationEnterpriseReq"
  53. }
  54. }
  55. ],
  56. "responses": {
  57. "200": {
  58. "description": "具体看返回内容 这是data里面的数据",
  59. "schema": {
  60. "$ref": "#/definitions/md.AgentQualificationBankRes"
  61. }
  62. },
  63. "400": {
  64. "description": "具体错误",
  65. "schema": {
  66. "$ref": "#/definitions/md.Response"
  67. }
  68. }
  69. }
  70. }
  71. },
  72. "/api/agentQualification/bank/audit": {
  73. "post": {
  74. "description": "渠道资质-银行资质审核",
  75. "consumes": [
  76. "application/json"
  77. ],
  78. "produces": [
  79. "application/json"
  80. ],
  81. "tags": [
  82. "渠道资质------嘉俊"
  83. ],
  84. "summary": "银行资质审核",
  85. "parameters": [
  86. {
  87. "type": "string",
  88. "description": "验证参数Bearer和token空格拼接",
  89. "name": "Authorization",
  90. "in": "header",
  91. "required": true
  92. },
  93. {
  94. "description": "请求参数",
  95. "name": "args",
  96. "in": "body",
  97. "required": true,
  98. "schema": {
  99. "$ref": "#/definitions/md.AgentQualificationEnterpriseAuditReq"
  100. }
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "具体看返回内容",
  106. "schema": {
  107. "type": "string"
  108. }
  109. },
  110. "400": {
  111. "description": "具体错误",
  112. "schema": {
  113. "$ref": "#/definitions/md.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/api/agentQualification/contact": {
  120. "post": {
  121. "description": "渠道资质-联系方式",
  122. "consumes": [
  123. "application/json"
  124. ],
  125. "produces": [
  126. "application/json"
  127. ],
  128. "tags": [
  129. "渠道资质------嘉俊"
  130. ],
  131. "summary": "联系方式",
  132. "parameters": [
  133. {
  134. "type": "string",
  135. "description": "验证参数Bearer和token空格拼接",
  136. "name": "Authorization",
  137. "in": "header",
  138. "required": true
  139. },
  140. {
  141. "description": "请求参数",
  142. "name": "args",
  143. "in": "body",
  144. "required": true,
  145. "schema": {
  146. "$ref": "#/definitions/md.AgentQualificationEnterpriseReq"
  147. }
  148. }
  149. ],
  150. "responses": {
  151. "200": {
  152. "description": "具体看返回内容 这是data里面的数据",
  153. "schema": {
  154. "$ref": "#/definitions/md.AgentQualificationContactRes"
  155. }
  156. },
  157. "400": {
  158. "description": "具体错误",
  159. "schema": {
  160. "$ref": "#/definitions/md.Response"
  161. }
  162. }
  163. }
  164. }
  165. },
  166. "/api/agentQualification/contact/audit": {
  167. "post": {
  168. "description": "渠道资质-联系方式审核",
  169. "consumes": [
  170. "application/json"
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "渠道资质------嘉俊"
  177. ],
  178. "summary": "联系方式审核",
  179. "parameters": [
  180. {
  181. "type": "string",
  182. "description": "验证参数Bearer和token空格拼接",
  183. "name": "Authorization",
  184. "in": "header",
  185. "required": true
  186. },
  187. {
  188. "description": "请求参数",
  189. "name": "args",
  190. "in": "body",
  191. "required": true,
  192. "schema": {
  193. "$ref": "#/definitions/md.AgentQualificationEnterpriseAuditReq"
  194. }
  195. }
  196. ],
  197. "responses": {
  198. "200": {
  199. "description": "具体看返回内容",
  200. "schema": {
  201. "type": "string"
  202. }
  203. },
  204. "400": {
  205. "description": "具体错误",
  206. "schema": {
  207. "$ref": "#/definitions/md.Response"
  208. }
  209. }
  210. }
  211. }
  212. },
  213. "/api/agentQualification/enterprise": {
  214. "post": {
  215. "description": "渠道资质-主体资质",
  216. "consumes": [
  217. "application/json"
  218. ],
  219. "produces": [
  220. "application/json"
  221. ],
  222. "tags": [
  223. "渠道资质------嘉俊"
  224. ],
  225. "summary": "主体资质",
  226. "parameters": [
  227. {
  228. "type": "string",
  229. "description": "验证参数Bearer和token空格拼接",
  230. "name": "Authorization",
  231. "in": "header",
  232. "required": true
  233. },
  234. {
  235. "description": "请求参数",
  236. "name": "args",
  237. "in": "body",
  238. "required": true,
  239. "schema": {
  240. "$ref": "#/definitions/md.AgentQualificationEnterpriseReq"
  241. }
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "具体看返回内容 这是data里面的数据",
  247. "schema": {
  248. "$ref": "#/definitions/md.AgentQualificationEnterpriseRes"
  249. }
  250. },
  251. "400": {
  252. "description": "具体错误",
  253. "schema": {
  254. "$ref": "#/definitions/md.Response"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/api/agentQualification/enterprise/audit": {
  261. "post": {
  262. "description": "渠道资质-主体资质审核",
  263. "consumes": [
  264. "application/json"
  265. ],
  266. "produces": [
  267. "application/json"
  268. ],
  269. "tags": [
  270. "渠道资质------嘉俊"
  271. ],
  272. "summary": "主体资质审核",
  273. "parameters": [
  274. {
  275. "type": "string",
  276. "description": "验证参数Bearer和token空格拼接",
  277. "name": "Authorization",
  278. "in": "header",
  279. "required": true
  280. },
  281. {
  282. "description": "请求参数",
  283. "name": "args",
  284. "in": "body",
  285. "required": true,
  286. "schema": {
  287. "$ref": "#/definitions/md.AgentQualificationEnterpriseAuditReq"
  288. }
  289. }
  290. ],
  291. "responses": {
  292. "200": {
  293. "description": "具体看返回内容",
  294. "schema": {
  295. "type": "string"
  296. }
  297. },
  298. "400": {
  299. "description": "具体错误",
  300. "schema": {
  301. "$ref": "#/definitions/md.Response"
  302. }
  303. }
  304. }
  305. }
  306. },
  307. "/api/login": {
  308. "post": {
  309. "description": "登入",
  310. "consumes": [
  311. "application/json"
  312. ],
  313. "produces": [
  314. "application/json"
  315. ],
  316. "tags": [
  317. "登录"
  318. ],
  319. "summary": "登陆",
  320. "parameters": [
  321. {
  322. "description": "用户名密码",
  323. "name": "req",
  324. "in": "body",
  325. "required": true,
  326. "schema": {
  327. "$ref": "#/definitions/md.LoginReq"
  328. }
  329. }
  330. ],
  331. "responses": {
  332. "200": {
  333. "description": "token",
  334. "schema": {
  335. "$ref": "#/definitions/md.LoginResponse"
  336. }
  337. },
  338. "400": {
  339. "description": "具体错误",
  340. "schema": {
  341. "$ref": "#/definitions/md.Response"
  342. }
  343. }
  344. }
  345. }
  346. },
  347. "/api/medium/applet/application/ad/space/audit": {
  348. "post": {
  349. "description": "小程序应用-广告位审核",
  350. "consumes": [
  351. "application/json"
  352. ],
  353. "produces": [
  354. "application/json"
  355. ],
  356. "tags": [
  357. "媒体中心------嘉俊"
  358. ],
  359. "summary": "广告位审核",
  360. "parameters": [
  361. {
  362. "type": "string",
  363. "description": "验证参数Bearer和token空格拼接",
  364. "name": "Authorization",
  365. "in": "header",
  366. "required": true
  367. },
  368. {
  369. "description": "请求参数",
  370. "name": "args",
  371. "in": "body",
  372. "required": true,
  373. "schema": {
  374. "$ref": "#/definitions/md.AppletApplicationAdSpaceSaveReq"
  375. }
  376. }
  377. ],
  378. "responses": {
  379. "200": {
  380. "description": "具体看返回内容",
  381. "schema": {
  382. "type": "string"
  383. }
  384. },
  385. "400": {
  386. "description": "具体错误",
  387. "schema": {
  388. "$ref": "#/definitions/md.Response"
  389. }
  390. }
  391. }
  392. }
  393. },
  394. "/api/medium/applet/application/ad/space/list": {
  395. "post": {
  396. "description": "媒体中心-媒体列表",
  397. "consumes": [
  398. "application/json"
  399. ],
  400. "produces": [
  401. "application/json"
  402. ],
  403. "tags": [
  404. "媒体中心------嘉俊"
  405. ],
  406. "summary": "媒体列表",
  407. "parameters": [
  408. {
  409. "type": "string",
  410. "description": "验证参数Bearer和token空格拼接",
  411. "name": "Authorization",
  412. "in": "header",
  413. "required": true
  414. },
  415. {
  416. "description": "请求参数",
  417. "name": "args",
  418. "in": "body",
  419. "required": true,
  420. "schema": {
  421. "$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListReq"
  422. }
  423. }
  424. ],
  425. "responses": {
  426. "200": {
  427. "description": "具体看返回内容---这是data里面的数据",
  428. "schema": {
  429. "$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListRes"
  430. }
  431. },
  432. "400": {
  433. "description": "具体错误",
  434. "schema": {
  435. "$ref": "#/definitions/md.Response"
  436. }
  437. }
  438. }
  439. }
  440. },
  441. "/api/medium/applet/application/ad/space/save": {
  442. "post": {
  443. "description": "小程序应用-广告位列表",
  444. "consumes": [
  445. "application/json"
  446. ],
  447. "produces": [
  448. "application/json"
  449. ],
  450. "tags": [
  451. "媒体中心------嘉俊"
  452. ],
  453. "summary": "广告位列表",
  454. "parameters": [
  455. {
  456. "type": "string",
  457. "description": "验证参数Bearer和token空格拼接",
  458. "name": "Authorization",
  459. "in": "header",
  460. "required": true
  461. },
  462. {
  463. "description": "请求参数",
  464. "name": "args",
  465. "in": "body",
  466. "required": true,
  467. "schema": {
  468. "$ref": "#/definitions/md.AppletApplicationAdSpaceListReq"
  469. }
  470. }
  471. ],
  472. "responses": {
  473. "200": {
  474. "description": "具体看返回内容---这是data里面的数据",
  475. "schema": {
  476. "$ref": "#/definitions/md.AppletApplicationAdSpaceListRes"
  477. }
  478. },
  479. "400": {
  480. "description": "具体错误",
  481. "schema": {
  482. "$ref": "#/definitions/md.Response"
  483. }
  484. }
  485. }
  486. }
  487. },
  488. "/api/medium/applet/application/audit": {
  489. "post": {
  490. "description": "小程序应用-审核",
  491. "consumes": [
  492. "application/json"
  493. ],
  494. "produces": [
  495. "application/json"
  496. ],
  497. "tags": [
  498. "媒体中心------嘉俊"
  499. ],
  500. "summary": "审核",
  501. "parameters": [
  502. {
  503. "type": "string",
  504. "description": "验证参数Bearer和token空格拼接",
  505. "name": "Authorization",
  506. "in": "header",
  507. "required": true
  508. },
  509. {
  510. "description": "请求参数",
  511. "name": "args",
  512. "in": "body",
  513. "required": true,
  514. "schema": {
  515. "$ref": "#/definitions/md.AppletApplicationSaveReq"
  516. }
  517. }
  518. ],
  519. "responses": {
  520. "200": {
  521. "description": "具体看返回内容",
  522. "schema": {
  523. "type": "string"
  524. }
  525. },
  526. "400": {
  527. "description": "具体错误",
  528. "schema": {
  529. "$ref": "#/definitions/md.Response"
  530. }
  531. }
  532. }
  533. }
  534. },
  535. "/api/medium/applet/application/list": {
  536. "post": {
  537. "description": "小程序应用-列表数据",
  538. "consumes": [
  539. "application/json"
  540. ],
  541. "produces": [
  542. "application/json"
  543. ],
  544. "tags": [
  545. "媒体中心------嘉俊"
  546. ],
  547. "summary": "应用列表",
  548. "parameters": [
  549. {
  550. "type": "string",
  551. "description": "验证参数Bearer和token空格拼接",
  552. "name": "Authorization",
  553. "in": "header",
  554. "required": true
  555. },
  556. {
  557. "description": "请求参数",
  558. "name": "args",
  559. "in": "body",
  560. "required": true,
  561. "schema": {
  562. "$ref": "#/definitions/md.AppletApplicationListReq"
  563. }
  564. }
  565. ],
  566. "responses": {
  567. "200": {
  568. "description": "具体看返回内容---这是data里面的数据",
  569. "schema": {
  570. "$ref": "#/definitions/md.AppletApplicationListRes"
  571. }
  572. },
  573. "400": {
  574. "description": "具体错误",
  575. "schema": {
  576. "$ref": "#/definitions/md.Response"
  577. }
  578. }
  579. }
  580. }
  581. },
  582. "/api/medium/applet/application/medium/list": {
  583. "post": {
  584. "description": "媒体中心-媒体列表",
  585. "consumes": [
  586. "application/json"
  587. ],
  588. "produces": [
  589. "application/json"
  590. ],
  591. "tags": [
  592. "媒体中心------嘉俊"
  593. ],
  594. "summary": "媒体列表",
  595. "parameters": [
  596. {
  597. "type": "string",
  598. "description": "验证参数Bearer和token空格拼接",
  599. "name": "Authorization",
  600. "in": "header",
  601. "required": true
  602. },
  603. {
  604. "description": "请求参数",
  605. "name": "args",
  606. "in": "body",
  607. "required": true,
  608. "schema": {
  609. "$ref": "#/definitions/md.AppletApplicationMediumListReq"
  610. }
  611. }
  612. ],
  613. "responses": {
  614. "200": {
  615. "description": "具体看返回内容---这是data里面的数据",
  616. "schema": {
  617. "$ref": "#/definitions/md.AppletApplicationMediumListRes"
  618. }
  619. },
  620. "400": {
  621. "description": "具体错误",
  622. "schema": {
  623. "$ref": "#/definitions/md.Response"
  624. }
  625. }
  626. }
  627. }
  628. },
  629. "/api/mediumQualification/bank": {
  630. "post": {
  631. "responses": {
  632. "400": {
  633. "description": "具体错误",
  634. "schema": {
  635. "$ref": "#/definitions/md.Response"
  636. }
  637. }
  638. }
  639. }
  640. },
  641. "/api/mediumQualification/bank/audit": {
  642. "post": {
  643. "description": "媒体资质-银行资质审核",
  644. "consumes": [
  645. "application/json"
  646. ],
  647. "produces": [
  648. "application/json"
  649. ],
  650. "tags": [
  651. "媒体资质------嘉俊"
  652. ],
  653. "summary": "银行资质审核",
  654. "parameters": [
  655. {
  656. "type": "string",
  657. "description": "验证参数Bearer和token空格拼接",
  658. "name": "Authorization",
  659. "in": "header",
  660. "required": true
  661. },
  662. {
  663. "description": "请求参数",
  664. "name": "args",
  665. "in": "body",
  666. "required": true,
  667. "schema": {
  668. "$ref": "#/definitions/md.MediumQualificationEnterpriseAuditReq"
  669. }
  670. }
  671. ],
  672. "responses": {
  673. "200": {
  674. "description": "具体看返回内容",
  675. "schema": {
  676. "type": "string"
  677. }
  678. },
  679. "400": {
  680. "description": "具体错误",
  681. "schema": {
  682. "$ref": "#/definitions/md.Response"
  683. }
  684. }
  685. }
  686. }
  687. },
  688. "/api/mediumQualification/contact": {
  689. "post": {
  690. "description": "媒体资质-联系方式",
  691. "consumes": [
  692. "application/json"
  693. ],
  694. "produces": [
  695. "application/json"
  696. ],
  697. "tags": [
  698. "媒体资质------嘉俊"
  699. ],
  700. "summary": "联系方式",
  701. "parameters": [
  702. {
  703. "type": "string",
  704. "description": "验证参数Bearer和token空格拼接",
  705. "name": "Authorization",
  706. "in": "header",
  707. "required": true
  708. },
  709. {
  710. "description": "请求参数",
  711. "name": "args",
  712. "in": "body",
  713. "required": true,
  714. "schema": {
  715. "$ref": "#/definitions/md.MediumQualificationEnterpriseReq"
  716. }
  717. }
  718. ],
  719. "responses": {
  720. "200": {
  721. "description": "具体看返回内容 这是data里面的数据",
  722. "schema": {
  723. "$ref": "#/definitions/md.MediumQualificationContactRes"
  724. }
  725. },
  726. "400": {
  727. "description": "具体错误",
  728. "schema": {
  729. "$ref": "#/definitions/md.Response"
  730. }
  731. }
  732. }
  733. }
  734. },
  735. "/api/mediumQualification/contact/audit": {
  736. "post": {
  737. "description": "媒体资质-联系方式审核",
  738. "consumes": [
  739. "application/json"
  740. ],
  741. "produces": [
  742. "application/json"
  743. ],
  744. "tags": [
  745. "媒体资质------嘉俊"
  746. ],
  747. "summary": "联系方式审核",
  748. "parameters": [
  749. {
  750. "type": "string",
  751. "description": "验证参数Bearer和token空格拼接",
  752. "name": "Authorization",
  753. "in": "header",
  754. "required": true
  755. },
  756. {
  757. "description": "请求参数",
  758. "name": "args",
  759. "in": "body",
  760. "required": true,
  761. "schema": {
  762. "$ref": "#/definitions/md.MediumQualificationEnterpriseAuditReq"
  763. }
  764. }
  765. ],
  766. "responses": {
  767. "200": {
  768. "description": "具体看返回内容",
  769. "schema": {
  770. "type": "string"
  771. }
  772. },
  773. "400": {
  774. "description": "具体错误",
  775. "schema": {
  776. "$ref": "#/definitions/md.Response"
  777. }
  778. }
  779. }
  780. }
  781. },
  782. "/api/mediumQualification/enterprise": {
  783. "post": {
  784. "description": "媒体资质-主体资质",
  785. "consumes": [
  786. "application/json"
  787. ],
  788. "produces": [
  789. "application/json"
  790. ],
  791. "tags": [
  792. "媒体资质------嘉俊"
  793. ],
  794. "summary": "主体资质",
  795. "parameters": [
  796. {
  797. "type": "string",
  798. "description": "验证参数Bearer和token空格拼接",
  799. "name": "Authorization",
  800. "in": "header",
  801. "required": true
  802. },
  803. {
  804. "description": "请求参数",
  805. "name": "args",
  806. "in": "body",
  807. "required": true,
  808. "schema": {
  809. "$ref": "#/definitions/md.MediumQualificationEnterpriseReq"
  810. }
  811. }
  812. ],
  813. "responses": {
  814. "200": {
  815. "description": "具体看返回内容 这是data里面的数据",
  816. "schema": {
  817. "$ref": "#/definitions/md.MediumQualificationEnterpriseRes"
  818. }
  819. },
  820. "400": {
  821. "description": "具体错误",
  822. "schema": {
  823. "$ref": "#/definitions/md.Response"
  824. }
  825. }
  826. }
  827. }
  828. },
  829. "/api/mediumQualification/enterprise/audit": {
  830. "post": {
  831. "description": "媒体资质-主体资质审核",
  832. "consumes": [
  833. "application/json"
  834. ],
  835. "produces": [
  836. "application/json"
  837. ],
  838. "tags": [
  839. "媒体资质------嘉俊"
  840. ],
  841. "summary": "主体资质审核",
  842. "parameters": [
  843. {
  844. "type": "string",
  845. "description": "验证参数Bearer和token空格拼接",
  846. "name": "Authorization",
  847. "in": "header",
  848. "required": true
  849. },
  850. {
  851. "description": "请求参数",
  852. "name": "args",
  853. "in": "body",
  854. "required": true,
  855. "schema": {
  856. "$ref": "#/definitions/md.MediumQualificationEnterpriseAuditReq"
  857. }
  858. }
  859. ],
  860. "responses": {
  861. "200": {
  862. "description": "具体看返回内容",
  863. "schema": {
  864. "type": "string"
  865. }
  866. },
  867. "400": {
  868. "description": "具体错误",
  869. "schema": {
  870. "$ref": "#/definitions/md.Response"
  871. }
  872. }
  873. }
  874. }
  875. },
  876. "/api/registerForAgent": {
  877. "post": {
  878. "description": "注册模块-渠道代理注册",
  879. "consumes": [
  880. "application/json"
  881. ],
  882. "produces": [
  883. "application/json"
  884. ],
  885. "tags": [
  886. "注册模块"
  887. ],
  888. "summary": "渠道代理注册",
  889. "parameters": [
  890. {
  891. "description": "用户名密码",
  892. "name": "req",
  893. "in": "body",
  894. "required": true,
  895. "schema": {
  896. "$ref": "#/definitions/md.RegisterForAgentReq"
  897. }
  898. }
  899. ],
  900. "responses": {
  901. "200": {
  902. "description": "success",
  903. "schema": {
  904. "type": "string"
  905. }
  906. },
  907. "400": {
  908. "description": "具体错误",
  909. "schema": {
  910. "$ref": "#/definitions/md.Response"
  911. }
  912. }
  913. }
  914. }
  915. },
  916. "/api/registerForMedium": {
  917. "post": {
  918. "description": "注册模块-媒体注册",
  919. "consumes": [
  920. "application/json"
  921. ],
  922. "produces": [
  923. "application/json"
  924. ],
  925. "tags": [
  926. "注册模块"
  927. ],
  928. "summary": "媒体注册",
  929. "parameters": [
  930. {
  931. "description": "用户名密码",
  932. "name": "req",
  933. "in": "body",
  934. "required": true,
  935. "schema": {
  936. "$ref": "#/definitions/md.RegisterForMediumReq"
  937. }
  938. }
  939. ],
  940. "responses": {
  941. "200": {
  942. "description": "success",
  943. "schema": {
  944. "type": "string"
  945. }
  946. },
  947. "400": {
  948. "description": "具体错误",
  949. "schema": {
  950. "$ref": "#/definitions/md.Response"
  951. }
  952. }
  953. }
  954. }
  955. },
  956. "/api/role/addAdmin": {
  957. "post": {
  958. "description": "权限管理-新增管理员",
  959. "consumes": [
  960. "application/json"
  961. ],
  962. "produces": [
  963. "application/json"
  964. ],
  965. "tags": [
  966. "权限管理"
  967. ],
  968. "summary": "新增管理员",
  969. "parameters": [
  970. {
  971. "type": "string",
  972. "description": "验证参数Bearer和token空格拼接",
  973. "name": "Authorization",
  974. "in": "header",
  975. "required": true
  976. },
  977. {
  978. "description": "请求参数",
  979. "name": "args",
  980. "in": "body",
  981. "required": true,
  982. "schema": {
  983. "$ref": "#/definitions/md.AddAdminReq"
  984. }
  985. }
  986. ],
  987. "responses": {
  988. "200": {
  989. "description": "success",
  990. "schema": {
  991. "type": "string"
  992. }
  993. },
  994. "400": {
  995. "description": "具体错误",
  996. "schema": {
  997. "$ref": "#/definitions/md.Response"
  998. }
  999. }
  1000. }
  1001. }
  1002. },
  1003. "/api/role/addRole": {
  1004. "post": {
  1005. "description": "权限管理-添加角色",
  1006. "consumes": [
  1007. "application/json"
  1008. ],
  1009. "produces": [
  1010. "application/json"
  1011. ],
  1012. "tags": [
  1013. "权限管理"
  1014. ],
  1015. "summary": "添加角色",
  1016. "parameters": [
  1017. {
  1018. "type": "string",
  1019. "description": "验证参数Bearer和token空格拼接",
  1020. "name": "Authorization",
  1021. "in": "header",
  1022. "required": true
  1023. },
  1024. {
  1025. "description": "请求参数",
  1026. "name": "args",
  1027. "in": "body",
  1028. "required": true,
  1029. "schema": {
  1030. "$ref": "#/definitions/md.AddRoleReq"
  1031. }
  1032. }
  1033. ],
  1034. "responses": {
  1035. "200": {
  1036. "description": "success",
  1037. "schema": {
  1038. "type": "string"
  1039. }
  1040. },
  1041. "400": {
  1042. "description": "具体错误",
  1043. "schema": {
  1044. "$ref": "#/definitions/md.Response"
  1045. }
  1046. }
  1047. }
  1048. }
  1049. },
  1050. "/api/role/adminInfo": {
  1051. "get": {
  1052. "description": "权限管理-管理员信息",
  1053. "consumes": [
  1054. "application/json"
  1055. ],
  1056. "produces": [
  1057. "application/json"
  1058. ],
  1059. "tags": [
  1060. "权限管理"
  1061. ],
  1062. "summary": "管理员信息",
  1063. "parameters": [
  1064. {
  1065. "type": "string",
  1066. "description": "验证参数Bearer和token空格拼接",
  1067. "name": "Authorization",
  1068. "in": "header",
  1069. "required": true
  1070. },
  1071. {
  1072. "type": "string",
  1073. "description": "管理员id",
  1074. "name": "adm_id",
  1075. "in": "query",
  1076. "required": true
  1077. }
  1078. ],
  1079. "responses": {
  1080. "200": {
  1081. "description": "具体看返回内容",
  1082. "schema": {
  1083. "type": "string"
  1084. }
  1085. },
  1086. "400": {
  1087. "description": "具体错误",
  1088. "schema": {
  1089. "$ref": "#/definitions/md.Response"
  1090. }
  1091. }
  1092. }
  1093. }
  1094. },
  1095. "/api/role/adminList": {
  1096. "post": {
  1097. "description": "权限管理-管理员列表",
  1098. "consumes": [
  1099. "application/json"
  1100. ],
  1101. "produces": [
  1102. "application/json"
  1103. ],
  1104. "tags": [
  1105. "权限管理"
  1106. ],
  1107. "summary": "管理员列表",
  1108. "parameters": [
  1109. {
  1110. "type": "string",
  1111. "description": "验证参数Bearer和token空格拼接",
  1112. "name": "Authorization",
  1113. "in": "header",
  1114. "required": true
  1115. },
  1116. {
  1117. "description": "请求参数",
  1118. "name": "args",
  1119. "in": "body",
  1120. "required": true,
  1121. "schema": {
  1122. "$ref": "#/definitions/md.AdminListReq"
  1123. }
  1124. }
  1125. ],
  1126. "responses": {
  1127. "200": {
  1128. "description": "具体看返回内容",
  1129. "schema": {
  1130. "type": "string"
  1131. }
  1132. },
  1133. "400": {
  1134. "description": "具体错误",
  1135. "schema": {
  1136. "$ref": "#/definitions/md.Response"
  1137. }
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "/api/role/bindAdminRole/": {
  1143. "post": {
  1144. "description": "权限管理-管理员绑定角色",
  1145. "consumes": [
  1146. "application/json"
  1147. ],
  1148. "produces": [
  1149. "application/json"
  1150. ],
  1151. "tags": [
  1152. "权限管理"
  1153. ],
  1154. "summary": "管理员绑定角色",
  1155. "parameters": [
  1156. {
  1157. "type": "string",
  1158. "description": "验证参数Bearer和token空格拼接",
  1159. "name": "Authorization",
  1160. "in": "header",
  1161. "required": true
  1162. },
  1163. {
  1164. "description": "请求参数",
  1165. "name": "args",
  1166. "in": "body",
  1167. "required": true,
  1168. "schema": {
  1169. "$ref": "#/definitions/md.BindAdminRoleReq"
  1170. }
  1171. }
  1172. ],
  1173. "responses": {
  1174. "200": {
  1175. "description": "success",
  1176. "schema": {
  1177. "type": "string"
  1178. }
  1179. },
  1180. "400": {
  1181. "description": "具体错误",
  1182. "schema": {
  1183. "$ref": "#/definitions/md.Response"
  1184. }
  1185. }
  1186. }
  1187. }
  1188. },
  1189. "/api/role/deleteAdmin/{$adm_id}": {
  1190. "delete": {
  1191. "description": "权限管理-删除管理员",
  1192. "consumes": [
  1193. "application/json"
  1194. ],
  1195. "produces": [
  1196. "application/json"
  1197. ],
  1198. "tags": [
  1199. "权限管理"
  1200. ],
  1201. "summary": "删除管理员",
  1202. "parameters": [
  1203. {
  1204. "type": "string",
  1205. "description": "验证参数Bearer和token空格拼接",
  1206. "name": "Authorization",
  1207. "in": "header",
  1208. "required": true
  1209. }
  1210. ],
  1211. "responses": {
  1212. "200": {
  1213. "description": "success",
  1214. "schema": {
  1215. "type": "string"
  1216. }
  1217. },
  1218. "400": {
  1219. "description": "具体错误",
  1220. "schema": {
  1221. "$ref": "#/definitions/md.Response"
  1222. }
  1223. }
  1224. }
  1225. }
  1226. },
  1227. "/api/role/deleteRole/{$id}": {
  1228. "delete": {
  1229. "description": "权限管理-删除角色",
  1230. "consumes": [
  1231. "application/json"
  1232. ],
  1233. "produces": [
  1234. "application/json"
  1235. ],
  1236. "tags": [
  1237. "权限管理"
  1238. ],
  1239. "summary": "删除角色",
  1240. "parameters": [
  1241. {
  1242. "type": "string",
  1243. "description": "验证参数Bearer和token空格拼接",
  1244. "name": "Authorization",
  1245. "in": "header",
  1246. "required": true
  1247. },
  1248. {
  1249. "description": "请求参数",
  1250. "name": "args",
  1251. "in": "body",
  1252. "required": true,
  1253. "schema": {
  1254. "$ref": "#/definitions/md.UpdateRoleStateReq"
  1255. }
  1256. }
  1257. ],
  1258. "responses": {
  1259. "200": {
  1260. "description": "success",
  1261. "schema": {
  1262. "type": "string"
  1263. }
  1264. },
  1265. "400": {
  1266. "description": "具体错误",
  1267. "schema": {
  1268. "$ref": "#/definitions/md.Response"
  1269. }
  1270. }
  1271. }
  1272. }
  1273. },
  1274. "/api/role/roleBindPermissionGroup": {
  1275. "post": {
  1276. "description": "权限管理-角色绑定权限组",
  1277. "consumes": [
  1278. "application/json"
  1279. ],
  1280. "produces": [
  1281. "application/json"
  1282. ],
  1283. "tags": [
  1284. "权限管理"
  1285. ],
  1286. "summary": "角色绑定权限组",
  1287. "parameters": [
  1288. {
  1289. "type": "string",
  1290. "description": "验证参数Bearer和token空格拼接",
  1291. "name": "Authorization",
  1292. "in": "header",
  1293. "required": true
  1294. },
  1295. {
  1296. "description": "请求参数",
  1297. "name": "args",
  1298. "in": "body",
  1299. "required": true,
  1300. "schema": {
  1301. "$ref": "#/definitions/md.RoleBindPermissionGroupReq"
  1302. }
  1303. }
  1304. ],
  1305. "responses": {
  1306. "200": {
  1307. "description": "success",
  1308. "schema": {
  1309. "type": "string"
  1310. }
  1311. },
  1312. "400": {
  1313. "description": "具体错误",
  1314. "schema": {
  1315. "$ref": "#/definitions/md.Response"
  1316. }
  1317. }
  1318. }
  1319. }
  1320. },
  1321. "/api/role/roleList": {
  1322. "get": {
  1323. "description": "权限管理-角色列表",
  1324. "consumes": [
  1325. "application/json"
  1326. ],
  1327. "produces": [
  1328. "application/json"
  1329. ],
  1330. "tags": [
  1331. "权限管理"
  1332. ],
  1333. "summary": "角色列表",
  1334. "parameters": [
  1335. {
  1336. "type": "string",
  1337. "description": "验证参数Bearer和token空格拼接",
  1338. "name": "Authorization",
  1339. "in": "header",
  1340. "required": true
  1341. }
  1342. ],
  1343. "responses": {
  1344. "200": {
  1345. "description": "具体看返回内容",
  1346. "schema": {
  1347. "type": "string"
  1348. }
  1349. },
  1350. "400": {
  1351. "description": "具体错误",
  1352. "schema": {
  1353. "$ref": "#/definitions/md.Response"
  1354. }
  1355. }
  1356. }
  1357. }
  1358. },
  1359. "/api/role/updateAdmin": {
  1360. "post": {
  1361. "description": "权限管理-修改管理员信息",
  1362. "consumes": [
  1363. "application/json"
  1364. ],
  1365. "produces": [
  1366. "application/json"
  1367. ],
  1368. "tags": [
  1369. "权限管理"
  1370. ],
  1371. "summary": "修改管理员信息",
  1372. "parameters": [
  1373. {
  1374. "type": "string",
  1375. "description": "验证参数Bearer和token空格拼接",
  1376. "name": "Authorization",
  1377. "in": "header",
  1378. "required": true
  1379. },
  1380. {
  1381. "description": "请求参数",
  1382. "name": "args",
  1383. "in": "body",
  1384. "required": true,
  1385. "schema": {
  1386. "$ref": "#/definitions/md.UpdateAdminReq"
  1387. }
  1388. }
  1389. ],
  1390. "responses": {
  1391. "200": {
  1392. "description": "success",
  1393. "schema": {
  1394. "type": "string"
  1395. }
  1396. },
  1397. "400": {
  1398. "description": "具体错误",
  1399. "schema": {
  1400. "$ref": "#/definitions/md.Response"
  1401. }
  1402. }
  1403. }
  1404. }
  1405. },
  1406. "/api/role/updateAdminState": {
  1407. "post": {
  1408. "description": "权限管理-修改管理员状态",
  1409. "consumes": [
  1410. "application/json"
  1411. ],
  1412. "produces": [
  1413. "application/json"
  1414. ],
  1415. "tags": [
  1416. "权限管理"
  1417. ],
  1418. "summary": "修改管理员状态",
  1419. "parameters": [
  1420. {
  1421. "type": "string",
  1422. "description": "验证参数Bearer和token空格拼接",
  1423. "name": "Authorization",
  1424. "in": "header",
  1425. "required": true
  1426. },
  1427. {
  1428. "description": "请求参数",
  1429. "name": "args",
  1430. "in": "body",
  1431. "required": true,
  1432. "schema": {
  1433. "$ref": "#/definitions/md.UpdateAdminStateReq"
  1434. }
  1435. }
  1436. ],
  1437. "responses": {
  1438. "200": {
  1439. "description": "success",
  1440. "schema": {
  1441. "type": "string"
  1442. }
  1443. },
  1444. "400": {
  1445. "description": "具体错误",
  1446. "schema": {
  1447. "$ref": "#/definitions/md.Response"
  1448. }
  1449. }
  1450. }
  1451. }
  1452. },
  1453. "/api/role/updateRole": {
  1454. "post": {
  1455. "description": "权限管理-修改角色",
  1456. "consumes": [
  1457. "application/json"
  1458. ],
  1459. "produces": [
  1460. "application/json"
  1461. ],
  1462. "tags": [
  1463. "权限管理"
  1464. ],
  1465. "summary": "修改角色",
  1466. "parameters": [
  1467. {
  1468. "type": "string",
  1469. "description": "验证参数Bearer和token空格拼接",
  1470. "name": "Authorization",
  1471. "in": "header",
  1472. "required": true
  1473. },
  1474. {
  1475. "description": "请求参数",
  1476. "name": "args",
  1477. "in": "body",
  1478. "required": true,
  1479. "schema": {
  1480. "$ref": "#/definitions/md.UpdateRoleReq"
  1481. }
  1482. }
  1483. ],
  1484. "responses": {
  1485. "200": {
  1486. "description": "success",
  1487. "schema": {
  1488. "type": "string"
  1489. }
  1490. },
  1491. "400": {
  1492. "description": "具体错误",
  1493. "schema": {
  1494. "$ref": "#/definitions/md.Response"
  1495. }
  1496. }
  1497. }
  1498. }
  1499. },
  1500. "/api/role/updateRoleState": {
  1501. "post": {
  1502. "description": "权限管理-修改角色状态",
  1503. "consumes": [
  1504. "application/json"
  1505. ],
  1506. "produces": [
  1507. "application/json"
  1508. ],
  1509. "tags": [
  1510. "权限管理"
  1511. ],
  1512. "summary": "修改角色状态",
  1513. "parameters": [
  1514. {
  1515. "type": "string",
  1516. "description": "验证参数Bearer和token空格拼接",
  1517. "name": "Authorization",
  1518. "in": "header",
  1519. "required": true
  1520. },
  1521. {
  1522. "description": "请求参数",
  1523. "name": "args",
  1524. "in": "body",
  1525. "required": true,
  1526. "schema": {
  1527. "$ref": "#/definitions/md.UpdateRoleStateReq"
  1528. }
  1529. }
  1530. ],
  1531. "responses": {
  1532. "200": {
  1533. "description": "success",
  1534. "schema": {
  1535. "type": "string"
  1536. }
  1537. },
  1538. "400": {
  1539. "description": "具体错误",
  1540. "schema": {
  1541. "$ref": "#/definitions/md.Response"
  1542. }
  1543. }
  1544. }
  1545. }
  1546. },
  1547. "/api/setCenter/applet/add": {
  1548. "post": {
  1549. "description": "小程序设置-新增",
  1550. "consumes": [
  1551. "application/json"
  1552. ],
  1553. "produces": [
  1554. "application/json"
  1555. ],
  1556. "tags": [
  1557. "设置中心-小程序设置"
  1558. ],
  1559. "summary": "新增",
  1560. "parameters": [
  1561. {
  1562. "type": "string",
  1563. "description": "验证参数Bearer和token空格拼接",
  1564. "name": "Authorization",
  1565. "in": "header",
  1566. "required": true
  1567. },
  1568. {
  1569. "description": "请求参数",
  1570. "name": "args",
  1571. "in": "body",
  1572. "required": true,
  1573. "schema": {
  1574. "$ref": "#/definitions/md.AppletAddReq"
  1575. }
  1576. }
  1577. ],
  1578. "responses": {
  1579. "200": {
  1580. "description": "success",
  1581. "schema": {
  1582. "type": "string"
  1583. }
  1584. },
  1585. "400": {
  1586. "description": "具体错误",
  1587. "schema": {
  1588. "$ref": "#/definitions/md.Response"
  1589. }
  1590. }
  1591. }
  1592. }
  1593. },
  1594. "/api/setCenter/applet/authorize": {
  1595. "get": {
  1596. "description": "设置中心-基础设置",
  1597. "consumes": [
  1598. "application/json"
  1599. ],
  1600. "produces": [
  1601. "application/json"
  1602. ],
  1603. "tags": [
  1604. "设置中心"
  1605. ],
  1606. "summary": "设置中心-基础设置-微信三方应用获取",
  1607. "parameters": [
  1608. {
  1609. "type": "string",
  1610. "description": "验证参数Bearer和token空格拼接",
  1611. "name": "Authorization",
  1612. "in": "header",
  1613. "required": true
  1614. }
  1615. ],
  1616. "responses": {
  1617. "200": {
  1618. "description": "微信授权界面url",
  1619. "schema": {
  1620. "type": "string"
  1621. }
  1622. },
  1623. "400": {
  1624. "description": "具体错误",
  1625. "schema": {
  1626. "$ref": "#/definitions/md.Response"
  1627. }
  1628. }
  1629. }
  1630. }
  1631. },
  1632. "/api/setCenter/applet/list": {
  1633. "get": {
  1634. "description": "小程序设置-列表",
  1635. "consumes": [
  1636. "application/json"
  1637. ],
  1638. "produces": [
  1639. "application/json"
  1640. ],
  1641. "tags": [
  1642. "设置中心-小程序设置"
  1643. ],
  1644. "summary": "列表",
  1645. "parameters": [
  1646. {
  1647. "type": "string",
  1648. "description": "验证参数Bearer和token空格拼接",
  1649. "name": "Authorization",
  1650. "in": "header",
  1651. "required": true
  1652. }
  1653. ],
  1654. "responses": {
  1655. "200": {
  1656. "description": "OK",
  1657. "schema": {
  1658. "$ref": "#/definitions/hdl.WxOpenThirdPartyAppList"
  1659. }
  1660. },
  1661. "400": {
  1662. "description": "具体错误",
  1663. "schema": {
  1664. "$ref": "#/definitions/md.Response"
  1665. }
  1666. }
  1667. }
  1668. }
  1669. },
  1670. "/api/setCenter/applet/unauthorized": {
  1671. "get": {
  1672. "description": "设置中心-基础设置",
  1673. "consumes": [
  1674. "application/json"
  1675. ],
  1676. "produces": [
  1677. "application/json"
  1678. ],
  1679. "tags": [
  1680. "设置中心"
  1681. ],
  1682. "summary": "设置中心-基础设置-微信三方应用获取",
  1683. "parameters": [
  1684. {
  1685. "type": "string",
  1686. "description": "验证参数Bearer和token空格拼接",
  1687. "name": "Authorization",
  1688. "in": "header",
  1689. "required": true
  1690. }
  1691. ],
  1692. "responses": {
  1693. "200": {
  1694. "description": "success",
  1695. "schema": {
  1696. "type": "string"
  1697. }
  1698. },
  1699. "400": {
  1700. "description": "具体错误",
  1701. "schema": {
  1702. "$ref": "#/definitions/md.Response"
  1703. }
  1704. }
  1705. }
  1706. }
  1707. },
  1708. "/api/setCenter/applet/update": {
  1709. "post": {
  1710. "description": "小程序设置-更新",
  1711. "consumes": [
  1712. "application/json"
  1713. ],
  1714. "produces": [
  1715. "application/json"
  1716. ],
  1717. "tags": [
  1718. "设置中心-小程序设置"
  1719. ],
  1720. "summary": "更新",
  1721. "parameters": [
  1722. {
  1723. "type": "string",
  1724. "description": "验证参数Bearer和token空格拼接",
  1725. "name": "Authorization",
  1726. "in": "header",
  1727. "required": true
  1728. },
  1729. {
  1730. "description": "请求参数",
  1731. "name": "args",
  1732. "in": "body",
  1733. "required": true,
  1734. "schema": {
  1735. "$ref": "#/definitions/md.AppletUpdateReq"
  1736. }
  1737. }
  1738. ],
  1739. "responses": {
  1740. "200": {
  1741. "description": "success",
  1742. "schema": {
  1743. "type": "string"
  1744. }
  1745. },
  1746. "400": {
  1747. "description": "具体错误",
  1748. "schema": {
  1749. "$ref": "#/definitions/md.Response"
  1750. }
  1751. }
  1752. }
  1753. }
  1754. },
  1755. "/api/setCenter/basic/getOss": {
  1756. "get": {
  1757. "description": "基础设置-mob获取",
  1758. "consumes": [
  1759. "application/json"
  1760. ],
  1761. "produces": [
  1762. "application/json"
  1763. ],
  1764. "tags": [
  1765. "设置中心-基础设置"
  1766. ],
  1767. "summary": "mob获取",
  1768. "parameters": [
  1769. {
  1770. "type": "string",
  1771. "description": "验证参数Bearer和token空格拼接",
  1772. "name": "Authorization",
  1773. "in": "header",
  1774. "required": true
  1775. }
  1776. ],
  1777. "responses": {
  1778. "200": {
  1779. "description": "OK",
  1780. "schema": {
  1781. "$ref": "#/definitions/md.SetOssResp"
  1782. }
  1783. },
  1784. "400": {
  1785. "description": "具体错误",
  1786. "schema": {
  1787. "$ref": "#/definitions/md.Response"
  1788. }
  1789. }
  1790. }
  1791. }
  1792. },
  1793. "/api/setCenter/basic/setOss": {
  1794. "post": {
  1795. "description": "基础设置-mob设置",
  1796. "consumes": [
  1797. "application/json"
  1798. ],
  1799. "produces": [
  1800. "application/json"
  1801. ],
  1802. "tags": [
  1803. "设置中心-基础设置"
  1804. ],
  1805. "summary": "mob设置",
  1806. "parameters": [
  1807. {
  1808. "type": "string",
  1809. "description": "验证参数Bearer和token空格拼接",
  1810. "name": "Authorization",
  1811. "in": "header",
  1812. "required": true
  1813. },
  1814. {
  1815. "description": "请求参数",
  1816. "name": "args",
  1817. "in": "body",
  1818. "required": true,
  1819. "schema": {
  1820. "$ref": "#/definitions/md.SetMobReq"
  1821. }
  1822. }
  1823. ],
  1824. "responses": {
  1825. "200": {
  1826. "description": "success",
  1827. "schema": {
  1828. "type": "string"
  1829. }
  1830. },
  1831. "400": {
  1832. "description": "具体错误",
  1833. "schema": {
  1834. "$ref": "#/definitions/md.Response"
  1835. }
  1836. }
  1837. }
  1838. }
  1839. },
  1840. "/api/setCenter/basic/wxOpenGet": {
  1841. "get": {
  1842. "description": "基础设置-微信三方应用获取",
  1843. "consumes": [
  1844. "application/json"
  1845. ],
  1846. "produces": [
  1847. "application/json"
  1848. ],
  1849. "tags": [
  1850. "设置中心-基础设置"
  1851. ],
  1852. "summary": "微信三方应用获取",
  1853. "parameters": [
  1854. {
  1855. "type": "string",
  1856. "description": "验证参数Bearer和token空格拼接",
  1857. "name": "Authorization",
  1858. "in": "header",
  1859. "required": true
  1860. }
  1861. ],
  1862. "responses": {
  1863. "200": {
  1864. "description": "OK",
  1865. "schema": {
  1866. "$ref": "#/definitions/md.WxOpenGetResp"
  1867. }
  1868. },
  1869. "400": {
  1870. "description": "具体错误",
  1871. "schema": {
  1872. "$ref": "#/definitions/md.Response"
  1873. }
  1874. }
  1875. }
  1876. }
  1877. },
  1878. "/api/setCenter/basic/wxOpenSet": {
  1879. "post": {
  1880. "description": "基础设置-微信三方应用设置",
  1881. "consumes": [
  1882. "application/json"
  1883. ],
  1884. "produces": [
  1885. "application/json"
  1886. ],
  1887. "tags": [
  1888. "设置中心-基础设置"
  1889. ],
  1890. "summary": "微信三方应用设置",
  1891. "parameters": [
  1892. {
  1893. "type": "string",
  1894. "description": "验证参数Bearer和token空格拼接",
  1895. "name": "Authorization",
  1896. "in": "header",
  1897. "required": true
  1898. },
  1899. {
  1900. "description": "请求参数",
  1901. "name": "args",
  1902. "in": "body",
  1903. "required": true,
  1904. "schema": {
  1905. "$ref": "#/definitions/md.WxOpenSetReq"
  1906. }
  1907. }
  1908. ],
  1909. "responses": {
  1910. "200": {
  1911. "description": "success",
  1912. "schema": {
  1913. "type": "string"
  1914. }
  1915. },
  1916. "400": {
  1917. "description": "具体错误",
  1918. "schema": {
  1919. "$ref": "#/definitions/md.Response"
  1920. }
  1921. }
  1922. }
  1923. }
  1924. },
  1925. "/api/setCenter/share/index": {
  1926. "get": {
  1927. "description": "邀请链接界面接口",
  1928. "consumes": [
  1929. "application/json"
  1930. ],
  1931. "produces": [
  1932. "application/json"
  1933. ],
  1934. "tags": [
  1935. "设置中心-邀请链接"
  1936. ],
  1937. "summary": "邀请链接",
  1938. "parameters": [
  1939. {
  1940. "type": "string",
  1941. "description": "验证参数Bearer和token空格拼接",
  1942. "name": "Authorization",
  1943. "in": "header",
  1944. "required": true
  1945. }
  1946. ],
  1947. "responses": {
  1948. "200": {
  1949. "description": "OK",
  1950. "schema": {
  1951. "$ref": "#/definitions/md.ShareIndexResp"
  1952. }
  1953. },
  1954. "400": {
  1955. "description": "具体错误",
  1956. "schema": {
  1957. "$ref": "#/definitions/md.Response"
  1958. }
  1959. }
  1960. }
  1961. }
  1962. },
  1963. "/role/permissionGroupList": {
  1964. "get": {
  1965. "description": "权限管理-权限组列表",
  1966. "consumes": [
  1967. "application/json"
  1968. ],
  1969. "produces": [
  1970. "application/json"
  1971. ],
  1972. "tags": [
  1973. "权限管理"
  1974. ],
  1975. "summary": "权限组列表",
  1976. "parameters": [
  1977. {
  1978. "type": "string",
  1979. "description": "验证参数Bearer和token空格拼接",
  1980. "name": "Authorization",
  1981. "in": "header",
  1982. "required": true
  1983. },
  1984. {
  1985. "type": "string",
  1986. "description": "管理员id",
  1987. "name": "adm_id",
  1988. "in": "query",
  1989. "required": true
  1990. }
  1991. ],
  1992. "responses": {
  1993. "200": {
  1994. "description": "具体看返回内容",
  1995. "schema": {
  1996. "type": "string"
  1997. }
  1998. },
  1999. "400": {
  2000. "description": "具体错误",
  2001. "schema": {
  2002. "$ref": "#/definitions/md.Response"
  2003. }
  2004. }
  2005. }
  2006. }
  2007. },
  2008. "/v1/banner/delete/{$id}": {
  2009. "delete": {
  2010. "description": "小程序设置-删除",
  2011. "consumes": [
  2012. "application/json"
  2013. ],
  2014. "produces": [
  2015. "application/json"
  2016. ],
  2017. "tags": [
  2018. "设置中心-小程序设置"
  2019. ],
  2020. "summary": "删除",
  2021. "parameters": [
  2022. {
  2023. "type": "string",
  2024. "description": "验证参数Bearer和token空格拼接",
  2025. "name": "Authorization",
  2026. "in": "header",
  2027. "required": true
  2028. }
  2029. ],
  2030. "responses": {
  2031. "200": {
  2032. "description": "success",
  2033. "schema": {
  2034. "type": "string"
  2035. }
  2036. },
  2037. "400": {
  2038. "description": "具体错误",
  2039. "schema": {
  2040. "$ref": "#/definitions/md.Response"
  2041. }
  2042. }
  2043. }
  2044. }
  2045. }
  2046. },
  2047. "definitions": {
  2048. "hdl.WxOpenThirdPartyAppList": {
  2049. "type": "object",
  2050. "properties": {
  2051. "aes_key": {
  2052. "type": "string"
  2053. },
  2054. "app_secret": {
  2055. "type": "string"
  2056. },
  2057. "appid": {
  2058. "type": "string"
  2059. },
  2060. "component_access_token": {
  2061. "type": "string"
  2062. },
  2063. "component_verify_ticket": {
  2064. "type": "string"
  2065. },
  2066. "create_at": {
  2067. "type": "string"
  2068. },
  2069. "id": {
  2070. "type": "integer"
  2071. },
  2072. "token": {
  2073. "type": "string"
  2074. },
  2075. "update_at": {
  2076. "type": "string"
  2077. },
  2078. "uuid": {
  2079. "type": "integer"
  2080. }
  2081. }
  2082. },
  2083. "md.AddAdminReq": {
  2084. "type": "object",
  2085. "required": [
  2086. "password",
  2087. "username"
  2088. ],
  2089. "properties": {
  2090. "memo": {
  2091. "type": "string"
  2092. },
  2093. "password": {
  2094. "type": "string"
  2095. },
  2096. "username": {
  2097. "type": "string"
  2098. }
  2099. }
  2100. },
  2101. "md.AddRoleReq": {
  2102. "type": "object",
  2103. "required": [
  2104. "memo",
  2105. "name"
  2106. ],
  2107. "properties": {
  2108. "memo": {
  2109. "type": "string"
  2110. },
  2111. "name": {
  2112. "type": "string"
  2113. }
  2114. }
  2115. },
  2116. "md.AdminListReq": {
  2117. "type": "object",
  2118. "properties": {
  2119. "limit": {
  2120. "type": "integer"
  2121. },
  2122. "page": {
  2123. "type": "integer"
  2124. },
  2125. "state": {
  2126. "type": "integer"
  2127. },
  2128. "username": {
  2129. "type": "string"
  2130. }
  2131. }
  2132. },
  2133. "md.AgentQualificationBankData": {
  2134. "type": "object",
  2135. "properties": {
  2136. "agent_id": {
  2137. "type": "string",
  2138. "example": "代理id"
  2139. },
  2140. "bank": {
  2141. "type": "string",
  2142. "example": "开户银行"
  2143. },
  2144. "bank_branch": {
  2145. "type": "string",
  2146. "example": "开户银行分行"
  2147. },
  2148. "bank_no": {
  2149. "type": "string",
  2150. "example": "银行卡号"
  2151. },
  2152. "company_name": {
  2153. "type": "string",
  2154. "example": "公司名称"
  2155. },
  2156. "currency_conf": {
  2157. "type": "string",
  2158. "example": "结算币种 0人民币"
  2159. },
  2160. "id": {
  2161. "type": "string",
  2162. "example": "id"
  2163. },
  2164. "kind": {
  2165. "type": "string",
  2166. "example": "类型(1:企业 2:个人)"
  2167. },
  2168. "licence": {
  2169. "type": "string",
  2170. "example": "开户许可证"
  2171. },
  2172. "memo": {
  2173. "type": "string",
  2174. "example": "备注 审核时填写的"
  2175. },
  2176. "state": {
  2177. "type": "string",
  2178. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  2179. },
  2180. "unified_social_credit_code": {
  2181. "type": "string",
  2182. "example": "统一社会信用代码"
  2183. }
  2184. }
  2185. },
  2186. "md.AgentQualificationBankRes": {
  2187. "type": "object",
  2188. "properties": {
  2189. "currency_conf": {
  2190. "type": "array",
  2191. "items": {
  2192. "$ref": "#/definitions/md.SelectData"
  2193. }
  2194. },
  2195. "list": {
  2196. "type": "array",
  2197. "items": {
  2198. "$ref": "#/definitions/md.AgentQualificationBankData"
  2199. }
  2200. },
  2201. "state": {
  2202. "type": "array",
  2203. "items": {
  2204. "$ref": "#/definitions/md.SelectData"
  2205. }
  2206. },
  2207. "total": {
  2208. "type": "integer"
  2209. },
  2210. "type": {
  2211. "type": "array",
  2212. "items": {
  2213. "$ref": "#/definitions/md.SelectData"
  2214. }
  2215. }
  2216. }
  2217. },
  2218. "md.AgentQualificationContactData": {
  2219. "type": "object",
  2220. "properties": {
  2221. "address": {
  2222. "type": "string",
  2223. "example": "联系地址"
  2224. },
  2225. "agent_id": {
  2226. "type": "string",
  2227. "example": "代理id"
  2228. },
  2229. "company_name": {
  2230. "type": "string",
  2231. "example": "公司名称"
  2232. },
  2233. "email": {
  2234. "type": "string",
  2235. "example": "邮箱地址"
  2236. },
  2237. "id": {
  2238. "type": "string",
  2239. "example": "id"
  2240. },
  2241. "kind": {
  2242. "type": "string",
  2243. "example": "类型(1:企业 2:个人)"
  2244. },
  2245. "memo": {
  2246. "type": "string",
  2247. "example": "备注 审核时填写的"
  2248. },
  2249. "name": {
  2250. "type": "string",
  2251. "example": "联系人"
  2252. },
  2253. "phone": {
  2254. "type": "string",
  2255. "example": "联系电话"
  2256. },
  2257. "state": {
  2258. "type": "string",
  2259. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  2260. }
  2261. }
  2262. },
  2263. "md.AgentQualificationContactRes": {
  2264. "type": "object",
  2265. "properties": {
  2266. "list": {
  2267. "type": "array",
  2268. "items": {
  2269. "$ref": "#/definitions/md.AgentQualificationContactData"
  2270. }
  2271. },
  2272. "state": {
  2273. "type": "array",
  2274. "items": {
  2275. "$ref": "#/definitions/md.SelectData"
  2276. }
  2277. },
  2278. "total": {
  2279. "type": "integer"
  2280. }
  2281. }
  2282. },
  2283. "md.AgentQualificationEnterpriseAuditReq": {
  2284. "type": "object",
  2285. "properties": {
  2286. "agent_id": {
  2287. "type": "string"
  2288. },
  2289. "memo": {
  2290. "type": "string"
  2291. },
  2292. "state": {
  2293. "type": "string"
  2294. }
  2295. }
  2296. },
  2297. "md.AgentQualificationEnterpriseData": {
  2298. "type": "object",
  2299. "properties": {
  2300. "agent_id": {
  2301. "type": "string",
  2302. "example": "代理id"
  2303. },
  2304. "business_license_address": {
  2305. "type": "string",
  2306. "example": "营业执照地址"
  2307. },
  2308. "business_license_img_url": {
  2309. "type": "string",
  2310. "example": "营业执照照片"
  2311. },
  2312. "certificate_first_type": {
  2313. "type": "string",
  2314. "example": "证件类型 1级类目id"
  2315. },
  2316. "certificate_type": {
  2317. "type": "string",
  2318. "example": "证件类型 2级类目id"
  2319. },
  2320. "certificate_validity": {
  2321. "type": "string",
  2322. "example": "证件有效期"
  2323. },
  2324. "company_abbreviation": {
  2325. "type": "string",
  2326. "example": "公司简称"
  2327. },
  2328. "company_name": {
  2329. "type": "string",
  2330. "example": "公司名称"
  2331. },
  2332. "country_region": {
  2333. "type": "string",
  2334. "example": "国家地区"
  2335. },
  2336. "country_region_id": {
  2337. "type": "string",
  2338. "example": "国家地区id"
  2339. },
  2340. "id": {
  2341. "type": "string",
  2342. "example": "状态选择"
  2343. },
  2344. "kind": {
  2345. "type": "string",
  2346. "example": "类型(1:企业 2:个人)"
  2347. },
  2348. "legal_representative": {
  2349. "type": "string",
  2350. "example": "法定代表人"
  2351. },
  2352. "memo": {
  2353. "type": "string",
  2354. "example": "备注 审核时填写的"
  2355. },
  2356. "registered_address": {
  2357. "type": "string",
  2358. "example": "注册地址"
  2359. },
  2360. "registered_address_city_id": {
  2361. "type": "string",
  2362. "example": "注册地址-市id"
  2363. },
  2364. "registered_address_country_id": {
  2365. "type": "string",
  2366. "example": "注册地址-国家id"
  2367. },
  2368. "registered_address_county_id": {
  2369. "type": "string",
  2370. "example": "注册地址-县/区id"
  2371. },
  2372. "registered_address_province_id": {
  2373. "type": "string",
  2374. "example": "册地址-省份id"
  2375. },
  2376. "state": {
  2377. "type": "string",
  2378. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  2379. },
  2380. "unified_social_credit_code": {
  2381. "type": "string",
  2382. "example": "统一社会信用代码"
  2383. },
  2384. "uuid": {
  2385. "type": "string",
  2386. "example": "站长id"
  2387. }
  2388. }
  2389. },
  2390. "md.AgentQualificationEnterpriseReq": {
  2391. "type": "object",
  2392. "properties": {
  2393. "limit": {
  2394. "type": "string"
  2395. },
  2396. "name": {
  2397. "type": "string"
  2398. },
  2399. "page": {
  2400. "type": "string"
  2401. },
  2402. "state": {
  2403. "type": "string"
  2404. }
  2405. }
  2406. },
  2407. "md.AgentQualificationEnterpriseRes": {
  2408. "type": "object",
  2409. "properties": {
  2410. "list": {
  2411. "type": "array",
  2412. "items": {
  2413. "$ref": "#/definitions/md.AgentQualificationEnterpriseData"
  2414. }
  2415. },
  2416. "state": {
  2417. "type": "array",
  2418. "items": {
  2419. "$ref": "#/definitions/md.SelectData"
  2420. }
  2421. },
  2422. "total": {
  2423. "type": "integer"
  2424. },
  2425. "type": {
  2426. "type": "array",
  2427. "items": {
  2428. "$ref": "#/definitions/md.SelectData"
  2429. }
  2430. }
  2431. }
  2432. },
  2433. "md.AppletAddReq": {
  2434. "type": "object",
  2435. "required": [
  2436. "appid",
  2437. "logo",
  2438. "name",
  2439. "original_id"
  2440. ],
  2441. "properties": {
  2442. "appid": {
  2443. "type": "string",
  2444. "example": "授权小程序appid"
  2445. },
  2446. "logo": {
  2447. "type": "string",
  2448. "example": "小程序logo"
  2449. },
  2450. "name": {
  2451. "type": "string",
  2452. "example": "小程序名称"
  2453. },
  2454. "original_id": {
  2455. "type": "string",
  2456. "example": "授权小程序原始id"
  2457. }
  2458. }
  2459. },
  2460. "md.AppletApplicationAdSpaceListData": {
  2461. "type": "object",
  2462. "properties": {
  2463. "ad_id": {
  2464. "type": "string",
  2465. "example": "广告位id"
  2466. },
  2467. "app_id": {
  2468. "type": "string",
  2469. "example": "小程序appid"
  2470. },
  2471. "cooperate_state": {
  2472. "type": "string",
  2473. "example": "合作状态"
  2474. },
  2475. "id": {
  2476. "type": "string",
  2477. "example": "id"
  2478. },
  2479. "kind": {
  2480. "type": "string",
  2481. "example": "广告位类型"
  2482. },
  2483. "logo": {
  2484. "type": "string",
  2485. "example": "logo"
  2486. },
  2487. "memo": {
  2488. "type": "string",
  2489. "example": "备注"
  2490. },
  2491. "name": {
  2492. "type": "string",
  2493. "example": "应用名称"
  2494. },
  2495. "platform": {
  2496. "type": "string",
  2497. "example": "平台"
  2498. },
  2499. "state": {
  2500. "type": "string",
  2501. "example": "应用状态 state=2 才能再次编辑"
  2502. }
  2503. }
  2504. },
  2505. "md.AppletApplicationAdSpaceListReq": {
  2506. "type": "object",
  2507. "properties": {
  2508. "cooperate_state": {
  2509. "type": "string",
  2510. "example": "合作状态"
  2511. },
  2512. "limit": {
  2513. "type": "string"
  2514. },
  2515. "medium_id": {
  2516. "type": "string",
  2517. "example": "媒体id"
  2518. },
  2519. "name": {
  2520. "type": "string"
  2521. },
  2522. "page": {
  2523. "type": "string"
  2524. },
  2525. "platform": {
  2526. "type": "string"
  2527. }
  2528. }
  2529. },
  2530. "md.AppletApplicationAdSpaceListRes": {
  2531. "type": "object",
  2532. "properties": {
  2533. "ad_type": {
  2534. "type": "array",
  2535. "items": {
  2536. "$ref": "#/definitions/md.SelectData"
  2537. }
  2538. },
  2539. "cooperate_state": {
  2540. "type": "array",
  2541. "items": {
  2542. "$ref": "#/definitions/md.SelectData"
  2543. }
  2544. },
  2545. "list": {
  2546. "type": "array",
  2547. "items": {
  2548. "$ref": "#/definitions/md.AppletApplicationAdSpaceListData"
  2549. }
  2550. },
  2551. "platform": {
  2552. "type": "array",
  2553. "items": {
  2554. "$ref": "#/definitions/md.SelectData"
  2555. }
  2556. },
  2557. "state": {
  2558. "type": "array",
  2559. "items": {
  2560. "$ref": "#/definitions/md.SelectData"
  2561. }
  2562. },
  2563. "total": {
  2564. "type": "integer"
  2565. }
  2566. }
  2567. },
  2568. "md.AppletApplicationAdSpaceMediumListData": {
  2569. "type": "object",
  2570. "properties": {
  2571. "account": {
  2572. "type": "string",
  2573. "example": "账号"
  2574. },
  2575. "contact_name": {
  2576. "type": "string",
  2577. "example": "联系人"
  2578. },
  2579. "count": {
  2580. "type": "string",
  2581. "example": "广告位数量"
  2582. },
  2583. "id": {
  2584. "type": "string",
  2585. "example": "id"
  2586. },
  2587. "medium_id": {
  2588. "type": "string",
  2589. "example": "媒体id"
  2590. },
  2591. "name": {
  2592. "type": "string",
  2593. "example": "名称"
  2594. },
  2595. "phone": {
  2596. "type": "string",
  2597. "example": "联系电话"
  2598. }
  2599. }
  2600. },
  2601. "md.AppletApplicationAdSpaceMediumListReq": {
  2602. "type": "object",
  2603. "properties": {
  2604. "account": {
  2605. "type": "string",
  2606. "example": "媒体账号"
  2607. },
  2608. "limit": {
  2609. "type": "string"
  2610. },
  2611. "name": {
  2612. "type": "string",
  2613. "example": "媒体名称"
  2614. },
  2615. "page": {
  2616. "type": "string"
  2617. }
  2618. }
  2619. },
  2620. "md.AppletApplicationAdSpaceMediumListRes": {
  2621. "type": "object",
  2622. "properties": {
  2623. "list": {
  2624. "type": "array",
  2625. "items": {
  2626. "$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListData"
  2627. }
  2628. },
  2629. "total": {
  2630. "type": "integer"
  2631. }
  2632. }
  2633. },
  2634. "md.AppletApplicationAdSpaceSaveReq": {
  2635. "type": "object",
  2636. "properties": {
  2637. "id": {
  2638. "type": "string",
  2639. "example": "id 多个逗号隔开"
  2640. },
  2641. "memo": {
  2642. "type": "string",
  2643. "example": "备注"
  2644. },
  2645. "state": {
  2646. "type": "string",
  2647. "example": "审核状态"
  2648. }
  2649. }
  2650. },
  2651. "md.AppletApplicationListData": {
  2652. "type": "object",
  2653. "properties": {
  2654. "app_id": {
  2655. "type": "string",
  2656. "example": "小程序appid"
  2657. },
  2658. "cooperate_state": {
  2659. "type": "string",
  2660. "example": "合作状态"
  2661. },
  2662. "id": {
  2663. "type": "string",
  2664. "example": "id"
  2665. },
  2666. "logo": {
  2667. "type": "string",
  2668. "example": "logo"
  2669. },
  2670. "memo": {
  2671. "type": "string",
  2672. "example": "备注"
  2673. },
  2674. "name": {
  2675. "type": "string",
  2676. "example": "应用名称"
  2677. },
  2678. "original_id": {
  2679. "type": "string",
  2680. "example": "小程序id"
  2681. },
  2682. "platform": {
  2683. "type": "string",
  2684. "example": "平台"
  2685. },
  2686. "state": {
  2687. "type": "string",
  2688. "example": "应用状态 state=3 才能再次编辑"
  2689. }
  2690. }
  2691. },
  2692. "md.AppletApplicationListReq": {
  2693. "type": "object",
  2694. "properties": {
  2695. "cooperate_state": {
  2696. "type": "string",
  2697. "example": "合作状态"
  2698. },
  2699. "limit": {
  2700. "type": "string"
  2701. },
  2702. "medium_id": {
  2703. "type": "string",
  2704. "example": "媒体id"
  2705. },
  2706. "name": {
  2707. "type": "string"
  2708. },
  2709. "page": {
  2710. "type": "string"
  2711. },
  2712. "platform": {
  2713. "type": "string"
  2714. }
  2715. }
  2716. },
  2717. "md.AppletApplicationListRes": {
  2718. "type": "object",
  2719. "properties": {
  2720. "cooperate_state": {
  2721. "type": "array",
  2722. "items": {
  2723. "$ref": "#/definitions/md.SelectData"
  2724. }
  2725. },
  2726. "list": {
  2727. "type": "array",
  2728. "items": {
  2729. "$ref": "#/definitions/md.AppletApplicationListData"
  2730. }
  2731. },
  2732. "platform": {
  2733. "type": "array",
  2734. "items": {
  2735. "$ref": "#/definitions/md.SelectData"
  2736. }
  2737. },
  2738. "state": {
  2739. "type": "array",
  2740. "items": {
  2741. "$ref": "#/definitions/md.SelectData"
  2742. }
  2743. },
  2744. "total": {
  2745. "type": "integer"
  2746. }
  2747. }
  2748. },
  2749. "md.AppletApplicationMediumListData": {
  2750. "type": "object",
  2751. "properties": {
  2752. "account": {
  2753. "type": "string",
  2754. "example": "账号"
  2755. },
  2756. "contact_name": {
  2757. "type": "string",
  2758. "example": "联系人"
  2759. },
  2760. "count": {
  2761. "type": "string",
  2762. "example": "应用数量"
  2763. },
  2764. "id": {
  2765. "type": "string",
  2766. "example": "id"
  2767. },
  2768. "medium_id": {
  2769. "type": "string",
  2770. "example": "媒体id"
  2771. },
  2772. "name": {
  2773. "type": "string",
  2774. "example": "名称"
  2775. },
  2776. "phone": {
  2777. "type": "string",
  2778. "example": "联系电话"
  2779. }
  2780. }
  2781. },
  2782. "md.AppletApplicationMediumListReq": {
  2783. "type": "object",
  2784. "properties": {
  2785. "account": {
  2786. "type": "string",
  2787. "example": "媒体账号"
  2788. },
  2789. "limit": {
  2790. "type": "string"
  2791. },
  2792. "name": {
  2793. "type": "string",
  2794. "example": "媒体名称"
  2795. },
  2796. "page": {
  2797. "type": "string"
  2798. }
  2799. }
  2800. },
  2801. "md.AppletApplicationMediumListRes": {
  2802. "type": "object",
  2803. "properties": {
  2804. "list": {
  2805. "type": "array",
  2806. "items": {
  2807. "$ref": "#/definitions/md.AppletApplicationMediumListData"
  2808. }
  2809. },
  2810. "total": {
  2811. "type": "integer"
  2812. }
  2813. }
  2814. },
  2815. "md.AppletApplicationSaveReq": {
  2816. "type": "object",
  2817. "properties": {
  2818. "id": {
  2819. "type": "string",
  2820. "example": "id 多个逗号隔开"
  2821. },
  2822. "memo": {
  2823. "type": "string",
  2824. "example": "备注"
  2825. },
  2826. "state": {
  2827. "type": "string",
  2828. "example": "审核状态"
  2829. }
  2830. }
  2831. },
  2832. "md.AppletUpdateReq": {
  2833. "type": "object",
  2834. "required": [
  2835. "id",
  2836. "logo",
  2837. "name"
  2838. ],
  2839. "properties": {
  2840. "id": {
  2841. "type": "integer"
  2842. },
  2843. "logo": {
  2844. "type": "string",
  2845. "example": "小程序logo"
  2846. },
  2847. "name": {
  2848. "type": "string",
  2849. "example": "小程序名称"
  2850. }
  2851. }
  2852. },
  2853. "md.BindAdminRoleReq": {
  2854. "type": "object",
  2855. "required": [
  2856. "adm_id"
  2857. ],
  2858. "properties": {
  2859. "adm_id": {
  2860. "type": "integer"
  2861. },
  2862. "role_ids": {
  2863. "type": "array",
  2864. "items": {
  2865. "type": "integer"
  2866. }
  2867. }
  2868. }
  2869. },
  2870. "md.LoginReq": {
  2871. "type": "object",
  2872. "required": [
  2873. "password",
  2874. "username"
  2875. ],
  2876. "properties": {
  2877. "code": {
  2878. "type": "string",
  2879. "example": "验证码"
  2880. },
  2881. "password": {
  2882. "type": "string",
  2883. "example": "登录密码"
  2884. },
  2885. "username": {
  2886. "type": "string",
  2887. "example": "登录账号"
  2888. }
  2889. }
  2890. },
  2891. "md.LoginResponse": {
  2892. "type": "object",
  2893. "properties": {
  2894. "token": {
  2895. "type": "string"
  2896. }
  2897. }
  2898. },
  2899. "md.MediumQualificationContactData": {
  2900. "type": "object",
  2901. "properties": {
  2902. "address": {
  2903. "type": "string",
  2904. "example": "联系地址"
  2905. },
  2906. "company_name": {
  2907. "type": "string",
  2908. "example": "公司名称"
  2909. },
  2910. "email": {
  2911. "type": "string",
  2912. "example": "邮箱地址"
  2913. },
  2914. "id": {
  2915. "type": "string",
  2916. "example": "id"
  2917. },
  2918. "kind": {
  2919. "type": "string",
  2920. "example": "类型(1:企业 2:个人)"
  2921. },
  2922. "medium_id": {
  2923. "type": "string",
  2924. "example": "代理id"
  2925. },
  2926. "memo": {
  2927. "type": "string",
  2928. "example": "备注 审核时填写的"
  2929. },
  2930. "name": {
  2931. "type": "string",
  2932. "example": "联系人"
  2933. },
  2934. "phone": {
  2935. "type": "string",
  2936. "example": "联系电话"
  2937. },
  2938. "state": {
  2939. "type": "string",
  2940. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  2941. }
  2942. }
  2943. },
  2944. "md.MediumQualificationContactRes": {
  2945. "type": "object",
  2946. "properties": {
  2947. "list": {
  2948. "type": "array",
  2949. "items": {
  2950. "$ref": "#/definitions/md.MediumQualificationContactData"
  2951. }
  2952. },
  2953. "state": {
  2954. "type": "array",
  2955. "items": {
  2956. "$ref": "#/definitions/md.SelectData"
  2957. }
  2958. },
  2959. "total": {
  2960. "type": "integer"
  2961. }
  2962. }
  2963. },
  2964. "md.MediumQualificationEnterpriseAuditReq": {
  2965. "type": "object",
  2966. "properties": {
  2967. "medium_id": {
  2968. "type": "string"
  2969. },
  2970. "memo": {
  2971. "type": "string"
  2972. },
  2973. "state": {
  2974. "type": "string"
  2975. }
  2976. }
  2977. },
  2978. "md.MediumQualificationEnterpriseData": {
  2979. "type": "object",
  2980. "properties": {
  2981. "business_license_address": {
  2982. "type": "string",
  2983. "example": "营业执照地址"
  2984. },
  2985. "business_license_img_url": {
  2986. "type": "string",
  2987. "example": "营业执照照片"
  2988. },
  2989. "certificate_first_type": {
  2990. "type": "string",
  2991. "example": "证件类型 1级类目id"
  2992. },
  2993. "certificate_type": {
  2994. "type": "string",
  2995. "example": "证件类型 2级类目id"
  2996. },
  2997. "certificate_validity": {
  2998. "type": "string",
  2999. "example": "证件有效期"
  3000. },
  3001. "company_abbreviation": {
  3002. "type": "string",
  3003. "example": "公司简称"
  3004. },
  3005. "company_name": {
  3006. "type": "string",
  3007. "example": "公司名称"
  3008. },
  3009. "country_region": {
  3010. "type": "string",
  3011. "example": "国家地区"
  3012. },
  3013. "country_region_id": {
  3014. "type": "string",
  3015. "example": "国家地区id"
  3016. },
  3017. "id": {
  3018. "type": "string",
  3019. "example": "状态选择"
  3020. },
  3021. "kind": {
  3022. "type": "string",
  3023. "example": "类型(1:企业 2:个人)"
  3024. },
  3025. "legal_representative": {
  3026. "type": "string",
  3027. "example": "法定代表人"
  3028. },
  3029. "medium_id": {
  3030. "type": "string",
  3031. "example": "代理id"
  3032. },
  3033. "memo": {
  3034. "type": "string",
  3035. "example": "备注 审核时填写的"
  3036. },
  3037. "registered_address": {
  3038. "type": "string",
  3039. "example": "注册地址"
  3040. },
  3041. "registered_address_city_id": {
  3042. "type": "string",
  3043. "example": "注册地址-市id"
  3044. },
  3045. "registered_address_country_id": {
  3046. "type": "string",
  3047. "example": "注册地址-国家id"
  3048. },
  3049. "registered_address_county_id": {
  3050. "type": "string",
  3051. "example": "注册地址-县/区id"
  3052. },
  3053. "registered_address_province_id": {
  3054. "type": "string",
  3055. "example": "册地址-省份id"
  3056. },
  3057. "state": {
  3058. "type": "string",
  3059. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  3060. },
  3061. "unified_social_credit_code": {
  3062. "type": "string",
  3063. "example": "统一社会信用代码"
  3064. },
  3065. "uuid": {
  3066. "type": "string",
  3067. "example": "站长id"
  3068. }
  3069. }
  3070. },
  3071. "md.MediumQualificationEnterpriseReq": {
  3072. "type": "object",
  3073. "properties": {
  3074. "limit": {
  3075. "type": "string"
  3076. },
  3077. "name": {
  3078. "type": "string"
  3079. },
  3080. "page": {
  3081. "type": "string"
  3082. },
  3083. "state": {
  3084. "type": "string"
  3085. }
  3086. }
  3087. },
  3088. "md.MediumQualificationEnterpriseRes": {
  3089. "type": "object",
  3090. "properties": {
  3091. "list": {
  3092. "type": "array",
  3093. "items": {
  3094. "$ref": "#/definitions/md.MediumQualificationEnterpriseData"
  3095. }
  3096. },
  3097. "state": {
  3098. "type": "array",
  3099. "items": {
  3100. "$ref": "#/definitions/md.SelectData"
  3101. }
  3102. },
  3103. "total": {
  3104. "type": "integer"
  3105. },
  3106. "type": {
  3107. "type": "array",
  3108. "items": {
  3109. "$ref": "#/definitions/md.SelectData"
  3110. }
  3111. }
  3112. }
  3113. },
  3114. "md.QiNiuBucketRegion": {
  3115. "type": "object",
  3116. "properties": {
  3117. "region_domain": {
  3118. "type": "string",
  3119. "example": "区域域名"
  3120. },
  3121. "region_id": {
  3122. "type": "string",
  3123. "example": "区域id"
  3124. },
  3125. "region_name": {
  3126. "type": "string",
  3127. "example": "区域名称"
  3128. }
  3129. }
  3130. },
  3131. "md.RegisterForAgentReq": {
  3132. "type": "object",
  3133. "required": [
  3134. "password",
  3135. "phone"
  3136. ],
  3137. "properties": {
  3138. "code": {
  3139. "type": "string",
  3140. "example": "验证码"
  3141. },
  3142. "password": {
  3143. "type": "string",
  3144. "example": "登录密码"
  3145. },
  3146. "phone": {
  3147. "type": "string",
  3148. "example": "登录账号"
  3149. }
  3150. }
  3151. },
  3152. "md.RegisterForMediumReq": {
  3153. "type": "object",
  3154. "required": [
  3155. "password",
  3156. "phone"
  3157. ],
  3158. "properties": {
  3159. "code": {
  3160. "type": "string",
  3161. "example": "验证码"
  3162. },
  3163. "password": {
  3164. "type": "string",
  3165. "example": "登录密码"
  3166. },
  3167. "phone": {
  3168. "type": "string",
  3169. "example": "登录账号"
  3170. }
  3171. }
  3172. },
  3173. "md.Response": {
  3174. "type": "object",
  3175. "properties": {
  3176. "code": {
  3177. "type": "string",
  3178. "example": "响应码"
  3179. },
  3180. "data": {
  3181. "description": "内容"
  3182. },
  3183. "msg": {
  3184. "type": "string",
  3185. "example": "具体错误原因"
  3186. }
  3187. }
  3188. },
  3189. "md.RoleBindPermissionGroupReq": {
  3190. "type": "object",
  3191. "required": [
  3192. "role_id"
  3193. ],
  3194. "properties": {
  3195. "permission_ids": {
  3196. "type": "array",
  3197. "items": {
  3198. "type": "integer"
  3199. }
  3200. },
  3201. "role_id": {
  3202. "type": "integer"
  3203. }
  3204. }
  3205. },
  3206. "md.SelectData": {
  3207. "type": "object",
  3208. "properties": {
  3209. "name": {
  3210. "type": "string",
  3211. "example": "名称"
  3212. },
  3213. "value": {
  3214. "type": "string",
  3215. "example": "值"
  3216. }
  3217. }
  3218. },
  3219. "md.SetMobReq": {
  3220. "type": "object",
  3221. "properties": {
  3222. "mob_app_key": {
  3223. "type": "string"
  3224. },
  3225. "mob_app_secret": {
  3226. "type": "string"
  3227. }
  3228. }
  3229. },
  3230. "md.SetOssReq": {
  3231. "type": "object",
  3232. "required": [
  3233. "file_access_key",
  3234. "file_bucket",
  3235. "file_bucket_host",
  3236. "file_bucket_region",
  3237. "file_secret_key"
  3238. ],
  3239. "properties": {
  3240. "file_access_key": {
  3241. "type": "string",
  3242. "example": "对象存储AccessToken"
  3243. },
  3244. "file_bucket": {
  3245. "type": "string",
  3246. "example": "对象存储bucket(空间)"
  3247. },
  3248. "file_bucket_host": {
  3249. "type": "string",
  3250. "example": "对象存储域名"
  3251. },
  3252. "file_bucket_region": {
  3253. "type": "string",
  3254. "example": "文件所属区域"
  3255. },
  3256. "file_secret_key": {
  3257. "type": "string",
  3258. "example": "对象存储SecretToken"
  3259. }
  3260. }
  3261. },
  3262. "md.SetOssResp": {
  3263. "type": "object",
  3264. "properties": {
  3265. "data": {
  3266. "description": "数据内容",
  3267. "allOf": [
  3268. {
  3269. "$ref": "#/definitions/md.SetOssReq"
  3270. }
  3271. ]
  3272. },
  3273. "qi_niu_bucket_region_list": {
  3274. "description": "七牛云存储区域列表",
  3275. "type": "array",
  3276. "items": {
  3277. "$ref": "#/definitions/md.QiNiuBucketRegion"
  3278. }
  3279. }
  3280. }
  3281. },
  3282. "md.ShareIndexResp": {
  3283. "type": "object",
  3284. "properties": {
  3285. "agent_domain": {
  3286. "type": "string",
  3287. "example": "代理分享地址"
  3288. },
  3289. "master_id": {
  3290. "type": "string"
  3291. },
  3292. "medium_domain": {
  3293. "type": "string",
  3294. "example": "媒体分享地址"
  3295. }
  3296. }
  3297. },
  3298. "md.UpdateAdminReq": {
  3299. "type": "object",
  3300. "required": [
  3301. "adm_id",
  3302. "password",
  3303. "username"
  3304. ],
  3305. "properties": {
  3306. "adm_id": {
  3307. "type": "integer"
  3308. },
  3309. "memo": {
  3310. "type": "string"
  3311. },
  3312. "password": {
  3313. "type": "string"
  3314. },
  3315. "username": {
  3316. "type": "string"
  3317. }
  3318. }
  3319. },
  3320. "md.UpdateAdminStateReq": {
  3321. "type": "object",
  3322. "required": [
  3323. "adm_id",
  3324. "state"
  3325. ],
  3326. "properties": {
  3327. "adm_id": {
  3328. "type": "integer"
  3329. },
  3330. "state": {
  3331. "type": "integer"
  3332. }
  3333. }
  3334. },
  3335. "md.UpdateRoleReq": {
  3336. "type": "object",
  3337. "required": [
  3338. "memo",
  3339. "name",
  3340. "role_id"
  3341. ],
  3342. "properties": {
  3343. "memo": {
  3344. "type": "string"
  3345. },
  3346. "name": {
  3347. "type": "string"
  3348. },
  3349. "role_id": {
  3350. "type": "integer"
  3351. }
  3352. }
  3353. },
  3354. "md.UpdateRoleStateReq": {
  3355. "type": "object",
  3356. "required": [
  3357. "role_id",
  3358. "state"
  3359. ],
  3360. "properties": {
  3361. "role_id": {
  3362. "type": "integer"
  3363. },
  3364. "state": {
  3365. "type": "integer"
  3366. }
  3367. }
  3368. },
  3369. "md.WxOpenGetResp": {
  3370. "type": "object",
  3371. "properties": {
  3372. "aes_key": {
  3373. "type": "string",
  3374. "example": "消息加解密Key"
  3375. },
  3376. "app_secret": {
  3377. "type": "string",
  3378. "example": "appSecret"
  3379. },
  3380. "appid": {
  3381. "type": "string",
  3382. "example": "appid"
  3383. },
  3384. "token": {
  3385. "type": "string",
  3386. "example": "消息校验Token"
  3387. },
  3388. "wx_open_applet_server_domain": {
  3389. "type": "string",
  3390. "example": "微信开放平台-小程序服务器域名"
  3391. },
  3392. "wx_open_authorization_event_receiving_configuration": {
  3393. "type": "string",
  3394. "example": "微信开放平台-授权事件接收配置"
  3395. },
  3396. "wx_open_domain_of_the_initiating_page_for_login_authorization": {
  3397. "type": "string",
  3398. "example": "微信开放平台-登录授权的发起页域名"
  3399. },
  3400. "wx_open_message_and_event_reception_configuration": {
  3401. "type": "string",
  3402. "example": "微信开放平台-消息与事件接收配置"
  3403. },
  3404. "wx_open_white_list_ip": {
  3405. "type": "string",
  3406. "example": "微信开放平台-白名单ip"
  3407. }
  3408. }
  3409. },
  3410. "md.WxOpenSetReq": {
  3411. "type": "object",
  3412. "required": [
  3413. "aes_key",
  3414. "app_secret",
  3415. "appid",
  3416. "token"
  3417. ],
  3418. "properties": {
  3419. "aes_key": {
  3420. "type": "string",
  3421. "example": "消息加解密Key"
  3422. },
  3423. "app_secret": {
  3424. "type": "string",
  3425. "example": "appSecret"
  3426. },
  3427. "appid": {
  3428. "type": "string",
  3429. "example": "appid"
  3430. },
  3431. "token": {
  3432. "type": "string",
  3433. "example": "消息校验Token"
  3434. }
  3435. }
  3436. }
  3437. },
  3438. "securityDefinitions": {
  3439. "MasterID": {
  3440. "type": "apiKey",
  3441. "name": "MasterID",
  3442. "in": "header"
  3443. }
  3444. }
  3445. }`
  3446. // SwaggerInfo holds exported Swagger Info so clients can modify it
  3447. var SwaggerInfo = &swag.Spec{
  3448. Version: "1.0",
  3449. Host: "localhost:1002 or xxxx.advertisement.dengbiao.top",
  3450. BasePath: "",
  3451. Schemes: []string{},
  3452. Title: "广告联盟-站长平台",
  3453. Description: "站长后台接口",
  3454. InfoInstanceName: "swagger",
  3455. SwaggerTemplate: docTemplate,
  3456. }
  3457. func init() {
  3458. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  3459. }