广告平台(站长使用)
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

3440 righe
113 KiB

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