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

3953 wiersze
131 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/mediumCenter/agent/bind/medium/list": {
  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.MediumListReq"
  375. }
  376. }
  377. ],
  378. "responses": {
  379. "200": {
  380. "description": "具体看返回内容 这是data里面的数据",
  381. "schema": {
  382. "$ref": "#/definitions/md.MediumListRes"
  383. }
  384. },
  385. "400": {
  386. "description": "具体错误",
  387. "schema": {
  388. "$ref": "#/definitions/md.Response"
  389. }
  390. }
  391. }
  392. }
  393. },
  394. "/api/mediumCenter/agent/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.AgentQualificationEnterpriseReq"
  422. }
  423. }
  424. ],
  425. "responses": {
  426. "200": {
  427. "description": "具体看返回内容 这是data里面的数据",
  428. "schema": {
  429. "$ref": "#/definitions/md.AgentQualificationEnterpriseRes"
  430. }
  431. },
  432. "400": {
  433. "description": "具体错误",
  434. "schema": {
  435. "$ref": "#/definitions/md.Response"
  436. }
  437. }
  438. }
  439. }
  440. },
  441. "/api/mediumCenter/applet/application/ad/space/audit": {
  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.AppletApplicationAdSpaceSaveReq"
  469. }
  470. }
  471. ],
  472. "responses": {
  473. "200": {
  474. "description": "具体看返回内容",
  475. "schema": {
  476. "type": "string"
  477. }
  478. },
  479. "400": {
  480. "description": "具体错误",
  481. "schema": {
  482. "$ref": "#/definitions/md.Response"
  483. }
  484. }
  485. }
  486. }
  487. },
  488. "/api/mediumCenter/applet/application/ad/space/list": {
  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.AppletApplicationAdSpaceMediumListReq"
  516. }
  517. }
  518. ],
  519. "responses": {
  520. "200": {
  521. "description": "具体看返回内容---这是data里面的数据",
  522. "schema": {
  523. "$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListRes"
  524. }
  525. },
  526. "400": {
  527. "description": "具体错误",
  528. "schema": {
  529. "$ref": "#/definitions/md.Response"
  530. }
  531. }
  532. }
  533. }
  534. },
  535. "/api/mediumCenter/applet/application/ad/space/save": {
  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.AppletApplicationAdSpaceListReq"
  563. }
  564. }
  565. ],
  566. "responses": {
  567. "200": {
  568. "description": "具体看返回内容---这是data里面的数据",
  569. "schema": {
  570. "$ref": "#/definitions/md.AppletApplicationAdSpaceListRes"
  571. }
  572. },
  573. "400": {
  574. "description": "具体错误",
  575. "schema": {
  576. "$ref": "#/definitions/md.Response"
  577. }
  578. }
  579. }
  580. }
  581. },
  582. "/api/mediumCenter/applet/application/audit": {
  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.AppletApplicationSaveReq"
  610. }
  611. }
  612. ],
  613. "responses": {
  614. "200": {
  615. "description": "具体看返回内容",
  616. "schema": {
  617. "type": "string"
  618. }
  619. },
  620. "400": {
  621. "description": "具体错误",
  622. "schema": {
  623. "$ref": "#/definitions/md.Response"
  624. }
  625. }
  626. }
  627. }
  628. },
  629. "/api/mediumCenter/applet/application/list": {
  630. "post": {
  631. "description": "小程序应用-列表数据",
  632. "consumes": [
  633. "application/json"
  634. ],
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "媒体中心------嘉俊"
  640. ],
  641. "summary": "应用列表",
  642. "parameters": [
  643. {
  644. "type": "string",
  645. "description": "验证参数Bearer和token空格拼接",
  646. "name": "Authorization",
  647. "in": "header",
  648. "required": true
  649. },
  650. {
  651. "description": "请求参数",
  652. "name": "args",
  653. "in": "body",
  654. "required": true,
  655. "schema": {
  656. "$ref": "#/definitions/md.AppletApplicationListReq"
  657. }
  658. }
  659. ],
  660. "responses": {
  661. "200": {
  662. "description": "具体看返回内容---这是data里面的数据",
  663. "schema": {
  664. "$ref": "#/definitions/md.AppletApplicationListRes"
  665. }
  666. },
  667. "400": {
  668. "description": "具体错误",
  669. "schema": {
  670. "$ref": "#/definitions/md.Response"
  671. }
  672. }
  673. }
  674. }
  675. },
  676. "/api/mediumCenter/applet/application/medium/list": {
  677. "post": {
  678. "description": "媒体中心-媒体列表",
  679. "consumes": [
  680. "application/json"
  681. ],
  682. "produces": [
  683. "application/json"
  684. ],
  685. "tags": [
  686. "媒体中心------嘉俊"
  687. ],
  688. "summary": "媒体列表",
  689. "parameters": [
  690. {
  691. "type": "string",
  692. "description": "验证参数Bearer和token空格拼接",
  693. "name": "Authorization",
  694. "in": "header",
  695. "required": true
  696. },
  697. {
  698. "description": "请求参数",
  699. "name": "args",
  700. "in": "body",
  701. "required": true,
  702. "schema": {
  703. "$ref": "#/definitions/md.AppletApplicationMediumListReq"
  704. }
  705. }
  706. ],
  707. "responses": {
  708. "200": {
  709. "description": "具体看返回内容---这是data里面的数据",
  710. "schema": {
  711. "$ref": "#/definitions/md.AppletApplicationMediumListRes"
  712. }
  713. },
  714. "400": {
  715. "description": "具体错误",
  716. "schema": {
  717. "$ref": "#/definitions/md.Response"
  718. }
  719. }
  720. }
  721. }
  722. },
  723. "/api/mediumCenter/medium/bind/agent/del": {
  724. "post": {
  725. "description": "媒体中心-媒体绑定代理删除",
  726. "consumes": [
  727. "application/json"
  728. ],
  729. "produces": [
  730. "application/json"
  731. ],
  732. "tags": [
  733. "媒体中心------嘉俊"
  734. ],
  735. "summary": "媒体绑定代理删除",
  736. "parameters": [
  737. {
  738. "type": "string",
  739. "description": "验证参数Bearer和token空格拼接",
  740. "name": "Authorization",
  741. "in": "header",
  742. "required": true
  743. },
  744. {
  745. "description": "请求参数",
  746. "name": "args",
  747. "in": "body",
  748. "required": true,
  749. "schema": {
  750. "$ref": "#/definitions/md.MediumListDelReq"
  751. }
  752. }
  753. ],
  754. "responses": {
  755. "200": {
  756. "description": "具体看返回内容 ",
  757. "schema": {
  758. "type": "string"
  759. }
  760. },
  761. "400": {
  762. "description": "具体错误",
  763. "schema": {
  764. "$ref": "#/definitions/md.Response"
  765. }
  766. }
  767. }
  768. }
  769. },
  770. "/api/mediumCenter/medium/bind/agent/list": {
  771. "post": {
  772. "description": "媒体中心-媒体绑定代理列表",
  773. "consumes": [
  774. "application/json"
  775. ],
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "媒体中心------嘉俊"
  781. ],
  782. "summary": "媒体绑定代理列表",
  783. "parameters": [
  784. {
  785. "type": "string",
  786. "description": "验证参数Bearer和token空格拼接",
  787. "name": "Authorization",
  788. "in": "header",
  789. "required": true
  790. },
  791. {
  792. "description": "请求参数",
  793. "name": "args",
  794. "in": "body",
  795. "required": true,
  796. "schema": {
  797. "$ref": "#/definitions/md.MediumListReq"
  798. }
  799. }
  800. ],
  801. "responses": {
  802. "200": {
  803. "description": "具体看返回内容 这是data里面的数据",
  804. "schema": {
  805. "$ref": "#/definitions/md.MediumListRes"
  806. }
  807. },
  808. "400": {
  809. "description": "具体错误",
  810. "schema": {
  811. "$ref": "#/definitions/md.Response"
  812. }
  813. }
  814. }
  815. }
  816. },
  817. "/api/mediumCenter/medium/bind/agent/save": {
  818. "post": {
  819. "description": "媒体中心-媒体绑定代理操作",
  820. "consumes": [
  821. "application/json"
  822. ],
  823. "produces": [
  824. "application/json"
  825. ],
  826. "tags": [
  827. "媒体中心------嘉俊"
  828. ],
  829. "summary": "媒体绑定代理操作",
  830. "parameters": [
  831. {
  832. "type": "string",
  833. "description": "验证参数Bearer和token空格拼接",
  834. "name": "Authorization",
  835. "in": "header",
  836. "required": true
  837. },
  838. {
  839. "description": "请求参数",
  840. "name": "args",
  841. "in": "body",
  842. "required": true,
  843. "schema": {
  844. "$ref": "#/definitions/md.MediumListSaveReq"
  845. }
  846. }
  847. ],
  848. "responses": {
  849. "200": {
  850. "description": "具体看返回内容 ",
  851. "schema": {
  852. "type": "string"
  853. }
  854. },
  855. "400": {
  856. "description": "具体错误",
  857. "schema": {
  858. "$ref": "#/definitions/md.Response"
  859. }
  860. }
  861. }
  862. }
  863. },
  864. "/api/mediumCenter/medium/list": {
  865. "post": {
  866. "description": "媒体中心-媒体列表",
  867. "consumes": [
  868. "application/json"
  869. ],
  870. "produces": [
  871. "application/json"
  872. ],
  873. "tags": [
  874. "媒体中心------嘉俊"
  875. ],
  876. "summary": "媒体列表",
  877. "parameters": [
  878. {
  879. "type": "string",
  880. "description": "验证参数Bearer和token空格拼接",
  881. "name": "Authorization",
  882. "in": "header",
  883. "required": true
  884. },
  885. {
  886. "description": "请求参数",
  887. "name": "args",
  888. "in": "body",
  889. "required": true,
  890. "schema": {
  891. "$ref": "#/definitions/md.MediumQualificationEnterpriseReq"
  892. }
  893. }
  894. ],
  895. "responses": {
  896. "200": {
  897. "description": "具体看返回内容 这是data里面的数据",
  898. "schema": {
  899. "$ref": "#/definitions/md.MediumQualificationEnterpriseRes"
  900. }
  901. },
  902. "400": {
  903. "description": "具体错误",
  904. "schema": {
  905. "$ref": "#/definitions/md.Response"
  906. }
  907. }
  908. }
  909. }
  910. },
  911. "/api/mediumQualification/bank": {
  912. "post": {
  913. "responses": {
  914. "400": {
  915. "description": "具体错误",
  916. "schema": {
  917. "$ref": "#/definitions/md.Response"
  918. }
  919. }
  920. }
  921. }
  922. },
  923. "/api/mediumQualification/bank/audit": {
  924. "post": {
  925. "description": "媒体资质-银行资质审核",
  926. "consumes": [
  927. "application/json"
  928. ],
  929. "produces": [
  930. "application/json"
  931. ],
  932. "tags": [
  933. "媒体资质------嘉俊"
  934. ],
  935. "summary": "银行资质审核",
  936. "parameters": [
  937. {
  938. "type": "string",
  939. "description": "验证参数Bearer和token空格拼接",
  940. "name": "Authorization",
  941. "in": "header",
  942. "required": true
  943. },
  944. {
  945. "description": "请求参数",
  946. "name": "args",
  947. "in": "body",
  948. "required": true,
  949. "schema": {
  950. "$ref": "#/definitions/md.MediumQualificationEnterpriseAuditReq"
  951. }
  952. }
  953. ],
  954. "responses": {
  955. "200": {
  956. "description": "具体看返回内容",
  957. "schema": {
  958. "type": "string"
  959. }
  960. },
  961. "400": {
  962. "description": "具体错误",
  963. "schema": {
  964. "$ref": "#/definitions/md.Response"
  965. }
  966. }
  967. }
  968. }
  969. },
  970. "/api/mediumQualification/contact": {
  971. "post": {
  972. "description": "媒体资质-联系方式",
  973. "consumes": [
  974. "application/json"
  975. ],
  976. "produces": [
  977. "application/json"
  978. ],
  979. "tags": [
  980. "媒体资质------嘉俊"
  981. ],
  982. "summary": "联系方式",
  983. "parameters": [
  984. {
  985. "type": "string",
  986. "description": "验证参数Bearer和token空格拼接",
  987. "name": "Authorization",
  988. "in": "header",
  989. "required": true
  990. },
  991. {
  992. "description": "请求参数",
  993. "name": "args",
  994. "in": "body",
  995. "required": true,
  996. "schema": {
  997. "$ref": "#/definitions/md.MediumQualificationEnterpriseReq"
  998. }
  999. }
  1000. ],
  1001. "responses": {
  1002. "200": {
  1003. "description": "具体看返回内容 这是data里面的数据",
  1004. "schema": {
  1005. "$ref": "#/definitions/md.MediumQualificationContactRes"
  1006. }
  1007. },
  1008. "400": {
  1009. "description": "具体错误",
  1010. "schema": {
  1011. "$ref": "#/definitions/md.Response"
  1012. }
  1013. }
  1014. }
  1015. }
  1016. },
  1017. "/api/mediumQualification/contact/audit": {
  1018. "post": {
  1019. "description": "媒体资质-联系方式审核",
  1020. "consumes": [
  1021. "application/json"
  1022. ],
  1023. "produces": [
  1024. "application/json"
  1025. ],
  1026. "tags": [
  1027. "媒体资质------嘉俊"
  1028. ],
  1029. "summary": "联系方式审核",
  1030. "parameters": [
  1031. {
  1032. "type": "string",
  1033. "description": "验证参数Bearer和token空格拼接",
  1034. "name": "Authorization",
  1035. "in": "header",
  1036. "required": true
  1037. },
  1038. {
  1039. "description": "请求参数",
  1040. "name": "args",
  1041. "in": "body",
  1042. "required": true,
  1043. "schema": {
  1044. "$ref": "#/definitions/md.MediumQualificationEnterpriseAuditReq"
  1045. }
  1046. }
  1047. ],
  1048. "responses": {
  1049. "200": {
  1050. "description": "具体看返回内容",
  1051. "schema": {
  1052. "type": "string"
  1053. }
  1054. },
  1055. "400": {
  1056. "description": "具体错误",
  1057. "schema": {
  1058. "$ref": "#/definitions/md.Response"
  1059. }
  1060. }
  1061. }
  1062. }
  1063. },
  1064. "/api/mediumQualification/enterprise": {
  1065. "post": {
  1066. "description": "媒体资质-主体资质",
  1067. "consumes": [
  1068. "application/json"
  1069. ],
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "媒体资质------嘉俊"
  1075. ],
  1076. "summary": "主体资质",
  1077. "parameters": [
  1078. {
  1079. "type": "string",
  1080. "description": "验证参数Bearer和token空格拼接",
  1081. "name": "Authorization",
  1082. "in": "header",
  1083. "required": true
  1084. },
  1085. {
  1086. "description": "请求参数",
  1087. "name": "args",
  1088. "in": "body",
  1089. "required": true,
  1090. "schema": {
  1091. "$ref": "#/definitions/md.MediumQualificationEnterpriseReq"
  1092. }
  1093. }
  1094. ],
  1095. "responses": {
  1096. "200": {
  1097. "description": "具体看返回内容 这是data里面的数据",
  1098. "schema": {
  1099. "$ref": "#/definitions/md.MediumQualificationEnterpriseRes"
  1100. }
  1101. },
  1102. "400": {
  1103. "description": "具体错误",
  1104. "schema": {
  1105. "$ref": "#/definitions/md.Response"
  1106. }
  1107. }
  1108. }
  1109. }
  1110. },
  1111. "/api/mediumQualification/enterprise/audit": {
  1112. "post": {
  1113. "description": "媒体资质-主体资质审核",
  1114. "consumes": [
  1115. "application/json"
  1116. ],
  1117. "produces": [
  1118. "application/json"
  1119. ],
  1120. "tags": [
  1121. "媒体资质------嘉俊"
  1122. ],
  1123. "summary": "主体资质审核",
  1124. "parameters": [
  1125. {
  1126. "type": "string",
  1127. "description": "验证参数Bearer和token空格拼接",
  1128. "name": "Authorization",
  1129. "in": "header",
  1130. "required": true
  1131. },
  1132. {
  1133. "description": "请求参数",
  1134. "name": "args",
  1135. "in": "body",
  1136. "required": true,
  1137. "schema": {
  1138. "$ref": "#/definitions/md.MediumQualificationEnterpriseAuditReq"
  1139. }
  1140. }
  1141. ],
  1142. "responses": {
  1143. "200": {
  1144. "description": "具体看返回内容",
  1145. "schema": {
  1146. "type": "string"
  1147. }
  1148. },
  1149. "400": {
  1150. "description": "具体错误",
  1151. "schema": {
  1152. "$ref": "#/definitions/md.Response"
  1153. }
  1154. }
  1155. }
  1156. }
  1157. },
  1158. "/api/registerForAgent": {
  1159. "post": {
  1160. "description": "注册模块-渠道代理注册",
  1161. "consumes": [
  1162. "application/json"
  1163. ],
  1164. "produces": [
  1165. "application/json"
  1166. ],
  1167. "tags": [
  1168. "注册模块"
  1169. ],
  1170. "summary": "渠道代理注册",
  1171. "parameters": [
  1172. {
  1173. "description": "用户名密码",
  1174. "name": "req",
  1175. "in": "body",
  1176. "required": true,
  1177. "schema": {
  1178. "$ref": "#/definitions/md.RegisterForAgentReq"
  1179. }
  1180. }
  1181. ],
  1182. "responses": {
  1183. "200": {
  1184. "description": "success",
  1185. "schema": {
  1186. "type": "string"
  1187. }
  1188. },
  1189. "400": {
  1190. "description": "具体错误",
  1191. "schema": {
  1192. "$ref": "#/definitions/md.Response"
  1193. }
  1194. }
  1195. }
  1196. }
  1197. },
  1198. "/api/registerForMedium": {
  1199. "post": {
  1200. "description": "注册模块-媒体注册",
  1201. "consumes": [
  1202. "application/json"
  1203. ],
  1204. "produces": [
  1205. "application/json"
  1206. ],
  1207. "tags": [
  1208. "注册模块"
  1209. ],
  1210. "summary": "媒体注册",
  1211. "parameters": [
  1212. {
  1213. "description": "用户名密码",
  1214. "name": "req",
  1215. "in": "body",
  1216. "required": true,
  1217. "schema": {
  1218. "$ref": "#/definitions/md.RegisterForMediumReq"
  1219. }
  1220. }
  1221. ],
  1222. "responses": {
  1223. "200": {
  1224. "description": "success",
  1225. "schema": {
  1226. "type": "string"
  1227. }
  1228. },
  1229. "400": {
  1230. "description": "具体错误",
  1231. "schema": {
  1232. "$ref": "#/definitions/md.Response"
  1233. }
  1234. }
  1235. }
  1236. }
  1237. },
  1238. "/api/role/addAdmin": {
  1239. "post": {
  1240. "description": "权限管理-新增管理员",
  1241. "consumes": [
  1242. "application/json"
  1243. ],
  1244. "produces": [
  1245. "application/json"
  1246. ],
  1247. "tags": [
  1248. "权限管理"
  1249. ],
  1250. "summary": "新增管理员",
  1251. "parameters": [
  1252. {
  1253. "type": "string",
  1254. "description": "验证参数Bearer和token空格拼接",
  1255. "name": "Authorization",
  1256. "in": "header",
  1257. "required": true
  1258. },
  1259. {
  1260. "description": "请求参数",
  1261. "name": "args",
  1262. "in": "body",
  1263. "required": true,
  1264. "schema": {
  1265. "$ref": "#/definitions/md.AddAdminReq"
  1266. }
  1267. }
  1268. ],
  1269. "responses": {
  1270. "200": {
  1271. "description": "success",
  1272. "schema": {
  1273. "type": "string"
  1274. }
  1275. },
  1276. "400": {
  1277. "description": "具体错误",
  1278. "schema": {
  1279. "$ref": "#/definitions/md.Response"
  1280. }
  1281. }
  1282. }
  1283. }
  1284. },
  1285. "/api/role/addRole": {
  1286. "post": {
  1287. "description": "权限管理-添加角色",
  1288. "consumes": [
  1289. "application/json"
  1290. ],
  1291. "produces": [
  1292. "application/json"
  1293. ],
  1294. "tags": [
  1295. "权限管理"
  1296. ],
  1297. "summary": "添加角色",
  1298. "parameters": [
  1299. {
  1300. "type": "string",
  1301. "description": "验证参数Bearer和token空格拼接",
  1302. "name": "Authorization",
  1303. "in": "header",
  1304. "required": true
  1305. },
  1306. {
  1307. "description": "请求参数",
  1308. "name": "args",
  1309. "in": "body",
  1310. "required": true,
  1311. "schema": {
  1312. "$ref": "#/definitions/md.AddRoleReq"
  1313. }
  1314. }
  1315. ],
  1316. "responses": {
  1317. "200": {
  1318. "description": "success",
  1319. "schema": {
  1320. "type": "string"
  1321. }
  1322. },
  1323. "400": {
  1324. "description": "具体错误",
  1325. "schema": {
  1326. "$ref": "#/definitions/md.Response"
  1327. }
  1328. }
  1329. }
  1330. }
  1331. },
  1332. "/api/role/adminInfo": {
  1333. "get": {
  1334. "description": "权限管理-管理员信息",
  1335. "consumes": [
  1336. "application/json"
  1337. ],
  1338. "produces": [
  1339. "application/json"
  1340. ],
  1341. "tags": [
  1342. "权限管理"
  1343. ],
  1344. "summary": "管理员信息",
  1345. "parameters": [
  1346. {
  1347. "type": "string",
  1348. "description": "验证参数Bearer和token空格拼接",
  1349. "name": "Authorization",
  1350. "in": "header",
  1351. "required": true
  1352. },
  1353. {
  1354. "type": "string",
  1355. "description": "管理员id",
  1356. "name": "adm_id",
  1357. "in": "query",
  1358. "required": true
  1359. }
  1360. ],
  1361. "responses": {
  1362. "200": {
  1363. "description": "具体看返回内容",
  1364. "schema": {
  1365. "type": "string"
  1366. }
  1367. },
  1368. "400": {
  1369. "description": "具体错误",
  1370. "schema": {
  1371. "$ref": "#/definitions/md.Response"
  1372. }
  1373. }
  1374. }
  1375. }
  1376. },
  1377. "/api/role/adminList": {
  1378. "post": {
  1379. "description": "权限管理-管理员列表",
  1380. "consumes": [
  1381. "application/json"
  1382. ],
  1383. "produces": [
  1384. "application/json"
  1385. ],
  1386. "tags": [
  1387. "权限管理"
  1388. ],
  1389. "summary": "管理员列表",
  1390. "parameters": [
  1391. {
  1392. "type": "string",
  1393. "description": "验证参数Bearer和token空格拼接",
  1394. "name": "Authorization",
  1395. "in": "header",
  1396. "required": true
  1397. },
  1398. {
  1399. "description": "请求参数",
  1400. "name": "args",
  1401. "in": "body",
  1402. "required": true,
  1403. "schema": {
  1404. "$ref": "#/definitions/md.AdminListReq"
  1405. }
  1406. }
  1407. ],
  1408. "responses": {
  1409. "200": {
  1410. "description": "具体看返回内容",
  1411. "schema": {
  1412. "type": "string"
  1413. }
  1414. },
  1415. "400": {
  1416. "description": "具体错误",
  1417. "schema": {
  1418. "$ref": "#/definitions/md.Response"
  1419. }
  1420. }
  1421. }
  1422. }
  1423. },
  1424. "/api/role/bindAdminRole/": {
  1425. "post": {
  1426. "description": "权限管理-管理员绑定角色",
  1427. "consumes": [
  1428. "application/json"
  1429. ],
  1430. "produces": [
  1431. "application/json"
  1432. ],
  1433. "tags": [
  1434. "权限管理"
  1435. ],
  1436. "summary": "管理员绑定角色",
  1437. "parameters": [
  1438. {
  1439. "type": "string",
  1440. "description": "验证参数Bearer和token空格拼接",
  1441. "name": "Authorization",
  1442. "in": "header",
  1443. "required": true
  1444. },
  1445. {
  1446. "description": "请求参数",
  1447. "name": "args",
  1448. "in": "body",
  1449. "required": true,
  1450. "schema": {
  1451. "$ref": "#/definitions/md.BindAdminRoleReq"
  1452. }
  1453. }
  1454. ],
  1455. "responses": {
  1456. "200": {
  1457. "description": "success",
  1458. "schema": {
  1459. "type": "string"
  1460. }
  1461. },
  1462. "400": {
  1463. "description": "具体错误",
  1464. "schema": {
  1465. "$ref": "#/definitions/md.Response"
  1466. }
  1467. }
  1468. }
  1469. }
  1470. },
  1471. "/api/role/deleteAdmin/{$adm_id}": {
  1472. "delete": {
  1473. "description": "权限管理-删除管理员",
  1474. "consumes": [
  1475. "application/json"
  1476. ],
  1477. "produces": [
  1478. "application/json"
  1479. ],
  1480. "tags": [
  1481. "权限管理"
  1482. ],
  1483. "summary": "删除管理员",
  1484. "parameters": [
  1485. {
  1486. "type": "string",
  1487. "description": "验证参数Bearer和token空格拼接",
  1488. "name": "Authorization",
  1489. "in": "header",
  1490. "required": true
  1491. }
  1492. ],
  1493. "responses": {
  1494. "200": {
  1495. "description": "success",
  1496. "schema": {
  1497. "type": "string"
  1498. }
  1499. },
  1500. "400": {
  1501. "description": "具体错误",
  1502. "schema": {
  1503. "$ref": "#/definitions/md.Response"
  1504. }
  1505. }
  1506. }
  1507. }
  1508. },
  1509. "/api/role/deleteRole/{$id}": {
  1510. "delete": {
  1511. "description": "权限管理-删除角色",
  1512. "consumes": [
  1513. "application/json"
  1514. ],
  1515. "produces": [
  1516. "application/json"
  1517. ],
  1518. "tags": [
  1519. "权限管理"
  1520. ],
  1521. "summary": "删除角色",
  1522. "parameters": [
  1523. {
  1524. "type": "string",
  1525. "description": "验证参数Bearer和token空格拼接",
  1526. "name": "Authorization",
  1527. "in": "header",
  1528. "required": true
  1529. },
  1530. {
  1531. "description": "请求参数",
  1532. "name": "args",
  1533. "in": "body",
  1534. "required": true,
  1535. "schema": {
  1536. "$ref": "#/definitions/md.UpdateRoleStateReq"
  1537. }
  1538. }
  1539. ],
  1540. "responses": {
  1541. "200": {
  1542. "description": "success",
  1543. "schema": {
  1544. "type": "string"
  1545. }
  1546. },
  1547. "400": {
  1548. "description": "具体错误",
  1549. "schema": {
  1550. "$ref": "#/definitions/md.Response"
  1551. }
  1552. }
  1553. }
  1554. }
  1555. },
  1556. "/api/role/roleBindPermissionGroup": {
  1557. "post": {
  1558. "description": "权限管理-角色绑定权限组",
  1559. "consumes": [
  1560. "application/json"
  1561. ],
  1562. "produces": [
  1563. "application/json"
  1564. ],
  1565. "tags": [
  1566. "权限管理"
  1567. ],
  1568. "summary": "角色绑定权限组",
  1569. "parameters": [
  1570. {
  1571. "type": "string",
  1572. "description": "验证参数Bearer和token空格拼接",
  1573. "name": "Authorization",
  1574. "in": "header",
  1575. "required": true
  1576. },
  1577. {
  1578. "description": "请求参数",
  1579. "name": "args",
  1580. "in": "body",
  1581. "required": true,
  1582. "schema": {
  1583. "$ref": "#/definitions/md.RoleBindPermissionGroupReq"
  1584. }
  1585. }
  1586. ],
  1587. "responses": {
  1588. "200": {
  1589. "description": "success",
  1590. "schema": {
  1591. "type": "string"
  1592. }
  1593. },
  1594. "400": {
  1595. "description": "具体错误",
  1596. "schema": {
  1597. "$ref": "#/definitions/md.Response"
  1598. }
  1599. }
  1600. }
  1601. }
  1602. },
  1603. "/api/role/roleList": {
  1604. "get": {
  1605. "description": "权限管理-角色列表",
  1606. "consumes": [
  1607. "application/json"
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "权限管理"
  1614. ],
  1615. "summary": "角色列表",
  1616. "parameters": [
  1617. {
  1618. "type": "string",
  1619. "description": "验证参数Bearer和token空格拼接",
  1620. "name": "Authorization",
  1621. "in": "header",
  1622. "required": true
  1623. }
  1624. ],
  1625. "responses": {
  1626. "200": {
  1627. "description": "具体看返回内容",
  1628. "schema": {
  1629. "type": "string"
  1630. }
  1631. },
  1632. "400": {
  1633. "description": "具体错误",
  1634. "schema": {
  1635. "$ref": "#/definitions/md.Response"
  1636. }
  1637. }
  1638. }
  1639. }
  1640. },
  1641. "/api/role/updateAdmin": {
  1642. "post": {
  1643. "description": "权限管理-修改管理员信息",
  1644. "consumes": [
  1645. "application/json"
  1646. ],
  1647. "produces": [
  1648. "application/json"
  1649. ],
  1650. "tags": [
  1651. "权限管理"
  1652. ],
  1653. "summary": "修改管理员信息",
  1654. "parameters": [
  1655. {
  1656. "type": "string",
  1657. "description": "验证参数Bearer和token空格拼接",
  1658. "name": "Authorization",
  1659. "in": "header",
  1660. "required": true
  1661. },
  1662. {
  1663. "description": "请求参数",
  1664. "name": "args",
  1665. "in": "body",
  1666. "required": true,
  1667. "schema": {
  1668. "$ref": "#/definitions/md.UpdateAdminReq"
  1669. }
  1670. }
  1671. ],
  1672. "responses": {
  1673. "200": {
  1674. "description": "success",
  1675. "schema": {
  1676. "type": "string"
  1677. }
  1678. },
  1679. "400": {
  1680. "description": "具体错误",
  1681. "schema": {
  1682. "$ref": "#/definitions/md.Response"
  1683. }
  1684. }
  1685. }
  1686. }
  1687. },
  1688. "/api/role/updateAdminState": {
  1689. "post": {
  1690. "description": "权限管理-修改管理员状态",
  1691. "consumes": [
  1692. "application/json"
  1693. ],
  1694. "produces": [
  1695. "application/json"
  1696. ],
  1697. "tags": [
  1698. "权限管理"
  1699. ],
  1700. "summary": "修改管理员状态",
  1701. "parameters": [
  1702. {
  1703. "type": "string",
  1704. "description": "验证参数Bearer和token空格拼接",
  1705. "name": "Authorization",
  1706. "in": "header",
  1707. "required": true
  1708. },
  1709. {
  1710. "description": "请求参数",
  1711. "name": "args",
  1712. "in": "body",
  1713. "required": true,
  1714. "schema": {
  1715. "$ref": "#/definitions/md.UpdateAdminStateReq"
  1716. }
  1717. }
  1718. ],
  1719. "responses": {
  1720. "200": {
  1721. "description": "success",
  1722. "schema": {
  1723. "type": "string"
  1724. }
  1725. },
  1726. "400": {
  1727. "description": "具体错误",
  1728. "schema": {
  1729. "$ref": "#/definitions/md.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/api/role/updateRole": {
  1736. "post": {
  1737. "description": "权限管理-修改角色",
  1738. "consumes": [
  1739. "application/json"
  1740. ],
  1741. "produces": [
  1742. "application/json"
  1743. ],
  1744. "tags": [
  1745. "权限管理"
  1746. ],
  1747. "summary": "修改角色",
  1748. "parameters": [
  1749. {
  1750. "type": "string",
  1751. "description": "验证参数Bearer和token空格拼接",
  1752. "name": "Authorization",
  1753. "in": "header",
  1754. "required": true
  1755. },
  1756. {
  1757. "description": "请求参数",
  1758. "name": "args",
  1759. "in": "body",
  1760. "required": true,
  1761. "schema": {
  1762. "$ref": "#/definitions/md.UpdateRoleReq"
  1763. }
  1764. }
  1765. ],
  1766. "responses": {
  1767. "200": {
  1768. "description": "success",
  1769. "schema": {
  1770. "type": "string"
  1771. }
  1772. },
  1773. "400": {
  1774. "description": "具体错误",
  1775. "schema": {
  1776. "$ref": "#/definitions/md.Response"
  1777. }
  1778. }
  1779. }
  1780. }
  1781. },
  1782. "/api/role/updateRoleState": {
  1783. "post": {
  1784. "description": "权限管理-修改角色状态",
  1785. "consumes": [
  1786. "application/json"
  1787. ],
  1788. "produces": [
  1789. "application/json"
  1790. ],
  1791. "tags": [
  1792. "权限管理"
  1793. ],
  1794. "summary": "修改角色状态",
  1795. "parameters": [
  1796. {
  1797. "type": "string",
  1798. "description": "验证参数Bearer和token空格拼接",
  1799. "name": "Authorization",
  1800. "in": "header",
  1801. "required": true
  1802. },
  1803. {
  1804. "description": "请求参数",
  1805. "name": "args",
  1806. "in": "body",
  1807. "required": true,
  1808. "schema": {
  1809. "$ref": "#/definitions/md.UpdateRoleStateReq"
  1810. }
  1811. }
  1812. ],
  1813. "responses": {
  1814. "200": {
  1815. "description": "success",
  1816. "schema": {
  1817. "type": "string"
  1818. }
  1819. },
  1820. "400": {
  1821. "description": "具体错误",
  1822. "schema": {
  1823. "$ref": "#/definitions/md.Response"
  1824. }
  1825. }
  1826. }
  1827. }
  1828. },
  1829. "/api/setCenter/applet/add": {
  1830. "post": {
  1831. "description": "小程序设置-新增",
  1832. "consumes": [
  1833. "application/json"
  1834. ],
  1835. "produces": [
  1836. "application/json"
  1837. ],
  1838. "tags": [
  1839. "设置中心-小程序设置"
  1840. ],
  1841. "summary": "新增",
  1842. "parameters": [
  1843. {
  1844. "type": "string",
  1845. "description": "验证参数Bearer和token空格拼接",
  1846. "name": "Authorization",
  1847. "in": "header",
  1848. "required": true
  1849. },
  1850. {
  1851. "description": "请求参数",
  1852. "name": "args",
  1853. "in": "body",
  1854. "required": true,
  1855. "schema": {
  1856. "$ref": "#/definitions/md.AppletAddReq"
  1857. }
  1858. }
  1859. ],
  1860. "responses": {
  1861. "200": {
  1862. "description": "success",
  1863. "schema": {
  1864. "type": "string"
  1865. }
  1866. },
  1867. "400": {
  1868. "description": "具体错误",
  1869. "schema": {
  1870. "$ref": "#/definitions/md.Response"
  1871. }
  1872. }
  1873. }
  1874. }
  1875. },
  1876. "/api/setCenter/applet/authorize": {
  1877. "get": {
  1878. "description": "设置中心-基础设置",
  1879. "consumes": [
  1880. "application/json"
  1881. ],
  1882. "produces": [
  1883. "application/json"
  1884. ],
  1885. "tags": [
  1886. "设置中心"
  1887. ],
  1888. "summary": "设置中心-基础设置-微信三方应用获取",
  1889. "parameters": [
  1890. {
  1891. "type": "string",
  1892. "description": "验证参数Bearer和token空格拼接",
  1893. "name": "Authorization",
  1894. "in": "header",
  1895. "required": true
  1896. }
  1897. ],
  1898. "responses": {
  1899. "200": {
  1900. "description": "微信授权界面url",
  1901. "schema": {
  1902. "type": "string"
  1903. }
  1904. },
  1905. "400": {
  1906. "description": "具体错误",
  1907. "schema": {
  1908. "$ref": "#/definitions/md.Response"
  1909. }
  1910. }
  1911. }
  1912. }
  1913. },
  1914. "/api/setCenter/applet/list": {
  1915. "get": {
  1916. "description": "小程序设置-列表",
  1917. "consumes": [
  1918. "application/json"
  1919. ],
  1920. "produces": [
  1921. "application/json"
  1922. ],
  1923. "tags": [
  1924. "设置中心-小程序设置"
  1925. ],
  1926. "summary": "列表",
  1927. "parameters": [
  1928. {
  1929. "type": "string",
  1930. "description": "验证参数Bearer和token空格拼接",
  1931. "name": "Authorization",
  1932. "in": "header",
  1933. "required": true
  1934. }
  1935. ],
  1936. "responses": {
  1937. "200": {
  1938. "description": "OK",
  1939. "schema": {
  1940. "$ref": "#/definitions/hdl.WxOpenThirdPartyAppList"
  1941. }
  1942. },
  1943. "400": {
  1944. "description": "具体错误",
  1945. "schema": {
  1946. "$ref": "#/definitions/md.Response"
  1947. }
  1948. }
  1949. }
  1950. }
  1951. },
  1952. "/api/setCenter/applet/unauthorized": {
  1953. "get": {
  1954. "description": "设置中心-基础设置",
  1955. "consumes": [
  1956. "application/json"
  1957. ],
  1958. "produces": [
  1959. "application/json"
  1960. ],
  1961. "tags": [
  1962. "设置中心"
  1963. ],
  1964. "summary": "设置中心-基础设置-微信三方应用获取",
  1965. "parameters": [
  1966. {
  1967. "type": "string",
  1968. "description": "验证参数Bearer和token空格拼接",
  1969. "name": "Authorization",
  1970. "in": "header",
  1971. "required": true
  1972. }
  1973. ],
  1974. "responses": {
  1975. "200": {
  1976. "description": "success",
  1977. "schema": {
  1978. "type": "string"
  1979. }
  1980. },
  1981. "400": {
  1982. "description": "具体错误",
  1983. "schema": {
  1984. "$ref": "#/definitions/md.Response"
  1985. }
  1986. }
  1987. }
  1988. }
  1989. },
  1990. "/api/setCenter/applet/update": {
  1991. "post": {
  1992. "description": "小程序设置-更新",
  1993. "consumes": [
  1994. "application/json"
  1995. ],
  1996. "produces": [
  1997. "application/json"
  1998. ],
  1999. "tags": [
  2000. "设置中心-小程序设置"
  2001. ],
  2002. "summary": "更新",
  2003. "parameters": [
  2004. {
  2005. "type": "string",
  2006. "description": "验证参数Bearer和token空格拼接",
  2007. "name": "Authorization",
  2008. "in": "header",
  2009. "required": true
  2010. },
  2011. {
  2012. "description": "请求参数",
  2013. "name": "args",
  2014. "in": "body",
  2015. "required": true,
  2016. "schema": {
  2017. "$ref": "#/definitions/md.AppletUpdateReq"
  2018. }
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "success",
  2024. "schema": {
  2025. "type": "string"
  2026. }
  2027. },
  2028. "400": {
  2029. "description": "具体错误",
  2030. "schema": {
  2031. "$ref": "#/definitions/md.Response"
  2032. }
  2033. }
  2034. }
  2035. }
  2036. },
  2037. "/api/setCenter/basic/getMob": {
  2038. "get": {
  2039. "description": "基础设置-mob获取",
  2040. "consumes": [
  2041. "application/json"
  2042. ],
  2043. "produces": [
  2044. "application/json"
  2045. ],
  2046. "tags": [
  2047. "设置中心-基础设置"
  2048. ],
  2049. "summary": "mob获取",
  2050. "parameters": [
  2051. {
  2052. "type": "string",
  2053. "description": "验证参数Bearer和token空格拼接",
  2054. "name": "Authorization",
  2055. "in": "header",
  2056. "required": true
  2057. }
  2058. ],
  2059. "responses": {
  2060. "200": {
  2061. "description": "OK",
  2062. "schema": {
  2063. "$ref": "#/definitions/md.SetOssResp"
  2064. }
  2065. },
  2066. "400": {
  2067. "description": "具体错误",
  2068. "schema": {
  2069. "$ref": "#/definitions/md.Response"
  2070. }
  2071. }
  2072. }
  2073. }
  2074. },
  2075. "/api/setCenter/basic/getOss": {
  2076. "get": {
  2077. "description": "基础设置-oss获取",
  2078. "consumes": [
  2079. "application/json"
  2080. ],
  2081. "produces": [
  2082. "application/json"
  2083. ],
  2084. "tags": [
  2085. "设置中心-基础设置"
  2086. ],
  2087. "summary": "oss获取",
  2088. "parameters": [
  2089. {
  2090. "type": "string",
  2091. "description": "验证参数Bearer和token空格拼接",
  2092. "name": "Authorization",
  2093. "in": "header",
  2094. "required": true
  2095. }
  2096. ],
  2097. "responses": {
  2098. "200": {
  2099. "description": "OK",
  2100. "schema": {
  2101. "$ref": "#/definitions/md.SetOssResp"
  2102. }
  2103. },
  2104. "400": {
  2105. "description": "具体错误",
  2106. "schema": {
  2107. "$ref": "#/definitions/md.Response"
  2108. }
  2109. }
  2110. }
  2111. }
  2112. },
  2113. "/api/setCenter/basic/setMob": {
  2114. "post": {
  2115. "description": "基础设置-mob设置",
  2116. "consumes": [
  2117. "application/json"
  2118. ],
  2119. "produces": [
  2120. "application/json"
  2121. ],
  2122. "tags": [
  2123. "设置中心-基础设置"
  2124. ],
  2125. "summary": "mob设置",
  2126. "parameters": [
  2127. {
  2128. "type": "string",
  2129. "description": "验证参数Bearer和token空格拼接",
  2130. "name": "Authorization",
  2131. "in": "header",
  2132. "required": true
  2133. },
  2134. {
  2135. "description": "请求参数",
  2136. "name": "args",
  2137. "in": "body",
  2138. "required": true,
  2139. "schema": {
  2140. "$ref": "#/definitions/md.SetMobReq"
  2141. }
  2142. }
  2143. ],
  2144. "responses": {
  2145. "200": {
  2146. "description": "success",
  2147. "schema": {
  2148. "type": "string"
  2149. }
  2150. },
  2151. "400": {
  2152. "description": "具体错误",
  2153. "schema": {
  2154. "$ref": "#/definitions/md.Response"
  2155. }
  2156. }
  2157. }
  2158. }
  2159. },
  2160. "/api/setCenter/basic/setOss": {
  2161. "post": {
  2162. "description": "基础设置-oss设置",
  2163. "consumes": [
  2164. "application/json"
  2165. ],
  2166. "produces": [
  2167. "application/json"
  2168. ],
  2169. "tags": [
  2170. "设置中心-基础设置"
  2171. ],
  2172. "summary": "oss设置",
  2173. "parameters": [
  2174. {
  2175. "type": "string",
  2176. "description": "验证参数Bearer和token空格拼接",
  2177. "name": "Authorization",
  2178. "in": "header",
  2179. "required": true
  2180. },
  2181. {
  2182. "description": "请求参数",
  2183. "name": "args",
  2184. "in": "body",
  2185. "required": true,
  2186. "schema": {
  2187. "$ref": "#/definitions/md.SetOssReq"
  2188. }
  2189. }
  2190. ],
  2191. "responses": {
  2192. "200": {
  2193. "description": "success",
  2194. "schema": {
  2195. "type": "string"
  2196. }
  2197. },
  2198. "400": {
  2199. "description": "具体错误",
  2200. "schema": {
  2201. "$ref": "#/definitions/md.Response"
  2202. }
  2203. }
  2204. }
  2205. }
  2206. },
  2207. "/api/setCenter/basic/wxOpenGet": {
  2208. "get": {
  2209. "description": "基础设置-微信三方应用获取",
  2210. "consumes": [
  2211. "application/json"
  2212. ],
  2213. "produces": [
  2214. "application/json"
  2215. ],
  2216. "tags": [
  2217. "设置中心-基础设置"
  2218. ],
  2219. "summary": "微信三方应用获取",
  2220. "parameters": [
  2221. {
  2222. "type": "string",
  2223. "description": "验证参数Bearer和token空格拼接",
  2224. "name": "Authorization",
  2225. "in": "header",
  2226. "required": true
  2227. }
  2228. ],
  2229. "responses": {
  2230. "200": {
  2231. "description": "OK",
  2232. "schema": {
  2233. "$ref": "#/definitions/md.WxOpenGetResp"
  2234. }
  2235. },
  2236. "400": {
  2237. "description": "具体错误",
  2238. "schema": {
  2239. "$ref": "#/definitions/md.Response"
  2240. }
  2241. }
  2242. }
  2243. }
  2244. },
  2245. "/api/setCenter/basic/wxOpenSet": {
  2246. "post": {
  2247. "description": "基础设置-微信三方应用设置",
  2248. "consumes": [
  2249. "application/json"
  2250. ],
  2251. "produces": [
  2252. "application/json"
  2253. ],
  2254. "tags": [
  2255. "设置中心-基础设置"
  2256. ],
  2257. "summary": "微信三方应用设置",
  2258. "parameters": [
  2259. {
  2260. "type": "string",
  2261. "description": "验证参数Bearer和token空格拼接",
  2262. "name": "Authorization",
  2263. "in": "header",
  2264. "required": true
  2265. },
  2266. {
  2267. "description": "请求参数",
  2268. "name": "args",
  2269. "in": "body",
  2270. "required": true,
  2271. "schema": {
  2272. "$ref": "#/definitions/md.WxOpenSetReq"
  2273. }
  2274. }
  2275. ],
  2276. "responses": {
  2277. "200": {
  2278. "description": "success",
  2279. "schema": {
  2280. "type": "string"
  2281. }
  2282. },
  2283. "400": {
  2284. "description": "具体错误",
  2285. "schema": {
  2286. "$ref": "#/definitions/md.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/api/setCenter/share/index": {
  2293. "get": {
  2294. "description": "邀请链接界面接口",
  2295. "consumes": [
  2296. "application/json"
  2297. ],
  2298. "produces": [
  2299. "application/json"
  2300. ],
  2301. "tags": [
  2302. "设置中心-邀请链接"
  2303. ],
  2304. "summary": "邀请链接",
  2305. "parameters": [
  2306. {
  2307. "type": "string",
  2308. "description": "验证参数Bearer和token空格拼接",
  2309. "name": "Authorization",
  2310. "in": "header",
  2311. "required": true
  2312. }
  2313. ],
  2314. "responses": {
  2315. "200": {
  2316. "description": "OK",
  2317. "schema": {
  2318. "$ref": "#/definitions/md.ShareIndexResp"
  2319. }
  2320. },
  2321. "400": {
  2322. "description": "具体错误",
  2323. "schema": {
  2324. "$ref": "#/definitions/md.Response"
  2325. }
  2326. }
  2327. }
  2328. }
  2329. },
  2330. "/role/permissionGroupList": {
  2331. "get": {
  2332. "description": "权限管理-权限组列表",
  2333. "consumes": [
  2334. "application/json"
  2335. ],
  2336. "produces": [
  2337. "application/json"
  2338. ],
  2339. "tags": [
  2340. "权限管理"
  2341. ],
  2342. "summary": "权限组列表",
  2343. "parameters": [
  2344. {
  2345. "type": "string",
  2346. "description": "验证参数Bearer和token空格拼接",
  2347. "name": "Authorization",
  2348. "in": "header",
  2349. "required": true
  2350. },
  2351. {
  2352. "type": "string",
  2353. "description": "管理员id",
  2354. "name": "adm_id",
  2355. "in": "query",
  2356. "required": true
  2357. }
  2358. ],
  2359. "responses": {
  2360. "200": {
  2361. "description": "具体看返回内容",
  2362. "schema": {
  2363. "type": "string"
  2364. }
  2365. },
  2366. "400": {
  2367. "description": "具体错误",
  2368. "schema": {
  2369. "$ref": "#/definitions/md.Response"
  2370. }
  2371. }
  2372. }
  2373. }
  2374. },
  2375. "/v1/banner/delete/{$id}": {
  2376. "delete": {
  2377. "description": "小程序设置-删除",
  2378. "consumes": [
  2379. "application/json"
  2380. ],
  2381. "produces": [
  2382. "application/json"
  2383. ],
  2384. "tags": [
  2385. "设置中心-小程序设置"
  2386. ],
  2387. "summary": "删除",
  2388. "parameters": [
  2389. {
  2390. "type": "string",
  2391. "description": "验证参数Bearer和token空格拼接",
  2392. "name": "Authorization",
  2393. "in": "header",
  2394. "required": true
  2395. }
  2396. ],
  2397. "responses": {
  2398. "200": {
  2399. "description": "success",
  2400. "schema": {
  2401. "type": "string"
  2402. }
  2403. },
  2404. "400": {
  2405. "description": "具体错误",
  2406. "schema": {
  2407. "$ref": "#/definitions/md.Response"
  2408. }
  2409. }
  2410. }
  2411. }
  2412. }
  2413. },
  2414. "definitions": {
  2415. "hdl.WxOpenThirdPartyAppList": {
  2416. "type": "object",
  2417. "properties": {
  2418. "aes_key": {
  2419. "type": "string"
  2420. },
  2421. "app_secret": {
  2422. "type": "string"
  2423. },
  2424. "appid": {
  2425. "type": "string"
  2426. },
  2427. "component_access_token": {
  2428. "type": "string"
  2429. },
  2430. "component_verify_ticket": {
  2431. "type": "string"
  2432. },
  2433. "create_at": {
  2434. "type": "string"
  2435. },
  2436. "id": {
  2437. "type": "integer"
  2438. },
  2439. "token": {
  2440. "type": "string"
  2441. },
  2442. "update_at": {
  2443. "type": "string"
  2444. },
  2445. "uuid": {
  2446. "type": "integer"
  2447. }
  2448. }
  2449. },
  2450. "md.AddAdminReq": {
  2451. "type": "object",
  2452. "required": [
  2453. "password",
  2454. "username"
  2455. ],
  2456. "properties": {
  2457. "memo": {
  2458. "type": "string"
  2459. },
  2460. "password": {
  2461. "type": "string"
  2462. },
  2463. "username": {
  2464. "type": "string"
  2465. }
  2466. }
  2467. },
  2468. "md.AddRoleReq": {
  2469. "type": "object",
  2470. "required": [
  2471. "memo",
  2472. "name"
  2473. ],
  2474. "properties": {
  2475. "memo": {
  2476. "type": "string"
  2477. },
  2478. "name": {
  2479. "type": "string"
  2480. }
  2481. }
  2482. },
  2483. "md.AdminListReq": {
  2484. "type": "object",
  2485. "properties": {
  2486. "limit": {
  2487. "type": "integer"
  2488. },
  2489. "page": {
  2490. "type": "integer"
  2491. },
  2492. "state": {
  2493. "type": "integer"
  2494. },
  2495. "username": {
  2496. "type": "string"
  2497. }
  2498. }
  2499. },
  2500. "md.AgentQualificationBankData": {
  2501. "type": "object",
  2502. "properties": {
  2503. "account": {
  2504. "type": "string",
  2505. "example": "账号"
  2506. },
  2507. "agent_id": {
  2508. "type": "string",
  2509. "example": "代理id"
  2510. },
  2511. "bank": {
  2512. "type": "string",
  2513. "example": "开户银行"
  2514. },
  2515. "bank_branch": {
  2516. "type": "string",
  2517. "example": "开户银行分行"
  2518. },
  2519. "bank_no": {
  2520. "type": "string",
  2521. "example": "银行卡号"
  2522. },
  2523. "company_name": {
  2524. "type": "string",
  2525. "example": "公司名称"
  2526. },
  2527. "currency_conf": {
  2528. "type": "string",
  2529. "example": "结算币种 0人民币"
  2530. },
  2531. "id": {
  2532. "type": "string",
  2533. "example": "id"
  2534. },
  2535. "kind": {
  2536. "type": "string",
  2537. "example": "类型(1:企业 2:个人)"
  2538. },
  2539. "licence": {
  2540. "type": "string",
  2541. "example": "开户许可证"
  2542. },
  2543. "memo": {
  2544. "type": "string",
  2545. "example": "备注 审核时填写的"
  2546. },
  2547. "state": {
  2548. "type": "string",
  2549. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  2550. },
  2551. "unified_social_credit_code": {
  2552. "type": "string",
  2553. "example": "统一社会信用代码"
  2554. }
  2555. }
  2556. },
  2557. "md.AgentQualificationBankRes": {
  2558. "type": "object",
  2559. "properties": {
  2560. "currency_conf": {
  2561. "type": "array",
  2562. "items": {
  2563. "$ref": "#/definitions/md.SelectData"
  2564. }
  2565. },
  2566. "list": {
  2567. "type": "array",
  2568. "items": {
  2569. "$ref": "#/definitions/md.AgentQualificationBankData"
  2570. }
  2571. },
  2572. "state": {
  2573. "type": "array",
  2574. "items": {
  2575. "$ref": "#/definitions/md.SelectData"
  2576. }
  2577. },
  2578. "total": {
  2579. "type": "integer"
  2580. },
  2581. "type": {
  2582. "type": "array",
  2583. "items": {
  2584. "$ref": "#/definitions/md.SelectData"
  2585. }
  2586. }
  2587. }
  2588. },
  2589. "md.AgentQualificationContactData": {
  2590. "type": "object",
  2591. "properties": {
  2592. "account": {
  2593. "type": "string",
  2594. "example": "账号"
  2595. },
  2596. "address": {
  2597. "type": "string",
  2598. "example": "联系地址"
  2599. },
  2600. "agent_id": {
  2601. "type": "string",
  2602. "example": "代理id"
  2603. },
  2604. "company_name": {
  2605. "type": "string",
  2606. "example": "公司名称"
  2607. },
  2608. "email": {
  2609. "type": "string",
  2610. "example": "邮箱地址"
  2611. },
  2612. "id": {
  2613. "type": "string",
  2614. "example": "id"
  2615. },
  2616. "kind": {
  2617. "type": "string",
  2618. "example": "类型(1:企业 2:个人)"
  2619. },
  2620. "memo": {
  2621. "type": "string",
  2622. "example": "备注 审核时填写的"
  2623. },
  2624. "name": {
  2625. "type": "string",
  2626. "example": "联系人"
  2627. },
  2628. "phone": {
  2629. "type": "string",
  2630. "example": "联系电话"
  2631. },
  2632. "state": {
  2633. "type": "string",
  2634. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  2635. }
  2636. }
  2637. },
  2638. "md.AgentQualificationContactRes": {
  2639. "type": "object",
  2640. "properties": {
  2641. "list": {
  2642. "type": "array",
  2643. "items": {
  2644. "$ref": "#/definitions/md.AgentQualificationContactData"
  2645. }
  2646. },
  2647. "state": {
  2648. "type": "array",
  2649. "items": {
  2650. "$ref": "#/definitions/md.SelectData"
  2651. }
  2652. },
  2653. "total": {
  2654. "type": "integer"
  2655. }
  2656. }
  2657. },
  2658. "md.AgentQualificationEnterpriseAuditReq": {
  2659. "type": "object",
  2660. "properties": {
  2661. "agent_id": {
  2662. "type": "string"
  2663. },
  2664. "memo": {
  2665. "type": "string"
  2666. },
  2667. "state": {
  2668. "type": "string"
  2669. }
  2670. }
  2671. },
  2672. "md.AgentQualificationEnterpriseData": {
  2673. "type": "object",
  2674. "properties": {
  2675. "account": {
  2676. "type": "string",
  2677. "example": "账号"
  2678. },
  2679. "agent_id": {
  2680. "type": "string",
  2681. "example": "代理id"
  2682. },
  2683. "business_license_address": {
  2684. "type": "string",
  2685. "example": "营业执照地址"
  2686. },
  2687. "business_license_img_url": {
  2688. "type": "string",
  2689. "example": "营业执照照片"
  2690. },
  2691. "certificate_first_type": {
  2692. "type": "string",
  2693. "example": "证件类型 1级类目id"
  2694. },
  2695. "certificate_type": {
  2696. "type": "string",
  2697. "example": "证件类型 2级类目id"
  2698. },
  2699. "certificate_validity": {
  2700. "type": "string",
  2701. "example": "证件有效期"
  2702. },
  2703. "company_abbreviation": {
  2704. "type": "string",
  2705. "example": "公司简称"
  2706. },
  2707. "company_name": {
  2708. "type": "string",
  2709. "example": "公司名称"
  2710. },
  2711. "country_region": {
  2712. "type": "string",
  2713. "example": "国家地区"
  2714. },
  2715. "country_region_id": {
  2716. "type": "string",
  2717. "example": "国家地区id"
  2718. },
  2719. "id": {
  2720. "type": "string",
  2721. "example": "状态选择"
  2722. },
  2723. "kind": {
  2724. "type": "string",
  2725. "example": "类型(1:企业 2:个人)"
  2726. },
  2727. "legal_representative": {
  2728. "type": "string",
  2729. "example": "法定代表人"
  2730. },
  2731. "memo": {
  2732. "type": "string",
  2733. "example": "备注 审核时填写的"
  2734. },
  2735. "registered_address": {
  2736. "type": "string",
  2737. "example": "注册地址"
  2738. },
  2739. "registered_address_city_id": {
  2740. "type": "string",
  2741. "example": "注册地址-市id"
  2742. },
  2743. "registered_address_country_id": {
  2744. "type": "string",
  2745. "example": "注册地址-国家id"
  2746. },
  2747. "registered_address_county_id": {
  2748. "type": "string",
  2749. "example": "注册地址-县/区id"
  2750. },
  2751. "registered_address_province_id": {
  2752. "type": "string",
  2753. "example": "册地址-省份id"
  2754. },
  2755. "state": {
  2756. "type": "string",
  2757. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  2758. },
  2759. "unified_social_credit_code": {
  2760. "type": "string",
  2761. "example": "统一社会信用代码"
  2762. },
  2763. "uuid": {
  2764. "type": "string",
  2765. "example": "站长id"
  2766. }
  2767. }
  2768. },
  2769. "md.AgentQualificationEnterpriseReq": {
  2770. "type": "object",
  2771. "properties": {
  2772. "limit": {
  2773. "type": "string"
  2774. },
  2775. "name": {
  2776. "type": "string"
  2777. },
  2778. "page": {
  2779. "type": "string"
  2780. },
  2781. "state": {
  2782. "type": "string"
  2783. }
  2784. }
  2785. },
  2786. "md.AgentQualificationEnterpriseRes": {
  2787. "type": "object",
  2788. "properties": {
  2789. "list": {
  2790. "type": "array",
  2791. "items": {
  2792. "$ref": "#/definitions/md.AgentQualificationEnterpriseData"
  2793. }
  2794. },
  2795. "state": {
  2796. "type": "array",
  2797. "items": {
  2798. "$ref": "#/definitions/md.SelectData"
  2799. }
  2800. },
  2801. "total": {
  2802. "type": "integer"
  2803. },
  2804. "type": {
  2805. "type": "array",
  2806. "items": {
  2807. "$ref": "#/definitions/md.SelectData"
  2808. }
  2809. }
  2810. }
  2811. },
  2812. "md.AppletAddReq": {
  2813. "type": "object",
  2814. "required": [
  2815. "appid",
  2816. "logo",
  2817. "name",
  2818. "original_id"
  2819. ],
  2820. "properties": {
  2821. "appid": {
  2822. "type": "string",
  2823. "example": "授权小程序appid"
  2824. },
  2825. "logo": {
  2826. "type": "string",
  2827. "example": "小程序logo"
  2828. },
  2829. "name": {
  2830. "type": "string",
  2831. "example": "小程序名称"
  2832. },
  2833. "original_id": {
  2834. "type": "string",
  2835. "example": "授权小程序原始id"
  2836. }
  2837. }
  2838. },
  2839. "md.AppletApplicationAdSpaceListData": {
  2840. "type": "object",
  2841. "properties": {
  2842. "ad_id": {
  2843. "type": "string",
  2844. "example": "广告位id"
  2845. },
  2846. "app_id": {
  2847. "type": "string",
  2848. "example": "小程序appid"
  2849. },
  2850. "cooperate_state": {
  2851. "type": "string",
  2852. "example": "合作状态"
  2853. },
  2854. "id": {
  2855. "type": "string",
  2856. "example": "id"
  2857. },
  2858. "kind": {
  2859. "type": "string",
  2860. "example": "广告位类型"
  2861. },
  2862. "logo": {
  2863. "type": "string",
  2864. "example": "logo"
  2865. },
  2866. "memo": {
  2867. "type": "string",
  2868. "example": "备注"
  2869. },
  2870. "name": {
  2871. "type": "string",
  2872. "example": "应用名称"
  2873. },
  2874. "platform": {
  2875. "type": "string",
  2876. "example": "平台"
  2877. },
  2878. "state": {
  2879. "type": "string",
  2880. "example": "应用状态 state=2 才能再次编辑"
  2881. }
  2882. }
  2883. },
  2884. "md.AppletApplicationAdSpaceListReq": {
  2885. "type": "object",
  2886. "properties": {
  2887. "cooperate_state": {
  2888. "type": "string",
  2889. "example": "合作状态"
  2890. },
  2891. "limit": {
  2892. "type": "string"
  2893. },
  2894. "medium_id": {
  2895. "type": "string",
  2896. "example": "媒体id"
  2897. },
  2898. "name": {
  2899. "type": "string"
  2900. },
  2901. "page": {
  2902. "type": "string"
  2903. },
  2904. "platform": {
  2905. "type": "string"
  2906. }
  2907. }
  2908. },
  2909. "md.AppletApplicationAdSpaceListRes": {
  2910. "type": "object",
  2911. "properties": {
  2912. "ad_type": {
  2913. "type": "array",
  2914. "items": {
  2915. "$ref": "#/definitions/md.SelectData"
  2916. }
  2917. },
  2918. "cooperate_state": {
  2919. "type": "array",
  2920. "items": {
  2921. "$ref": "#/definitions/md.SelectData"
  2922. }
  2923. },
  2924. "list": {
  2925. "type": "array",
  2926. "items": {
  2927. "$ref": "#/definitions/md.AppletApplicationAdSpaceListData"
  2928. }
  2929. },
  2930. "platform": {
  2931. "type": "array",
  2932. "items": {
  2933. "$ref": "#/definitions/md.SelectData"
  2934. }
  2935. },
  2936. "state": {
  2937. "type": "array",
  2938. "items": {
  2939. "$ref": "#/definitions/md.SelectData"
  2940. }
  2941. },
  2942. "total": {
  2943. "type": "integer"
  2944. }
  2945. }
  2946. },
  2947. "md.AppletApplicationAdSpaceMediumListData": {
  2948. "type": "object",
  2949. "properties": {
  2950. "account": {
  2951. "type": "string",
  2952. "example": "账号"
  2953. },
  2954. "contact_name": {
  2955. "type": "string",
  2956. "example": "联系人"
  2957. },
  2958. "count": {
  2959. "type": "string",
  2960. "example": "广告位数量"
  2961. },
  2962. "id": {
  2963. "type": "string",
  2964. "example": "id"
  2965. },
  2966. "medium_id": {
  2967. "type": "string",
  2968. "example": "媒体id"
  2969. },
  2970. "name": {
  2971. "type": "string",
  2972. "example": "名称"
  2973. },
  2974. "phone": {
  2975. "type": "string",
  2976. "example": "联系电话"
  2977. }
  2978. }
  2979. },
  2980. "md.AppletApplicationAdSpaceMediumListReq": {
  2981. "type": "object",
  2982. "properties": {
  2983. "account": {
  2984. "type": "string",
  2985. "example": "媒体账号"
  2986. },
  2987. "limit": {
  2988. "type": "string"
  2989. },
  2990. "name": {
  2991. "type": "string",
  2992. "example": "媒体名称"
  2993. },
  2994. "page": {
  2995. "type": "string"
  2996. }
  2997. }
  2998. },
  2999. "md.AppletApplicationAdSpaceMediumListRes": {
  3000. "type": "object",
  3001. "properties": {
  3002. "list": {
  3003. "type": "array",
  3004. "items": {
  3005. "$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListData"
  3006. }
  3007. },
  3008. "total": {
  3009. "type": "integer"
  3010. }
  3011. }
  3012. },
  3013. "md.AppletApplicationAdSpaceSaveReq": {
  3014. "type": "object",
  3015. "properties": {
  3016. "id": {
  3017. "type": "string",
  3018. "example": "id 多个逗号隔开"
  3019. },
  3020. "memo": {
  3021. "type": "string",
  3022. "example": "备注"
  3023. },
  3024. "state": {
  3025. "type": "string",
  3026. "example": "审核状态"
  3027. }
  3028. }
  3029. },
  3030. "md.AppletApplicationListData": {
  3031. "type": "object",
  3032. "properties": {
  3033. "app_id": {
  3034. "type": "string",
  3035. "example": "小程序appid"
  3036. },
  3037. "cooperate_state": {
  3038. "type": "string",
  3039. "example": "合作状态"
  3040. },
  3041. "id": {
  3042. "type": "string",
  3043. "example": "id"
  3044. },
  3045. "logo": {
  3046. "type": "string",
  3047. "example": "logo"
  3048. },
  3049. "memo": {
  3050. "type": "string",
  3051. "example": "备注"
  3052. },
  3053. "name": {
  3054. "type": "string",
  3055. "example": "应用名称"
  3056. },
  3057. "original_id": {
  3058. "type": "string",
  3059. "example": "小程序id"
  3060. },
  3061. "platform": {
  3062. "type": "string",
  3063. "example": "平台"
  3064. },
  3065. "state": {
  3066. "type": "string",
  3067. "example": "应用状态 state=3 才能再次编辑"
  3068. }
  3069. }
  3070. },
  3071. "md.AppletApplicationListReq": {
  3072. "type": "object",
  3073. "properties": {
  3074. "cooperate_state": {
  3075. "type": "string",
  3076. "example": "合作状态"
  3077. },
  3078. "limit": {
  3079. "type": "string"
  3080. },
  3081. "medium_id": {
  3082. "type": "string",
  3083. "example": "媒体id"
  3084. },
  3085. "name": {
  3086. "type": "string"
  3087. },
  3088. "page": {
  3089. "type": "string"
  3090. },
  3091. "platform": {
  3092. "type": "string"
  3093. }
  3094. }
  3095. },
  3096. "md.AppletApplicationListRes": {
  3097. "type": "object",
  3098. "properties": {
  3099. "cooperate_state": {
  3100. "type": "array",
  3101. "items": {
  3102. "$ref": "#/definitions/md.SelectData"
  3103. }
  3104. },
  3105. "list": {
  3106. "type": "array",
  3107. "items": {
  3108. "$ref": "#/definitions/md.AppletApplicationListData"
  3109. }
  3110. },
  3111. "platform": {
  3112. "type": "array",
  3113. "items": {
  3114. "$ref": "#/definitions/md.SelectData"
  3115. }
  3116. },
  3117. "state": {
  3118. "type": "array",
  3119. "items": {
  3120. "$ref": "#/definitions/md.SelectData"
  3121. }
  3122. },
  3123. "total": {
  3124. "type": "integer"
  3125. }
  3126. }
  3127. },
  3128. "md.AppletApplicationMediumListData": {
  3129. "type": "object",
  3130. "properties": {
  3131. "account": {
  3132. "type": "string",
  3133. "example": "账号"
  3134. },
  3135. "contact_name": {
  3136. "type": "string",
  3137. "example": "联系人"
  3138. },
  3139. "count": {
  3140. "type": "string",
  3141. "example": "应用数量"
  3142. },
  3143. "id": {
  3144. "type": "string",
  3145. "example": "id"
  3146. },
  3147. "medium_id": {
  3148. "type": "string",
  3149. "example": "媒体id"
  3150. },
  3151. "name": {
  3152. "type": "string",
  3153. "example": "名称"
  3154. },
  3155. "phone": {
  3156. "type": "string",
  3157. "example": "联系电话"
  3158. }
  3159. }
  3160. },
  3161. "md.AppletApplicationMediumListReq": {
  3162. "type": "object",
  3163. "properties": {
  3164. "account": {
  3165. "type": "string",
  3166. "example": "媒体账号"
  3167. },
  3168. "limit": {
  3169. "type": "string"
  3170. },
  3171. "name": {
  3172. "type": "string",
  3173. "example": "媒体名称"
  3174. },
  3175. "page": {
  3176. "type": "string"
  3177. }
  3178. }
  3179. },
  3180. "md.AppletApplicationMediumListRes": {
  3181. "type": "object",
  3182. "properties": {
  3183. "list": {
  3184. "type": "array",
  3185. "items": {
  3186. "$ref": "#/definitions/md.AppletApplicationMediumListData"
  3187. }
  3188. },
  3189. "total": {
  3190. "type": "integer"
  3191. }
  3192. }
  3193. },
  3194. "md.AppletApplicationSaveReq": {
  3195. "type": "object",
  3196. "properties": {
  3197. "id": {
  3198. "type": "string",
  3199. "example": "id 多个逗号隔开"
  3200. },
  3201. "memo": {
  3202. "type": "string",
  3203. "example": "备注"
  3204. },
  3205. "state": {
  3206. "type": "string",
  3207. "example": "审核状态"
  3208. }
  3209. }
  3210. },
  3211. "md.AppletUpdateReq": {
  3212. "type": "object",
  3213. "required": [
  3214. "id",
  3215. "logo",
  3216. "name"
  3217. ],
  3218. "properties": {
  3219. "id": {
  3220. "type": "integer"
  3221. },
  3222. "logo": {
  3223. "type": "string",
  3224. "example": "小程序logo"
  3225. },
  3226. "name": {
  3227. "type": "string",
  3228. "example": "小程序名称"
  3229. }
  3230. }
  3231. },
  3232. "md.BindAdminRoleReq": {
  3233. "type": "object",
  3234. "required": [
  3235. "adm_id"
  3236. ],
  3237. "properties": {
  3238. "adm_id": {
  3239. "type": "integer"
  3240. },
  3241. "role_ids": {
  3242. "type": "array",
  3243. "items": {
  3244. "type": "integer"
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "md.LoginReq": {
  3250. "type": "object",
  3251. "required": [
  3252. "password",
  3253. "username"
  3254. ],
  3255. "properties": {
  3256. "code": {
  3257. "type": "string",
  3258. "example": "验证码"
  3259. },
  3260. "password": {
  3261. "type": "string",
  3262. "example": "登录密码"
  3263. },
  3264. "username": {
  3265. "type": "string",
  3266. "example": "登录账号"
  3267. }
  3268. }
  3269. },
  3270. "md.LoginResponse": {
  3271. "type": "object",
  3272. "properties": {
  3273. "token": {
  3274. "type": "string"
  3275. }
  3276. }
  3277. },
  3278. "md.MediumListData": {
  3279. "type": "object",
  3280. "properties": {
  3281. "account": {
  3282. "type": "string",
  3283. "example": "媒体账号"
  3284. },
  3285. "business_license_address": {
  3286. "type": "string",
  3287. "example": "营业执照地址"
  3288. },
  3289. "company_name": {
  3290. "type": "string",
  3291. "example": "公司名称"
  3292. },
  3293. "id": {
  3294. "type": "string",
  3295. "example": "id"
  3296. },
  3297. "legal_representative": {
  3298. "type": "string",
  3299. "example": "法定代表人"
  3300. },
  3301. "medium_id": {
  3302. "type": "string",
  3303. "example": "媒体id"
  3304. },
  3305. "memo": {
  3306. "type": "string",
  3307. "example": "备注 审核时填写的"
  3308. },
  3309. "state": {
  3310. "type": "string",
  3311. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  3312. },
  3313. "unified_social_credit_code": {
  3314. "type": "string",
  3315. "example": "统一社会信用代码"
  3316. }
  3317. }
  3318. },
  3319. "md.MediumListDelReq": {
  3320. "type": "object",
  3321. "properties": {
  3322. "id": {
  3323. "type": "string",
  3324. "example": "列表id"
  3325. }
  3326. }
  3327. },
  3328. "md.MediumListReq": {
  3329. "type": "object",
  3330. "properties": {
  3331. "id": {
  3332. "type": "string"
  3333. },
  3334. "limit": {
  3335. "type": "string"
  3336. },
  3337. "name": {
  3338. "type": "string"
  3339. },
  3340. "page": {
  3341. "type": "string"
  3342. },
  3343. "state": {
  3344. "type": "string"
  3345. }
  3346. }
  3347. },
  3348. "md.MediumListRes": {
  3349. "type": "object",
  3350. "properties": {
  3351. "list": {
  3352. "type": "array",
  3353. "items": {
  3354. "$ref": "#/definitions/md.MediumListData"
  3355. }
  3356. },
  3357. "state": {
  3358. "type": "array",
  3359. "items": {
  3360. "$ref": "#/definitions/md.SelectData"
  3361. }
  3362. },
  3363. "total": {
  3364. "type": "integer"
  3365. }
  3366. }
  3367. },
  3368. "md.MediumListSaveReq": {
  3369. "type": "object",
  3370. "properties": {
  3371. "medium_id": {
  3372. "type": "string"
  3373. },
  3374. "username": {
  3375. "type": "string"
  3376. }
  3377. }
  3378. },
  3379. "md.MediumQualificationContactData": {
  3380. "type": "object",
  3381. "properties": {
  3382. "account": {
  3383. "type": "string",
  3384. "example": "账号"
  3385. },
  3386. "address": {
  3387. "type": "string",
  3388. "example": "联系地址"
  3389. },
  3390. "company_name": {
  3391. "type": "string",
  3392. "example": "公司名称"
  3393. },
  3394. "email": {
  3395. "type": "string",
  3396. "example": "邮箱地址"
  3397. },
  3398. "id": {
  3399. "type": "string",
  3400. "example": "id"
  3401. },
  3402. "kind": {
  3403. "type": "string",
  3404. "example": "类型(1:企业 2:个人)"
  3405. },
  3406. "medium_id": {
  3407. "type": "string",
  3408. "example": "代理id"
  3409. },
  3410. "memo": {
  3411. "type": "string",
  3412. "example": "备注 审核时填写的"
  3413. },
  3414. "name": {
  3415. "type": "string",
  3416. "example": "联系人"
  3417. },
  3418. "phone": {
  3419. "type": "string",
  3420. "example": "联系电话"
  3421. },
  3422. "state": {
  3423. "type": "string",
  3424. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  3425. }
  3426. }
  3427. },
  3428. "md.MediumQualificationContactRes": {
  3429. "type": "object",
  3430. "properties": {
  3431. "list": {
  3432. "type": "array",
  3433. "items": {
  3434. "$ref": "#/definitions/md.MediumQualificationContactData"
  3435. }
  3436. },
  3437. "state": {
  3438. "type": "array",
  3439. "items": {
  3440. "$ref": "#/definitions/md.SelectData"
  3441. }
  3442. },
  3443. "total": {
  3444. "type": "integer"
  3445. }
  3446. }
  3447. },
  3448. "md.MediumQualificationEnterpriseAuditReq": {
  3449. "type": "object",
  3450. "properties": {
  3451. "medium_id": {
  3452. "type": "string"
  3453. },
  3454. "memo": {
  3455. "type": "string"
  3456. },
  3457. "state": {
  3458. "type": "string"
  3459. }
  3460. }
  3461. },
  3462. "md.MediumQualificationEnterpriseData": {
  3463. "type": "object",
  3464. "properties": {
  3465. "account": {
  3466. "type": "string",
  3467. "example": "账号"
  3468. },
  3469. "business_license_address": {
  3470. "type": "string",
  3471. "example": "营业执照地址"
  3472. },
  3473. "business_license_img_url": {
  3474. "type": "string",
  3475. "example": "营业执照照片"
  3476. },
  3477. "certificate_first_type": {
  3478. "type": "string",
  3479. "example": "证件类型 1级类目id"
  3480. },
  3481. "certificate_type": {
  3482. "type": "string",
  3483. "example": "证件类型 2级类目id"
  3484. },
  3485. "certificate_validity": {
  3486. "type": "string",
  3487. "example": "证件有效期"
  3488. },
  3489. "company_abbreviation": {
  3490. "type": "string",
  3491. "example": "公司简称"
  3492. },
  3493. "company_name": {
  3494. "type": "string",
  3495. "example": "公司名称"
  3496. },
  3497. "country_region": {
  3498. "type": "string",
  3499. "example": "国家地区"
  3500. },
  3501. "country_region_id": {
  3502. "type": "string",
  3503. "example": "国家地区id"
  3504. },
  3505. "id": {
  3506. "type": "string",
  3507. "example": "状态选择"
  3508. },
  3509. "kind": {
  3510. "type": "string",
  3511. "example": "类型(1:企业 2:个人)"
  3512. },
  3513. "legal_representative": {
  3514. "type": "string",
  3515. "example": "法定代表人"
  3516. },
  3517. "medium_id": {
  3518. "type": "string",
  3519. "example": "代理id"
  3520. },
  3521. "memo": {
  3522. "type": "string",
  3523. "example": "备注 审核时填写的"
  3524. },
  3525. "registered_address": {
  3526. "type": "string",
  3527. "example": "注册地址"
  3528. },
  3529. "registered_address_city_id": {
  3530. "type": "string",
  3531. "example": "注册地址-市id"
  3532. },
  3533. "registered_address_country_id": {
  3534. "type": "string",
  3535. "example": "注册地址-国家id"
  3536. },
  3537. "registered_address_county_id": {
  3538. "type": "string",
  3539. "example": "注册地址-县/区id"
  3540. },
  3541. "registered_address_province_id": {
  3542. "type": "string",
  3543. "example": "册地址-省份id"
  3544. },
  3545. "state": {
  3546. "type": "string",
  3547. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  3548. },
  3549. "unified_social_credit_code": {
  3550. "type": "string",
  3551. "example": "统一社会信用代码"
  3552. },
  3553. "uuid": {
  3554. "type": "string",
  3555. "example": "站长id"
  3556. }
  3557. }
  3558. },
  3559. "md.MediumQualificationEnterpriseReq": {
  3560. "type": "object",
  3561. "properties": {
  3562. "limit": {
  3563. "type": "string"
  3564. },
  3565. "name": {
  3566. "type": "string"
  3567. },
  3568. "page": {
  3569. "type": "string"
  3570. },
  3571. "state": {
  3572. "type": "string"
  3573. }
  3574. }
  3575. },
  3576. "md.MediumQualificationEnterpriseRes": {
  3577. "type": "object",
  3578. "properties": {
  3579. "list": {
  3580. "type": "array",
  3581. "items": {
  3582. "$ref": "#/definitions/md.MediumQualificationEnterpriseData"
  3583. }
  3584. },
  3585. "state": {
  3586. "type": "array",
  3587. "items": {
  3588. "$ref": "#/definitions/md.SelectData"
  3589. }
  3590. },
  3591. "total": {
  3592. "type": "integer"
  3593. },
  3594. "type": {
  3595. "type": "array",
  3596. "items": {
  3597. "$ref": "#/definitions/md.SelectData"
  3598. }
  3599. }
  3600. }
  3601. },
  3602. "md.QiNiuBucketRegion": {
  3603. "type": "object",
  3604. "properties": {
  3605. "region_domain": {
  3606. "type": "string",
  3607. "example": "区域域名"
  3608. },
  3609. "region_id": {
  3610. "type": "string",
  3611. "example": "区域id"
  3612. },
  3613. "region_name": {
  3614. "type": "string",
  3615. "example": "区域名称"
  3616. }
  3617. }
  3618. },
  3619. "md.RegisterForAgentReq": {
  3620. "type": "object",
  3621. "required": [
  3622. "password",
  3623. "phone"
  3624. ],
  3625. "properties": {
  3626. "code": {
  3627. "type": "string",
  3628. "example": "验证码"
  3629. },
  3630. "password": {
  3631. "type": "string",
  3632. "example": "登录密码"
  3633. },
  3634. "phone": {
  3635. "type": "string",
  3636. "example": "登录账号"
  3637. }
  3638. }
  3639. },
  3640. "md.RegisterForMediumReq": {
  3641. "type": "object",
  3642. "required": [
  3643. "password",
  3644. "phone"
  3645. ],
  3646. "properties": {
  3647. "code": {
  3648. "type": "string",
  3649. "example": "验证码"
  3650. },
  3651. "password": {
  3652. "type": "string",
  3653. "example": "登录密码"
  3654. },
  3655. "phone": {
  3656. "type": "string",
  3657. "example": "登录账号"
  3658. }
  3659. }
  3660. },
  3661. "md.Response": {
  3662. "type": "object",
  3663. "properties": {
  3664. "code": {
  3665. "type": "string",
  3666. "example": "响应码"
  3667. },
  3668. "data": {
  3669. "description": "内容"
  3670. },
  3671. "msg": {
  3672. "type": "string",
  3673. "example": "具体错误原因"
  3674. }
  3675. }
  3676. },
  3677. "md.RoleBindPermissionGroupReq": {
  3678. "type": "object",
  3679. "required": [
  3680. "role_id"
  3681. ],
  3682. "properties": {
  3683. "permission_ids": {
  3684. "type": "array",
  3685. "items": {
  3686. "type": "integer"
  3687. }
  3688. },
  3689. "role_id": {
  3690. "type": "integer"
  3691. }
  3692. }
  3693. },
  3694. "md.SelectData": {
  3695. "type": "object",
  3696. "properties": {
  3697. "name": {
  3698. "type": "string",
  3699. "example": "名称"
  3700. },
  3701. "value": {
  3702. "type": "string",
  3703. "example": "值"
  3704. }
  3705. }
  3706. },
  3707. "md.SetMobReq": {
  3708. "type": "object",
  3709. "properties": {
  3710. "mob_app_key": {
  3711. "type": "string"
  3712. },
  3713. "mob_app_secret": {
  3714. "type": "string"
  3715. }
  3716. }
  3717. },
  3718. "md.SetOssReq": {
  3719. "type": "object",
  3720. "required": [
  3721. "file_access_key",
  3722. "file_bucket",
  3723. "file_bucket_host",
  3724. "file_bucket_region",
  3725. "file_secret_key"
  3726. ],
  3727. "properties": {
  3728. "file_access_key": {
  3729. "type": "string",
  3730. "example": "对象存储AccessToken"
  3731. },
  3732. "file_bucket": {
  3733. "type": "string",
  3734. "example": "对象存储bucket(空间)"
  3735. },
  3736. "file_bucket_host": {
  3737. "type": "string",
  3738. "example": "对象存储域名"
  3739. },
  3740. "file_bucket_region": {
  3741. "type": "string",
  3742. "example": "文件所属区域"
  3743. },
  3744. "file_secret_key": {
  3745. "type": "string",
  3746. "example": "对象存储SecretToken"
  3747. }
  3748. }
  3749. },
  3750. "md.SetOssResp": {
  3751. "type": "object",
  3752. "properties": {
  3753. "data": {
  3754. "description": "数据内容",
  3755. "allOf": [
  3756. {
  3757. "$ref": "#/definitions/md.SetOssReq"
  3758. }
  3759. ]
  3760. },
  3761. "qi_niu_bucket_region_list": {
  3762. "description": "七牛云存储区域列表",
  3763. "type": "array",
  3764. "items": {
  3765. "$ref": "#/definitions/md.QiNiuBucketRegion"
  3766. }
  3767. }
  3768. }
  3769. },
  3770. "md.ShareIndexResp": {
  3771. "type": "object",
  3772. "properties": {
  3773. "agent_domain": {
  3774. "type": "string",
  3775. "example": "代理分享地址"
  3776. },
  3777. "master_id": {
  3778. "type": "string"
  3779. },
  3780. "medium_domain": {
  3781. "type": "string",
  3782. "example": "媒体分享地址"
  3783. }
  3784. }
  3785. },
  3786. "md.UpdateAdminReq": {
  3787. "type": "object",
  3788. "required": [
  3789. "adm_id",
  3790. "password",
  3791. "username"
  3792. ],
  3793. "properties": {
  3794. "adm_id": {
  3795. "type": "integer"
  3796. },
  3797. "memo": {
  3798. "type": "string"
  3799. },
  3800. "password": {
  3801. "type": "string"
  3802. },
  3803. "username": {
  3804. "type": "string"
  3805. }
  3806. }
  3807. },
  3808. "md.UpdateAdminStateReq": {
  3809. "type": "object",
  3810. "required": [
  3811. "adm_id",
  3812. "state"
  3813. ],
  3814. "properties": {
  3815. "adm_id": {
  3816. "type": "integer"
  3817. },
  3818. "state": {
  3819. "type": "integer"
  3820. }
  3821. }
  3822. },
  3823. "md.UpdateRoleReq": {
  3824. "type": "object",
  3825. "required": [
  3826. "memo",
  3827. "name",
  3828. "role_id"
  3829. ],
  3830. "properties": {
  3831. "memo": {
  3832. "type": "string"
  3833. },
  3834. "name": {
  3835. "type": "string"
  3836. },
  3837. "role_id": {
  3838. "type": "integer"
  3839. }
  3840. }
  3841. },
  3842. "md.UpdateRoleStateReq": {
  3843. "type": "object",
  3844. "required": [
  3845. "role_id",
  3846. "state"
  3847. ],
  3848. "properties": {
  3849. "role_id": {
  3850. "type": "integer"
  3851. },
  3852. "state": {
  3853. "type": "integer"
  3854. }
  3855. }
  3856. },
  3857. "md.WxOpenGetResp": {
  3858. "type": "object",
  3859. "properties": {
  3860. "aes_key": {
  3861. "type": "string",
  3862. "example": "消息加解密Key"
  3863. },
  3864. "app_secret": {
  3865. "type": "string",
  3866. "example": "appSecret"
  3867. },
  3868. "appid": {
  3869. "type": "string",
  3870. "example": "appid"
  3871. },
  3872. "token": {
  3873. "type": "string",
  3874. "example": "消息校验Token"
  3875. },
  3876. "wx_open_applet_server_domain": {
  3877. "type": "string",
  3878. "example": "微信开放平台-小程序服务器域名"
  3879. },
  3880. "wx_open_authorization_event_receiving_configuration": {
  3881. "type": "string",
  3882. "example": "微信开放平台-授权事件接收配置"
  3883. },
  3884. "wx_open_domain_of_the_initiating_page_for_login_authorization": {
  3885. "type": "string",
  3886. "example": "微信开放平台-登录授权的发起页域名"
  3887. },
  3888. "wx_open_message_and_event_reception_configuration": {
  3889. "type": "string",
  3890. "example": "微信开放平台-消息与事件接收配置"
  3891. },
  3892. "wx_open_white_list_ip": {
  3893. "type": "string",
  3894. "example": "微信开放平台-白名单ip"
  3895. }
  3896. }
  3897. },
  3898. "md.WxOpenSetReq": {
  3899. "type": "object",
  3900. "required": [
  3901. "aes_key",
  3902. "app_secret",
  3903. "appid",
  3904. "token"
  3905. ],
  3906. "properties": {
  3907. "aes_key": {
  3908. "type": "string",
  3909. "example": "消息加解密Key"
  3910. },
  3911. "app_secret": {
  3912. "type": "string",
  3913. "example": "appSecret"
  3914. },
  3915. "appid": {
  3916. "type": "string",
  3917. "example": "appid"
  3918. },
  3919. "token": {
  3920. "type": "string",
  3921. "example": "消息校验Token"
  3922. }
  3923. }
  3924. }
  3925. },
  3926. "securityDefinitions": {
  3927. "MasterID": {
  3928. "type": "apiKey",
  3929. "name": "MasterID",
  3930. "in": "header"
  3931. }
  3932. }
  3933. }`
  3934. // SwaggerInfo holds exported Swagger Info so clients can modify it
  3935. var SwaggerInfo = &swag.Spec{
  3936. Version: "1.0",
  3937. Host: "localhost:1002 or xxxx.advertisement.dengbiao.top",
  3938. BasePath: "",
  3939. Schemes: []string{},
  3940. Title: "广告联盟-站长平台",
  3941. Description: "站长后台接口",
  3942. InfoInstanceName: "swagger",
  3943. SwaggerTemplate: docTemplate,
  3944. }
  3945. func init() {
  3946. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  3947. }