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

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