广告平台(站长使用)
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

2775 lines
92 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/mediumQualification/bank": {
  343. "post": {
  344. "responses": {
  345. "400": {
  346. "description": "具体错误",
  347. "schema": {
  348. "$ref": "#/definitions/md.Response"
  349. }
  350. }
  351. }
  352. }
  353. },
  354. "/api/mediumQualification/bank/audit": {
  355. "post": {
  356. "description": "媒体资质-银行资质审核",
  357. "consumes": [
  358. "application/json"
  359. ],
  360. "produces": [
  361. "application/json"
  362. ],
  363. "tags": [
  364. "媒体资质------嘉俊"
  365. ],
  366. "summary": "银行资质审核",
  367. "parameters": [
  368. {
  369. "type": "string",
  370. "description": "验证参数Bearer和token空格拼接",
  371. "name": "Authorization",
  372. "in": "header",
  373. "required": true
  374. },
  375. {
  376. "description": "请求参数",
  377. "name": "args",
  378. "in": "body",
  379. "required": true,
  380. "schema": {
  381. "$ref": "#/definitions/md.MediumQualificationEnterpriseAuditReq"
  382. }
  383. }
  384. ],
  385. "responses": {
  386. "200": {
  387. "description": "具体看返回内容",
  388. "schema": {
  389. "type": "string"
  390. }
  391. },
  392. "400": {
  393. "description": "具体错误",
  394. "schema": {
  395. "$ref": "#/definitions/md.Response"
  396. }
  397. }
  398. }
  399. }
  400. },
  401. "/api/mediumQualification/contact": {
  402. "post": {
  403. "description": "媒体资质-联系方式",
  404. "consumes": [
  405. "application/json"
  406. ],
  407. "produces": [
  408. "application/json"
  409. ],
  410. "tags": [
  411. "媒体资质------嘉俊"
  412. ],
  413. "summary": "联系方式",
  414. "parameters": [
  415. {
  416. "type": "string",
  417. "description": "验证参数Bearer和token空格拼接",
  418. "name": "Authorization",
  419. "in": "header",
  420. "required": true
  421. },
  422. {
  423. "description": "请求参数",
  424. "name": "args",
  425. "in": "body",
  426. "required": true,
  427. "schema": {
  428. "$ref": "#/definitions/md.MediumQualificationEnterpriseReq"
  429. }
  430. }
  431. ],
  432. "responses": {
  433. "200": {
  434. "description": "具体看返回内容 这是data里面的数据",
  435. "schema": {
  436. "$ref": "#/definitions/md.MediumQualificationContactRes"
  437. }
  438. },
  439. "400": {
  440. "description": "具体错误",
  441. "schema": {
  442. "$ref": "#/definitions/md.Response"
  443. }
  444. }
  445. }
  446. }
  447. },
  448. "/api/mediumQualification/contact/audit": {
  449. "post": {
  450. "description": "媒体资质-联系方式审核",
  451. "consumes": [
  452. "application/json"
  453. ],
  454. "produces": [
  455. "application/json"
  456. ],
  457. "tags": [
  458. "媒体资质------嘉俊"
  459. ],
  460. "summary": "联系方式审核",
  461. "parameters": [
  462. {
  463. "type": "string",
  464. "description": "验证参数Bearer和token空格拼接",
  465. "name": "Authorization",
  466. "in": "header",
  467. "required": true
  468. },
  469. {
  470. "description": "请求参数",
  471. "name": "args",
  472. "in": "body",
  473. "required": true,
  474. "schema": {
  475. "$ref": "#/definitions/md.MediumQualificationEnterpriseAuditReq"
  476. }
  477. }
  478. ],
  479. "responses": {
  480. "200": {
  481. "description": "具体看返回内容",
  482. "schema": {
  483. "type": "string"
  484. }
  485. },
  486. "400": {
  487. "description": "具体错误",
  488. "schema": {
  489. "$ref": "#/definitions/md.Response"
  490. }
  491. }
  492. }
  493. }
  494. },
  495. "/api/mediumQualification/enterprise": {
  496. "post": {
  497. "description": "媒体资质-主体资质",
  498. "consumes": [
  499. "application/json"
  500. ],
  501. "produces": [
  502. "application/json"
  503. ],
  504. "tags": [
  505. "媒体资质------嘉俊"
  506. ],
  507. "summary": "主体资质",
  508. "parameters": [
  509. {
  510. "type": "string",
  511. "description": "验证参数Bearer和token空格拼接",
  512. "name": "Authorization",
  513. "in": "header",
  514. "required": true
  515. },
  516. {
  517. "description": "请求参数",
  518. "name": "args",
  519. "in": "body",
  520. "required": true,
  521. "schema": {
  522. "$ref": "#/definitions/md.MediumQualificationEnterpriseReq"
  523. }
  524. }
  525. ],
  526. "responses": {
  527. "200": {
  528. "description": "具体看返回内容 这是data里面的数据",
  529. "schema": {
  530. "$ref": "#/definitions/md.MediumQualificationEnterpriseRes"
  531. }
  532. },
  533. "400": {
  534. "description": "具体错误",
  535. "schema": {
  536. "$ref": "#/definitions/md.Response"
  537. }
  538. }
  539. }
  540. }
  541. },
  542. "/api/mediumQualification/enterprise/audit": {
  543. "post": {
  544. "description": "媒体资质-主体资质审核",
  545. "consumes": [
  546. "application/json"
  547. ],
  548. "produces": [
  549. "application/json"
  550. ],
  551. "tags": [
  552. "媒体资质------嘉俊"
  553. ],
  554. "summary": "主体资质审核",
  555. "parameters": [
  556. {
  557. "type": "string",
  558. "description": "验证参数Bearer和token空格拼接",
  559. "name": "Authorization",
  560. "in": "header",
  561. "required": true
  562. },
  563. {
  564. "description": "请求参数",
  565. "name": "args",
  566. "in": "body",
  567. "required": true,
  568. "schema": {
  569. "$ref": "#/definitions/md.MediumQualificationEnterpriseAuditReq"
  570. }
  571. }
  572. ],
  573. "responses": {
  574. "200": {
  575. "description": "具体看返回内容",
  576. "schema": {
  577. "type": "string"
  578. }
  579. },
  580. "400": {
  581. "description": "具体错误",
  582. "schema": {
  583. "$ref": "#/definitions/md.Response"
  584. }
  585. }
  586. }
  587. }
  588. },
  589. "/api/registerForAgent": {
  590. "post": {
  591. "description": "注册模块-渠道代理注册",
  592. "consumes": [
  593. "application/json"
  594. ],
  595. "produces": [
  596. "application/json"
  597. ],
  598. "tags": [
  599. "注册模块"
  600. ],
  601. "summary": "渠道代理注册",
  602. "parameters": [
  603. {
  604. "description": "用户名密码",
  605. "name": "req",
  606. "in": "body",
  607. "required": true,
  608. "schema": {
  609. "$ref": "#/definitions/md.RegisterForAgentReq"
  610. }
  611. }
  612. ],
  613. "responses": {
  614. "200": {
  615. "description": "success",
  616. "schema": {
  617. "type": "string"
  618. }
  619. },
  620. "400": {
  621. "description": "具体错误",
  622. "schema": {
  623. "$ref": "#/definitions/md.Response"
  624. }
  625. }
  626. }
  627. }
  628. },
  629. "/api/registerForMedium": {
  630. "post": {
  631. "description": "注册模块-媒体注册",
  632. "consumes": [
  633. "application/json"
  634. ],
  635. "produces": [
  636. "application/json"
  637. ],
  638. "tags": [
  639. "注册模块"
  640. ],
  641. "summary": "媒体注册",
  642. "parameters": [
  643. {
  644. "description": "用户名密码",
  645. "name": "req",
  646. "in": "body",
  647. "required": true,
  648. "schema": {
  649. "$ref": "#/definitions/md.RegisterForMediumReq"
  650. }
  651. }
  652. ],
  653. "responses": {
  654. "200": {
  655. "description": "success",
  656. "schema": {
  657. "type": "string"
  658. }
  659. },
  660. "400": {
  661. "description": "具体错误",
  662. "schema": {
  663. "$ref": "#/definitions/md.Response"
  664. }
  665. }
  666. }
  667. }
  668. },
  669. "/api/role/addAdmin": {
  670. "post": {
  671. "description": "权限管理-新增管理员",
  672. "consumes": [
  673. "application/json"
  674. ],
  675. "produces": [
  676. "application/json"
  677. ],
  678. "tags": [
  679. "权限管理"
  680. ],
  681. "summary": "新增管理员",
  682. "parameters": [
  683. {
  684. "type": "string",
  685. "description": "验证参数Bearer和token空格拼接",
  686. "name": "Authorization",
  687. "in": "header",
  688. "required": true
  689. },
  690. {
  691. "description": "请求参数",
  692. "name": "args",
  693. "in": "body",
  694. "required": true,
  695. "schema": {
  696. "$ref": "#/definitions/md.AddAdminReq"
  697. }
  698. }
  699. ],
  700. "responses": {
  701. "200": {
  702. "description": "success",
  703. "schema": {
  704. "type": "string"
  705. }
  706. },
  707. "400": {
  708. "description": "具体错误",
  709. "schema": {
  710. "$ref": "#/definitions/md.Response"
  711. }
  712. }
  713. }
  714. }
  715. },
  716. "/api/role/addRole": {
  717. "post": {
  718. "description": "权限管理-添加角色",
  719. "consumes": [
  720. "application/json"
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "权限管理"
  727. ],
  728. "summary": "添加角色",
  729. "parameters": [
  730. {
  731. "type": "string",
  732. "description": "验证参数Bearer和token空格拼接",
  733. "name": "Authorization",
  734. "in": "header",
  735. "required": true
  736. },
  737. {
  738. "description": "请求参数",
  739. "name": "args",
  740. "in": "body",
  741. "required": true,
  742. "schema": {
  743. "$ref": "#/definitions/md.AddRoleReq"
  744. }
  745. }
  746. ],
  747. "responses": {
  748. "200": {
  749. "description": "success",
  750. "schema": {
  751. "type": "string"
  752. }
  753. },
  754. "400": {
  755. "description": "具体错误",
  756. "schema": {
  757. "$ref": "#/definitions/md.Response"
  758. }
  759. }
  760. }
  761. }
  762. },
  763. "/api/role/adminInfo": {
  764. "get": {
  765. "description": "权限管理-管理员信息",
  766. "consumes": [
  767. "application/json"
  768. ],
  769. "produces": [
  770. "application/json"
  771. ],
  772. "tags": [
  773. "权限管理"
  774. ],
  775. "summary": "管理员信息",
  776. "parameters": [
  777. {
  778. "type": "string",
  779. "description": "验证参数Bearer和token空格拼接",
  780. "name": "Authorization",
  781. "in": "header",
  782. "required": true
  783. },
  784. {
  785. "type": "string",
  786. "description": "管理员id",
  787. "name": "adm_id",
  788. "in": "query",
  789. "required": true
  790. }
  791. ],
  792. "responses": {
  793. "200": {
  794. "description": "具体看返回内容",
  795. "schema": {
  796. "type": "string"
  797. }
  798. },
  799. "400": {
  800. "description": "具体错误",
  801. "schema": {
  802. "$ref": "#/definitions/md.Response"
  803. }
  804. }
  805. }
  806. }
  807. },
  808. "/api/role/adminList": {
  809. "post": {
  810. "description": "权限管理-管理员列表",
  811. "consumes": [
  812. "application/json"
  813. ],
  814. "produces": [
  815. "application/json"
  816. ],
  817. "tags": [
  818. "权限管理"
  819. ],
  820. "summary": "管理员列表",
  821. "parameters": [
  822. {
  823. "type": "string",
  824. "description": "验证参数Bearer和token空格拼接",
  825. "name": "Authorization",
  826. "in": "header",
  827. "required": true
  828. },
  829. {
  830. "description": "请求参数",
  831. "name": "args",
  832. "in": "body",
  833. "required": true,
  834. "schema": {
  835. "$ref": "#/definitions/md.AdminListReq"
  836. }
  837. }
  838. ],
  839. "responses": {
  840. "200": {
  841. "description": "具体看返回内容",
  842. "schema": {
  843. "type": "string"
  844. }
  845. },
  846. "400": {
  847. "description": "具体错误",
  848. "schema": {
  849. "$ref": "#/definitions/md.Response"
  850. }
  851. }
  852. }
  853. }
  854. },
  855. "/api/role/bindAdminRole/": {
  856. "post": {
  857. "description": "权限管理-管理员绑定角色",
  858. "consumes": [
  859. "application/json"
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "权限管理"
  866. ],
  867. "summary": "管理员绑定角色",
  868. "parameters": [
  869. {
  870. "type": "string",
  871. "description": "验证参数Bearer和token空格拼接",
  872. "name": "Authorization",
  873. "in": "header",
  874. "required": true
  875. },
  876. {
  877. "description": "请求参数",
  878. "name": "args",
  879. "in": "body",
  880. "required": true,
  881. "schema": {
  882. "$ref": "#/definitions/md.BindAdminRoleReq"
  883. }
  884. }
  885. ],
  886. "responses": {
  887. "200": {
  888. "description": "success",
  889. "schema": {
  890. "type": "string"
  891. }
  892. },
  893. "400": {
  894. "description": "具体错误",
  895. "schema": {
  896. "$ref": "#/definitions/md.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/api/role/deleteAdmin/{$adm_id}": {
  903. "delete": {
  904. "description": "权限管理-删除管理员",
  905. "consumes": [
  906. "application/json"
  907. ],
  908. "produces": [
  909. "application/json"
  910. ],
  911. "tags": [
  912. "权限管理"
  913. ],
  914. "summary": "删除管理员",
  915. "parameters": [
  916. {
  917. "type": "string",
  918. "description": "验证参数Bearer和token空格拼接",
  919. "name": "Authorization",
  920. "in": "header",
  921. "required": true
  922. }
  923. ],
  924. "responses": {
  925. "200": {
  926. "description": "success",
  927. "schema": {
  928. "type": "string"
  929. }
  930. },
  931. "400": {
  932. "description": "具体错误",
  933. "schema": {
  934. "$ref": "#/definitions/md.Response"
  935. }
  936. }
  937. }
  938. }
  939. },
  940. "/api/role/deleteRole/{$id}": {
  941. "delete": {
  942. "description": "权限管理-删除角色",
  943. "consumes": [
  944. "application/json"
  945. ],
  946. "produces": [
  947. "application/json"
  948. ],
  949. "tags": [
  950. "权限管理"
  951. ],
  952. "summary": "删除角色",
  953. "parameters": [
  954. {
  955. "type": "string",
  956. "description": "验证参数Bearer和token空格拼接",
  957. "name": "Authorization",
  958. "in": "header",
  959. "required": true
  960. },
  961. {
  962. "description": "请求参数",
  963. "name": "args",
  964. "in": "body",
  965. "required": true,
  966. "schema": {
  967. "$ref": "#/definitions/md.UpdateRoleStateReq"
  968. }
  969. }
  970. ],
  971. "responses": {
  972. "200": {
  973. "description": "success",
  974. "schema": {
  975. "type": "string"
  976. }
  977. },
  978. "400": {
  979. "description": "具体错误",
  980. "schema": {
  981. "$ref": "#/definitions/md.Response"
  982. }
  983. }
  984. }
  985. }
  986. },
  987. "/api/role/roleBindPermissionGroup": {
  988. "post": {
  989. "description": "权限管理-角色绑定权限组",
  990. "consumes": [
  991. "application/json"
  992. ],
  993. "produces": [
  994. "application/json"
  995. ],
  996. "tags": [
  997. "权限管理"
  998. ],
  999. "summary": "角色绑定权限组",
  1000. "parameters": [
  1001. {
  1002. "type": "string",
  1003. "description": "验证参数Bearer和token空格拼接",
  1004. "name": "Authorization",
  1005. "in": "header",
  1006. "required": true
  1007. },
  1008. {
  1009. "description": "请求参数",
  1010. "name": "args",
  1011. "in": "body",
  1012. "required": true,
  1013. "schema": {
  1014. "$ref": "#/definitions/md.RoleBindPermissionGroupReq"
  1015. }
  1016. }
  1017. ],
  1018. "responses": {
  1019. "200": {
  1020. "description": "success",
  1021. "schema": {
  1022. "type": "string"
  1023. }
  1024. },
  1025. "400": {
  1026. "description": "具体错误",
  1027. "schema": {
  1028. "$ref": "#/definitions/md.Response"
  1029. }
  1030. }
  1031. }
  1032. }
  1033. },
  1034. "/api/role/roleList": {
  1035. "get": {
  1036. "description": "权限管理-角色列表",
  1037. "consumes": [
  1038. "application/json"
  1039. ],
  1040. "produces": [
  1041. "application/json"
  1042. ],
  1043. "tags": [
  1044. "权限管理"
  1045. ],
  1046. "summary": "角色列表",
  1047. "parameters": [
  1048. {
  1049. "type": "string",
  1050. "description": "验证参数Bearer和token空格拼接",
  1051. "name": "Authorization",
  1052. "in": "header",
  1053. "required": true
  1054. }
  1055. ],
  1056. "responses": {
  1057. "200": {
  1058. "description": "具体看返回内容",
  1059. "schema": {
  1060. "type": "string"
  1061. }
  1062. },
  1063. "400": {
  1064. "description": "具体错误",
  1065. "schema": {
  1066. "$ref": "#/definitions/md.Response"
  1067. }
  1068. }
  1069. }
  1070. }
  1071. },
  1072. "/api/role/updateAdmin": {
  1073. "post": {
  1074. "description": "权限管理-修改管理员信息",
  1075. "consumes": [
  1076. "application/json"
  1077. ],
  1078. "produces": [
  1079. "application/json"
  1080. ],
  1081. "tags": [
  1082. "权限管理"
  1083. ],
  1084. "summary": "修改管理员信息",
  1085. "parameters": [
  1086. {
  1087. "type": "string",
  1088. "description": "验证参数Bearer和token空格拼接",
  1089. "name": "Authorization",
  1090. "in": "header",
  1091. "required": true
  1092. },
  1093. {
  1094. "description": "请求参数",
  1095. "name": "args",
  1096. "in": "body",
  1097. "required": true,
  1098. "schema": {
  1099. "$ref": "#/definitions/md.UpdateAdminReq"
  1100. }
  1101. }
  1102. ],
  1103. "responses": {
  1104. "200": {
  1105. "description": "success",
  1106. "schema": {
  1107. "type": "string"
  1108. }
  1109. },
  1110. "400": {
  1111. "description": "具体错误",
  1112. "schema": {
  1113. "$ref": "#/definitions/md.Response"
  1114. }
  1115. }
  1116. }
  1117. }
  1118. },
  1119. "/api/role/updateAdminState": {
  1120. "post": {
  1121. "description": "权限管理-修改管理员状态",
  1122. "consumes": [
  1123. "application/json"
  1124. ],
  1125. "produces": [
  1126. "application/json"
  1127. ],
  1128. "tags": [
  1129. "权限管理"
  1130. ],
  1131. "summary": "修改管理员状态",
  1132. "parameters": [
  1133. {
  1134. "type": "string",
  1135. "description": "验证参数Bearer和token空格拼接",
  1136. "name": "Authorization",
  1137. "in": "header",
  1138. "required": true
  1139. },
  1140. {
  1141. "description": "请求参数",
  1142. "name": "args",
  1143. "in": "body",
  1144. "required": true,
  1145. "schema": {
  1146. "$ref": "#/definitions/md.UpdateAdminStateReq"
  1147. }
  1148. }
  1149. ],
  1150. "responses": {
  1151. "200": {
  1152. "description": "success",
  1153. "schema": {
  1154. "type": "string"
  1155. }
  1156. },
  1157. "400": {
  1158. "description": "具体错误",
  1159. "schema": {
  1160. "$ref": "#/definitions/md.Response"
  1161. }
  1162. }
  1163. }
  1164. }
  1165. },
  1166. "/api/role/updateRole": {
  1167. "post": {
  1168. "description": "权限管理-修改角色",
  1169. "consumes": [
  1170. "application/json"
  1171. ],
  1172. "produces": [
  1173. "application/json"
  1174. ],
  1175. "tags": [
  1176. "权限管理"
  1177. ],
  1178. "summary": "修改角色",
  1179. "parameters": [
  1180. {
  1181. "type": "string",
  1182. "description": "验证参数Bearer和token空格拼接",
  1183. "name": "Authorization",
  1184. "in": "header",
  1185. "required": true
  1186. },
  1187. {
  1188. "description": "请求参数",
  1189. "name": "args",
  1190. "in": "body",
  1191. "required": true,
  1192. "schema": {
  1193. "$ref": "#/definitions/md.UpdateRoleReq"
  1194. }
  1195. }
  1196. ],
  1197. "responses": {
  1198. "200": {
  1199. "description": "success",
  1200. "schema": {
  1201. "type": "string"
  1202. }
  1203. },
  1204. "400": {
  1205. "description": "具体错误",
  1206. "schema": {
  1207. "$ref": "#/definitions/md.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/api/role/updateRoleState": {
  1214. "post": {
  1215. "description": "权限管理-修改角色状态",
  1216. "consumes": [
  1217. "application/json"
  1218. ],
  1219. "produces": [
  1220. "application/json"
  1221. ],
  1222. "tags": [
  1223. "权限管理"
  1224. ],
  1225. "summary": "修改角色状态",
  1226. "parameters": [
  1227. {
  1228. "type": "string",
  1229. "description": "验证参数Bearer和token空格拼接",
  1230. "name": "Authorization",
  1231. "in": "header",
  1232. "required": true
  1233. },
  1234. {
  1235. "description": "请求参数",
  1236. "name": "args",
  1237. "in": "body",
  1238. "required": true,
  1239. "schema": {
  1240. "$ref": "#/definitions/md.UpdateRoleStateReq"
  1241. }
  1242. }
  1243. ],
  1244. "responses": {
  1245. "200": {
  1246. "description": "success",
  1247. "schema": {
  1248. "type": "string"
  1249. }
  1250. },
  1251. "400": {
  1252. "description": "具体错误",
  1253. "schema": {
  1254. "$ref": "#/definitions/md.Response"
  1255. }
  1256. }
  1257. }
  1258. }
  1259. },
  1260. "/api/setCenter/applet/add": {
  1261. "post": {
  1262. "description": "小程序设置-新增",
  1263. "consumes": [
  1264. "application/json"
  1265. ],
  1266. "produces": [
  1267. "application/json"
  1268. ],
  1269. "tags": [
  1270. "设置中心-小程序设置"
  1271. ],
  1272. "summary": "新增",
  1273. "parameters": [
  1274. {
  1275. "type": "string",
  1276. "description": "验证参数Bearer和token空格拼接",
  1277. "name": "Authorization",
  1278. "in": "header",
  1279. "required": true
  1280. },
  1281. {
  1282. "description": "请求参数",
  1283. "name": "args",
  1284. "in": "body",
  1285. "required": true,
  1286. "schema": {
  1287. "$ref": "#/definitions/md.AppletAddReq"
  1288. }
  1289. }
  1290. ],
  1291. "responses": {
  1292. "200": {
  1293. "description": "success",
  1294. "schema": {
  1295. "type": "string"
  1296. }
  1297. },
  1298. "400": {
  1299. "description": "具体错误",
  1300. "schema": {
  1301. "$ref": "#/definitions/md.Response"
  1302. }
  1303. }
  1304. }
  1305. }
  1306. },
  1307. "/api/setCenter/applet/authorize": {
  1308. "get": {
  1309. "description": "设置中心-基础设置",
  1310. "consumes": [
  1311. "application/json"
  1312. ],
  1313. "produces": [
  1314. "application/json"
  1315. ],
  1316. "tags": [
  1317. "设置中心"
  1318. ],
  1319. "summary": "设置中心-基础设置-微信三方应用获取",
  1320. "parameters": [
  1321. {
  1322. "type": "string",
  1323. "description": "验证参数Bearer和token空格拼接",
  1324. "name": "Authorization",
  1325. "in": "header",
  1326. "required": true
  1327. }
  1328. ],
  1329. "responses": {
  1330. "200": {
  1331. "description": "微信授权界面url",
  1332. "schema": {
  1333. "type": "string"
  1334. }
  1335. },
  1336. "400": {
  1337. "description": "具体错误",
  1338. "schema": {
  1339. "$ref": "#/definitions/md.Response"
  1340. }
  1341. }
  1342. }
  1343. }
  1344. },
  1345. "/api/setCenter/applet/list": {
  1346. "get": {
  1347. "description": "小程序设置-列表",
  1348. "consumes": [
  1349. "application/json"
  1350. ],
  1351. "produces": [
  1352. "application/json"
  1353. ],
  1354. "tags": [
  1355. "设置中心-小程序设置"
  1356. ],
  1357. "summary": "列表",
  1358. "parameters": [
  1359. {
  1360. "type": "string",
  1361. "description": "验证参数Bearer和token空格拼接",
  1362. "name": "Authorization",
  1363. "in": "header",
  1364. "required": true
  1365. }
  1366. ],
  1367. "responses": {
  1368. "200": {
  1369. "description": "OK",
  1370. "schema": {
  1371. "$ref": "#/definitions/hdl.WxOpenThirdPartyAppList"
  1372. }
  1373. },
  1374. "400": {
  1375. "description": "具体错误",
  1376. "schema": {
  1377. "$ref": "#/definitions/md.Response"
  1378. }
  1379. }
  1380. }
  1381. }
  1382. },
  1383. "/api/setCenter/applet/unauthorized": {
  1384. "get": {
  1385. "description": "设置中心-基础设置",
  1386. "consumes": [
  1387. "application/json"
  1388. ],
  1389. "produces": [
  1390. "application/json"
  1391. ],
  1392. "tags": [
  1393. "设置中心"
  1394. ],
  1395. "summary": "设置中心-基础设置-微信三方应用获取",
  1396. "parameters": [
  1397. {
  1398. "type": "string",
  1399. "description": "验证参数Bearer和token空格拼接",
  1400. "name": "Authorization",
  1401. "in": "header",
  1402. "required": true
  1403. }
  1404. ],
  1405. "responses": {
  1406. "200": {
  1407. "description": "success",
  1408. "schema": {
  1409. "type": "string"
  1410. }
  1411. },
  1412. "400": {
  1413. "description": "具体错误",
  1414. "schema": {
  1415. "$ref": "#/definitions/md.Response"
  1416. }
  1417. }
  1418. }
  1419. }
  1420. },
  1421. "/api/setCenter/applet/update": {
  1422. "post": {
  1423. "description": "小程序设置-更新",
  1424. "consumes": [
  1425. "application/json"
  1426. ],
  1427. "produces": [
  1428. "application/json"
  1429. ],
  1430. "tags": [
  1431. "设置中心-小程序设置"
  1432. ],
  1433. "summary": "更新",
  1434. "parameters": [
  1435. {
  1436. "type": "string",
  1437. "description": "验证参数Bearer和token空格拼接",
  1438. "name": "Authorization",
  1439. "in": "header",
  1440. "required": true
  1441. },
  1442. {
  1443. "description": "请求参数",
  1444. "name": "args",
  1445. "in": "body",
  1446. "required": true,
  1447. "schema": {
  1448. "$ref": "#/definitions/md.AppletUpdateReq"
  1449. }
  1450. }
  1451. ],
  1452. "responses": {
  1453. "200": {
  1454. "description": "success",
  1455. "schema": {
  1456. "type": "string"
  1457. }
  1458. },
  1459. "400": {
  1460. "description": "具体错误",
  1461. "schema": {
  1462. "$ref": "#/definitions/md.Response"
  1463. }
  1464. }
  1465. }
  1466. }
  1467. },
  1468. "/api/setCenter/basic/getOss": {
  1469. "get": {
  1470. "description": "基础设置-oss获取",
  1471. "consumes": [
  1472. "application/json"
  1473. ],
  1474. "produces": [
  1475. "application/json"
  1476. ],
  1477. "tags": [
  1478. "设置中心-基础设置"
  1479. ],
  1480. "summary": "oss获取",
  1481. "parameters": [
  1482. {
  1483. "type": "string",
  1484. "description": "验证参数Bearer和token空格拼接",
  1485. "name": "Authorization",
  1486. "in": "header",
  1487. "required": true
  1488. }
  1489. ],
  1490. "responses": {
  1491. "200": {
  1492. "description": "OK",
  1493. "schema": {
  1494. "$ref": "#/definitions/md.SetOssResp"
  1495. }
  1496. },
  1497. "400": {
  1498. "description": "具体错误",
  1499. "schema": {
  1500. "$ref": "#/definitions/md.Response"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/api/setCenter/basic/setOss": {
  1507. "post": {
  1508. "description": "基础设置-oss设置",
  1509. "consumes": [
  1510. "application/json"
  1511. ],
  1512. "produces": [
  1513. "application/json"
  1514. ],
  1515. "tags": [
  1516. "设置中心-基础设置"
  1517. ],
  1518. "summary": "oss设置",
  1519. "parameters": [
  1520. {
  1521. "type": "string",
  1522. "description": "验证参数Bearer和token空格拼接",
  1523. "name": "Authorization",
  1524. "in": "header",
  1525. "required": true
  1526. },
  1527. {
  1528. "description": "请求参数",
  1529. "name": "args",
  1530. "in": "body",
  1531. "required": true,
  1532. "schema": {
  1533. "$ref": "#/definitions/md.SetOssReq"
  1534. }
  1535. }
  1536. ],
  1537. "responses": {
  1538. "200": {
  1539. "description": "success",
  1540. "schema": {
  1541. "type": "string"
  1542. }
  1543. },
  1544. "400": {
  1545. "description": "具体错误",
  1546. "schema": {
  1547. "$ref": "#/definitions/md.Response"
  1548. }
  1549. }
  1550. }
  1551. }
  1552. },
  1553. "/api/setCenter/basic/wxOpenGet": {
  1554. "get": {
  1555. "description": "基础设置-微信三方应用获取",
  1556. "consumes": [
  1557. "application/json"
  1558. ],
  1559. "produces": [
  1560. "application/json"
  1561. ],
  1562. "tags": [
  1563. "设置中心-基础设置"
  1564. ],
  1565. "summary": "微信三方应用获取",
  1566. "parameters": [
  1567. {
  1568. "type": "string",
  1569. "description": "验证参数Bearer和token空格拼接",
  1570. "name": "Authorization",
  1571. "in": "header",
  1572. "required": true
  1573. }
  1574. ],
  1575. "responses": {
  1576. "200": {
  1577. "description": "OK",
  1578. "schema": {
  1579. "$ref": "#/definitions/md.WxOpenGetResp"
  1580. }
  1581. },
  1582. "400": {
  1583. "description": "具体错误",
  1584. "schema": {
  1585. "$ref": "#/definitions/md.Response"
  1586. }
  1587. }
  1588. }
  1589. }
  1590. },
  1591. "/api/setCenter/basic/wxOpenSet": {
  1592. "post": {
  1593. "description": "基础设置-微信三方应用设置",
  1594. "consumes": [
  1595. "application/json"
  1596. ],
  1597. "produces": [
  1598. "application/json"
  1599. ],
  1600. "tags": [
  1601. "设置中心-基础设置"
  1602. ],
  1603. "summary": "微信三方应用设置",
  1604. "parameters": [
  1605. {
  1606. "type": "string",
  1607. "description": "验证参数Bearer和token空格拼接",
  1608. "name": "Authorization",
  1609. "in": "header",
  1610. "required": true
  1611. },
  1612. {
  1613. "description": "请求参数",
  1614. "name": "args",
  1615. "in": "body",
  1616. "required": true,
  1617. "schema": {
  1618. "$ref": "#/definitions/md.WxOpenSetReq"
  1619. }
  1620. }
  1621. ],
  1622. "responses": {
  1623. "200": {
  1624. "description": "success",
  1625. "schema": {
  1626. "type": "string"
  1627. }
  1628. },
  1629. "400": {
  1630. "description": "具体错误",
  1631. "schema": {
  1632. "$ref": "#/definitions/md.Response"
  1633. }
  1634. }
  1635. }
  1636. }
  1637. },
  1638. "/api/setCenter/share/index": {
  1639. "get": {
  1640. "description": "邀请链接界面接口",
  1641. "consumes": [
  1642. "application/json"
  1643. ],
  1644. "produces": [
  1645. "application/json"
  1646. ],
  1647. "tags": [
  1648. "设置中心-邀请链接"
  1649. ],
  1650. "summary": "邀请链接",
  1651. "parameters": [
  1652. {
  1653. "type": "string",
  1654. "description": "验证参数Bearer和token空格拼接",
  1655. "name": "Authorization",
  1656. "in": "header",
  1657. "required": true
  1658. }
  1659. ],
  1660. "responses": {
  1661. "200": {
  1662. "description": "OK",
  1663. "schema": {
  1664. "$ref": "#/definitions/md.ShareIndexResp"
  1665. }
  1666. },
  1667. "400": {
  1668. "description": "具体错误",
  1669. "schema": {
  1670. "$ref": "#/definitions/md.Response"
  1671. }
  1672. }
  1673. }
  1674. }
  1675. },
  1676. "/role/permissionGroupList": {
  1677. "get": {
  1678. "description": "权限管理-权限组列表",
  1679. "consumes": [
  1680. "application/json"
  1681. ],
  1682. "produces": [
  1683. "application/json"
  1684. ],
  1685. "tags": [
  1686. "权限管理"
  1687. ],
  1688. "summary": "权限组列表",
  1689. "parameters": [
  1690. {
  1691. "type": "string",
  1692. "description": "验证参数Bearer和token空格拼接",
  1693. "name": "Authorization",
  1694. "in": "header",
  1695. "required": true
  1696. },
  1697. {
  1698. "type": "string",
  1699. "description": "管理员id",
  1700. "name": "adm_id",
  1701. "in": "query",
  1702. "required": true
  1703. }
  1704. ],
  1705. "responses": {
  1706. "200": {
  1707. "description": "具体看返回内容",
  1708. "schema": {
  1709. "type": "string"
  1710. }
  1711. },
  1712. "400": {
  1713. "description": "具体错误",
  1714. "schema": {
  1715. "$ref": "#/definitions/md.Response"
  1716. }
  1717. }
  1718. }
  1719. }
  1720. },
  1721. "/v1/banner/delete/{$id}": {
  1722. "delete": {
  1723. "description": "小程序设置-删除",
  1724. "consumes": [
  1725. "application/json"
  1726. ],
  1727. "produces": [
  1728. "application/json"
  1729. ],
  1730. "tags": [
  1731. "设置中心-小程序设置"
  1732. ],
  1733. "summary": "删除",
  1734. "parameters": [
  1735. {
  1736. "type": "string",
  1737. "description": "验证参数Bearer和token空格拼接",
  1738. "name": "Authorization",
  1739. "in": "header",
  1740. "required": true
  1741. }
  1742. ],
  1743. "responses": {
  1744. "200": {
  1745. "description": "success",
  1746. "schema": {
  1747. "type": "string"
  1748. }
  1749. },
  1750. "400": {
  1751. "description": "具体错误",
  1752. "schema": {
  1753. "$ref": "#/definitions/md.Response"
  1754. }
  1755. }
  1756. }
  1757. }
  1758. }
  1759. },
  1760. "definitions": {
  1761. "hdl.WxOpenThirdPartyAppList": {
  1762. "type": "object",
  1763. "properties": {
  1764. "aes_key": {
  1765. "type": "string"
  1766. },
  1767. "app_secret": {
  1768. "type": "string"
  1769. },
  1770. "appid": {
  1771. "type": "string"
  1772. },
  1773. "component_access_token": {
  1774. "type": "string"
  1775. },
  1776. "component_verify_ticket": {
  1777. "type": "string"
  1778. },
  1779. "create_at": {
  1780. "type": "string"
  1781. },
  1782. "id": {
  1783. "type": "integer"
  1784. },
  1785. "token": {
  1786. "type": "string"
  1787. },
  1788. "update_at": {
  1789. "type": "string"
  1790. },
  1791. "uuid": {
  1792. "type": "integer"
  1793. }
  1794. }
  1795. },
  1796. "md.AddAdminReq": {
  1797. "type": "object",
  1798. "required": [
  1799. "password",
  1800. "username"
  1801. ],
  1802. "properties": {
  1803. "memo": {
  1804. "type": "string"
  1805. },
  1806. "password": {
  1807. "type": "string"
  1808. },
  1809. "username": {
  1810. "type": "string"
  1811. }
  1812. }
  1813. },
  1814. "md.AddRoleReq": {
  1815. "type": "object",
  1816. "required": [
  1817. "memo",
  1818. "name"
  1819. ],
  1820. "properties": {
  1821. "memo": {
  1822. "type": "string"
  1823. },
  1824. "name": {
  1825. "type": "string"
  1826. }
  1827. }
  1828. },
  1829. "md.AdminListReq": {
  1830. "type": "object",
  1831. "properties": {
  1832. "limit": {
  1833. "type": "integer"
  1834. },
  1835. "page": {
  1836. "type": "integer"
  1837. },
  1838. "state": {
  1839. "type": "integer"
  1840. },
  1841. "username": {
  1842. "type": "string"
  1843. }
  1844. }
  1845. },
  1846. "md.AgentQualificationBankData": {
  1847. "type": "object",
  1848. "properties": {
  1849. "agent_id": {
  1850. "type": "string",
  1851. "example": "代理id"
  1852. },
  1853. "bank": {
  1854. "type": "string",
  1855. "example": "开户银行"
  1856. },
  1857. "bank_branch": {
  1858. "type": "string",
  1859. "example": "开户银行分行"
  1860. },
  1861. "bank_no": {
  1862. "type": "string",
  1863. "example": "银行卡号"
  1864. },
  1865. "company_name": {
  1866. "type": "string",
  1867. "example": "公司名称"
  1868. },
  1869. "currency_conf": {
  1870. "type": "string",
  1871. "example": "结算币种 0人民币"
  1872. },
  1873. "id": {
  1874. "type": "string",
  1875. "example": "id"
  1876. },
  1877. "kind": {
  1878. "type": "string",
  1879. "example": "类型(1:企业 2:个人)"
  1880. },
  1881. "licence": {
  1882. "type": "string",
  1883. "example": "开户许可证"
  1884. },
  1885. "memo": {
  1886. "type": "string",
  1887. "example": "备注 审核时填写的"
  1888. },
  1889. "state": {
  1890. "type": "string",
  1891. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  1892. },
  1893. "unified_social_credit_code": {
  1894. "type": "string",
  1895. "example": "统一社会信用代码"
  1896. }
  1897. }
  1898. },
  1899. "md.AgentQualificationBankRes": {
  1900. "type": "object",
  1901. "properties": {
  1902. "currency_conf": {
  1903. "type": "array",
  1904. "items": {
  1905. "$ref": "#/definitions/md.SelectData"
  1906. }
  1907. },
  1908. "list": {
  1909. "type": "array",
  1910. "items": {
  1911. "$ref": "#/definitions/md.AgentQualificationBankData"
  1912. }
  1913. },
  1914. "state": {
  1915. "type": "array",
  1916. "items": {
  1917. "$ref": "#/definitions/md.SelectData"
  1918. }
  1919. },
  1920. "total": {
  1921. "type": "integer"
  1922. },
  1923. "type": {
  1924. "type": "array",
  1925. "items": {
  1926. "$ref": "#/definitions/md.SelectData"
  1927. }
  1928. }
  1929. }
  1930. },
  1931. "md.AgentQualificationContactData": {
  1932. "type": "object",
  1933. "properties": {
  1934. "address": {
  1935. "type": "string",
  1936. "example": "联系地址"
  1937. },
  1938. "agent_id": {
  1939. "type": "string",
  1940. "example": "代理id"
  1941. },
  1942. "company_name": {
  1943. "type": "string",
  1944. "example": "公司名称"
  1945. },
  1946. "email": {
  1947. "type": "string",
  1948. "example": "邮箱地址"
  1949. },
  1950. "id": {
  1951. "type": "string",
  1952. "example": "id"
  1953. },
  1954. "kind": {
  1955. "type": "string",
  1956. "example": "类型(1:企业 2:个人)"
  1957. },
  1958. "memo": {
  1959. "type": "string",
  1960. "example": "备注 审核时填写的"
  1961. },
  1962. "name": {
  1963. "type": "string",
  1964. "example": "联系人"
  1965. },
  1966. "phone": {
  1967. "type": "string",
  1968. "example": "联系电话"
  1969. },
  1970. "state": {
  1971. "type": "string",
  1972. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  1973. }
  1974. }
  1975. },
  1976. "md.AgentQualificationContactRes": {
  1977. "type": "object",
  1978. "properties": {
  1979. "list": {
  1980. "type": "array",
  1981. "items": {
  1982. "$ref": "#/definitions/md.AgentQualificationContactData"
  1983. }
  1984. },
  1985. "state": {
  1986. "type": "array",
  1987. "items": {
  1988. "$ref": "#/definitions/md.SelectData"
  1989. }
  1990. },
  1991. "total": {
  1992. "type": "integer"
  1993. }
  1994. }
  1995. },
  1996. "md.AgentQualificationEnterpriseAuditReq": {
  1997. "type": "object",
  1998. "properties": {
  1999. "agent_id": {
  2000. "type": "string"
  2001. },
  2002. "memo": {
  2003. "type": "string"
  2004. },
  2005. "state": {
  2006. "type": "string"
  2007. }
  2008. }
  2009. },
  2010. "md.AgentQualificationEnterpriseData": {
  2011. "type": "object",
  2012. "properties": {
  2013. "agent_id": {
  2014. "type": "string",
  2015. "example": "代理id"
  2016. },
  2017. "business_license_address": {
  2018. "type": "string",
  2019. "example": "营业执照地址"
  2020. },
  2021. "business_license_img_url": {
  2022. "type": "string",
  2023. "example": "营业执照照片"
  2024. },
  2025. "certificate_first_type": {
  2026. "type": "string",
  2027. "example": "证件类型 1级类目id"
  2028. },
  2029. "certificate_type": {
  2030. "type": "string",
  2031. "example": "证件类型 2级类目id"
  2032. },
  2033. "certificate_validity": {
  2034. "type": "string",
  2035. "example": "证件有效期"
  2036. },
  2037. "company_abbreviation": {
  2038. "type": "string",
  2039. "example": "公司简称"
  2040. },
  2041. "company_name": {
  2042. "type": "string",
  2043. "example": "公司名称"
  2044. },
  2045. "country_region": {
  2046. "type": "string",
  2047. "example": "国家地区"
  2048. },
  2049. "country_region_id": {
  2050. "type": "string",
  2051. "example": "国家地区id"
  2052. },
  2053. "id": {
  2054. "type": "string",
  2055. "example": "状态选择"
  2056. },
  2057. "kind": {
  2058. "type": "string",
  2059. "example": "类型(1:企业 2:个人)"
  2060. },
  2061. "legal_representative": {
  2062. "type": "string",
  2063. "example": "法定代表人"
  2064. },
  2065. "memo": {
  2066. "type": "string",
  2067. "example": "备注 审核时填写的"
  2068. },
  2069. "registered_address": {
  2070. "type": "string",
  2071. "example": "注册地址"
  2072. },
  2073. "registered_address_city_id": {
  2074. "type": "string",
  2075. "example": "注册地址-市id"
  2076. },
  2077. "registered_address_country_id": {
  2078. "type": "string",
  2079. "example": "注册地址-国家id"
  2080. },
  2081. "registered_address_county_id": {
  2082. "type": "string",
  2083. "example": "注册地址-县/区id"
  2084. },
  2085. "registered_address_province_id": {
  2086. "type": "string",
  2087. "example": "册地址-省份id"
  2088. },
  2089. "state": {
  2090. "type": "string",
  2091. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  2092. },
  2093. "unified_social_credit_code": {
  2094. "type": "string",
  2095. "example": "统一社会信用代码"
  2096. },
  2097. "uuid": {
  2098. "type": "string",
  2099. "example": "站长id"
  2100. }
  2101. }
  2102. },
  2103. "md.AgentQualificationEnterpriseReq": {
  2104. "type": "object",
  2105. "properties": {
  2106. "limit": {
  2107. "type": "string"
  2108. },
  2109. "name": {
  2110. "type": "string"
  2111. },
  2112. "page": {
  2113. "type": "string"
  2114. },
  2115. "state": {
  2116. "type": "string"
  2117. }
  2118. }
  2119. },
  2120. "md.AgentQualificationEnterpriseRes": {
  2121. "type": "object",
  2122. "properties": {
  2123. "list": {
  2124. "type": "array",
  2125. "items": {
  2126. "$ref": "#/definitions/md.AgentQualificationEnterpriseData"
  2127. }
  2128. },
  2129. "state": {
  2130. "type": "array",
  2131. "items": {
  2132. "$ref": "#/definitions/md.SelectData"
  2133. }
  2134. },
  2135. "total": {
  2136. "type": "integer"
  2137. },
  2138. "type": {
  2139. "type": "array",
  2140. "items": {
  2141. "$ref": "#/definitions/md.SelectData"
  2142. }
  2143. }
  2144. }
  2145. },
  2146. "md.AppletAddReq": {
  2147. "type": "object",
  2148. "required": [
  2149. "appid",
  2150. "logo",
  2151. "name",
  2152. "original_id"
  2153. ],
  2154. "properties": {
  2155. "appid": {
  2156. "type": "string",
  2157. "example": "授权小程序appid"
  2158. },
  2159. "logo": {
  2160. "type": "string",
  2161. "example": "小程序logo"
  2162. },
  2163. "name": {
  2164. "type": "string",
  2165. "example": "小程序名称"
  2166. },
  2167. "original_id": {
  2168. "type": "string",
  2169. "example": "授权小程序原始id"
  2170. }
  2171. }
  2172. },
  2173. "md.AppletUpdateReq": {
  2174. "type": "object",
  2175. "required": [
  2176. "id",
  2177. "logo",
  2178. "name"
  2179. ],
  2180. "properties": {
  2181. "id": {
  2182. "type": "integer"
  2183. },
  2184. "logo": {
  2185. "type": "string",
  2186. "example": "小程序logo"
  2187. },
  2188. "name": {
  2189. "type": "string",
  2190. "example": "小程序名称"
  2191. }
  2192. }
  2193. },
  2194. "md.BindAdminRoleReq": {
  2195. "type": "object",
  2196. "required": [
  2197. "adm_id"
  2198. ],
  2199. "properties": {
  2200. "adm_id": {
  2201. "type": "integer"
  2202. },
  2203. "role_ids": {
  2204. "type": "array",
  2205. "items": {
  2206. "type": "integer"
  2207. }
  2208. }
  2209. }
  2210. },
  2211. "md.LoginReq": {
  2212. "type": "object",
  2213. "required": [
  2214. "password",
  2215. "username"
  2216. ],
  2217. "properties": {
  2218. "code": {
  2219. "type": "string",
  2220. "example": "验证码"
  2221. },
  2222. "password": {
  2223. "type": "string",
  2224. "example": "登录密码"
  2225. },
  2226. "username": {
  2227. "type": "string",
  2228. "example": "登录账号"
  2229. }
  2230. }
  2231. },
  2232. "md.LoginResponse": {
  2233. "type": "object",
  2234. "properties": {
  2235. "token": {
  2236. "type": "string"
  2237. }
  2238. }
  2239. },
  2240. "md.MediumQualificationContactData": {
  2241. "type": "object",
  2242. "properties": {
  2243. "address": {
  2244. "type": "string",
  2245. "example": "联系地址"
  2246. },
  2247. "company_name": {
  2248. "type": "string",
  2249. "example": "公司名称"
  2250. },
  2251. "email": {
  2252. "type": "string",
  2253. "example": "邮箱地址"
  2254. },
  2255. "id": {
  2256. "type": "string",
  2257. "example": "id"
  2258. },
  2259. "kind": {
  2260. "type": "string",
  2261. "example": "类型(1:企业 2:个人)"
  2262. },
  2263. "medium_id": {
  2264. "type": "string",
  2265. "example": "代理id"
  2266. },
  2267. "memo": {
  2268. "type": "string",
  2269. "example": "备注 审核时填写的"
  2270. },
  2271. "name": {
  2272. "type": "string",
  2273. "example": "联系人"
  2274. },
  2275. "phone": {
  2276. "type": "string",
  2277. "example": "联系电话"
  2278. },
  2279. "state": {
  2280. "type": "string",
  2281. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  2282. }
  2283. }
  2284. },
  2285. "md.MediumQualificationContactRes": {
  2286. "type": "object",
  2287. "properties": {
  2288. "list": {
  2289. "type": "array",
  2290. "items": {
  2291. "$ref": "#/definitions/md.MediumQualificationContactData"
  2292. }
  2293. },
  2294. "state": {
  2295. "type": "array",
  2296. "items": {
  2297. "$ref": "#/definitions/md.SelectData"
  2298. }
  2299. },
  2300. "total": {
  2301. "type": "integer"
  2302. }
  2303. }
  2304. },
  2305. "md.MediumQualificationEnterpriseAuditReq": {
  2306. "type": "object",
  2307. "properties": {
  2308. "medium_id": {
  2309. "type": "string"
  2310. },
  2311. "memo": {
  2312. "type": "string"
  2313. },
  2314. "state": {
  2315. "type": "string"
  2316. }
  2317. }
  2318. },
  2319. "md.MediumQualificationEnterpriseData": {
  2320. "type": "object",
  2321. "properties": {
  2322. "business_license_address": {
  2323. "type": "string",
  2324. "example": "营业执照地址"
  2325. },
  2326. "business_license_img_url": {
  2327. "type": "string",
  2328. "example": "营业执照照片"
  2329. },
  2330. "certificate_first_type": {
  2331. "type": "string",
  2332. "example": "证件类型 1级类目id"
  2333. },
  2334. "certificate_type": {
  2335. "type": "string",
  2336. "example": "证件类型 2级类目id"
  2337. },
  2338. "certificate_validity": {
  2339. "type": "string",
  2340. "example": "证件有效期"
  2341. },
  2342. "company_abbreviation": {
  2343. "type": "string",
  2344. "example": "公司简称"
  2345. },
  2346. "company_name": {
  2347. "type": "string",
  2348. "example": "公司名称"
  2349. },
  2350. "country_region": {
  2351. "type": "string",
  2352. "example": "国家地区"
  2353. },
  2354. "country_region_id": {
  2355. "type": "string",
  2356. "example": "国家地区id"
  2357. },
  2358. "id": {
  2359. "type": "string",
  2360. "example": "状态选择"
  2361. },
  2362. "kind": {
  2363. "type": "string",
  2364. "example": "类型(1:企业 2:个人)"
  2365. },
  2366. "legal_representative": {
  2367. "type": "string",
  2368. "example": "法定代表人"
  2369. },
  2370. "medium_id": {
  2371. "type": "string",
  2372. "example": "代理id"
  2373. },
  2374. "memo": {
  2375. "type": "string",
  2376. "example": "备注 审核时填写的"
  2377. },
  2378. "registered_address": {
  2379. "type": "string",
  2380. "example": "注册地址"
  2381. },
  2382. "registered_address_city_id": {
  2383. "type": "string",
  2384. "example": "注册地址-市id"
  2385. },
  2386. "registered_address_country_id": {
  2387. "type": "string",
  2388. "example": "注册地址-国家id"
  2389. },
  2390. "registered_address_county_id": {
  2391. "type": "string",
  2392. "example": "注册地址-县/区id"
  2393. },
  2394. "registered_address_province_id": {
  2395. "type": "string",
  2396. "example": "册地址-省份id"
  2397. },
  2398. "state": {
  2399. "type": "string",
  2400. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  2401. },
  2402. "unified_social_credit_code": {
  2403. "type": "string",
  2404. "example": "统一社会信用代码"
  2405. },
  2406. "uuid": {
  2407. "type": "string",
  2408. "example": "站长id"
  2409. }
  2410. }
  2411. },
  2412. "md.MediumQualificationEnterpriseReq": {
  2413. "type": "object",
  2414. "properties": {
  2415. "limit": {
  2416. "type": "string"
  2417. },
  2418. "name": {
  2419. "type": "string"
  2420. },
  2421. "page": {
  2422. "type": "string"
  2423. },
  2424. "state": {
  2425. "type": "string"
  2426. }
  2427. }
  2428. },
  2429. "md.MediumQualificationEnterpriseRes": {
  2430. "type": "object",
  2431. "properties": {
  2432. "list": {
  2433. "type": "array",
  2434. "items": {
  2435. "$ref": "#/definitions/md.MediumQualificationEnterpriseData"
  2436. }
  2437. },
  2438. "state": {
  2439. "type": "array",
  2440. "items": {
  2441. "$ref": "#/definitions/md.SelectData"
  2442. }
  2443. },
  2444. "total": {
  2445. "type": "integer"
  2446. },
  2447. "type": {
  2448. "type": "array",
  2449. "items": {
  2450. "$ref": "#/definitions/md.SelectData"
  2451. }
  2452. }
  2453. }
  2454. },
  2455. "md.QiNiuBucketRegion": {
  2456. "type": "object",
  2457. "properties": {
  2458. "region_domain": {
  2459. "type": "string",
  2460. "example": "区域域名"
  2461. },
  2462. "region_id": {
  2463. "type": "string",
  2464. "example": "区域id"
  2465. },
  2466. "region_name": {
  2467. "type": "string",
  2468. "example": "区域名称"
  2469. }
  2470. }
  2471. },
  2472. "md.RegisterForAgentReq": {
  2473. "type": "object",
  2474. "required": [
  2475. "password",
  2476. "phone"
  2477. ],
  2478. "properties": {
  2479. "code": {
  2480. "type": "string",
  2481. "example": "验证码"
  2482. },
  2483. "password": {
  2484. "type": "string",
  2485. "example": "登录密码"
  2486. },
  2487. "phone": {
  2488. "type": "string",
  2489. "example": "登录账号"
  2490. }
  2491. }
  2492. },
  2493. "md.RegisterForMediumReq": {
  2494. "type": "object",
  2495. "required": [
  2496. "password",
  2497. "phone"
  2498. ],
  2499. "properties": {
  2500. "code": {
  2501. "type": "string",
  2502. "example": "验证码"
  2503. },
  2504. "password": {
  2505. "type": "string",
  2506. "example": "登录密码"
  2507. },
  2508. "phone": {
  2509. "type": "string",
  2510. "example": "登录账号"
  2511. }
  2512. }
  2513. },
  2514. "md.Response": {
  2515. "type": "object",
  2516. "properties": {
  2517. "code": {
  2518. "type": "string",
  2519. "example": "响应码"
  2520. },
  2521. "data": {
  2522. "description": "内容"
  2523. },
  2524. "msg": {
  2525. "type": "string",
  2526. "example": "具体错误原因"
  2527. }
  2528. }
  2529. },
  2530. "md.RoleBindPermissionGroupReq": {
  2531. "type": "object",
  2532. "required": [
  2533. "role_id"
  2534. ],
  2535. "properties": {
  2536. "permission_ids": {
  2537. "type": "array",
  2538. "items": {
  2539. "type": "integer"
  2540. }
  2541. },
  2542. "role_id": {
  2543. "type": "integer"
  2544. }
  2545. }
  2546. },
  2547. "md.SelectData": {
  2548. "type": "object",
  2549. "properties": {
  2550. "name": {
  2551. "type": "string",
  2552. "example": "名称"
  2553. },
  2554. "value": {
  2555. "type": "string",
  2556. "example": "值"
  2557. }
  2558. }
  2559. },
  2560. "md.SetOssReq": {
  2561. "type": "object",
  2562. "required": [
  2563. "file_access_key",
  2564. "file_bucket",
  2565. "file_bucket_host",
  2566. "file_bucket_region",
  2567. "file_secret_key"
  2568. ],
  2569. "properties": {
  2570. "file_access_key": {
  2571. "type": "string",
  2572. "example": "对象存储AccessToken"
  2573. },
  2574. "file_bucket": {
  2575. "type": "string",
  2576. "example": "对象存储bucket(空间)"
  2577. },
  2578. "file_bucket_host": {
  2579. "type": "string",
  2580. "example": "对象存储域名"
  2581. },
  2582. "file_bucket_region": {
  2583. "type": "string",
  2584. "example": "文件所属区域"
  2585. },
  2586. "file_secret_key": {
  2587. "type": "string",
  2588. "example": "对象存储SecretToken"
  2589. }
  2590. }
  2591. },
  2592. "md.SetOssResp": {
  2593. "type": "object",
  2594. "properties": {
  2595. "data": {
  2596. "description": "数据内容",
  2597. "allOf": [
  2598. {
  2599. "$ref": "#/definitions/md.SetOssReq"
  2600. }
  2601. ]
  2602. },
  2603. "qi_niu_bucket_region_list": {
  2604. "description": "七牛云存储区域列表",
  2605. "type": "array",
  2606. "items": {
  2607. "$ref": "#/definitions/md.QiNiuBucketRegion"
  2608. }
  2609. }
  2610. }
  2611. },
  2612. "md.ShareIndexResp": {
  2613. "type": "object",
  2614. "properties": {
  2615. "agent_domain": {
  2616. "type": "string",
  2617. "example": "代理分享地址"
  2618. },
  2619. "master_id": {
  2620. "type": "string"
  2621. },
  2622. "medium_domain": {
  2623. "type": "string",
  2624. "example": "媒体分享地址"
  2625. }
  2626. }
  2627. },
  2628. "md.UpdateAdminReq": {
  2629. "type": "object",
  2630. "required": [
  2631. "adm_id",
  2632. "password",
  2633. "username"
  2634. ],
  2635. "properties": {
  2636. "adm_id": {
  2637. "type": "integer"
  2638. },
  2639. "memo": {
  2640. "type": "string"
  2641. },
  2642. "password": {
  2643. "type": "string"
  2644. },
  2645. "username": {
  2646. "type": "string"
  2647. }
  2648. }
  2649. },
  2650. "md.UpdateAdminStateReq": {
  2651. "type": "object",
  2652. "required": [
  2653. "adm_id",
  2654. "state"
  2655. ],
  2656. "properties": {
  2657. "adm_id": {
  2658. "type": "integer"
  2659. },
  2660. "state": {
  2661. "type": "integer"
  2662. }
  2663. }
  2664. },
  2665. "md.UpdateRoleReq": {
  2666. "type": "object",
  2667. "required": [
  2668. "memo",
  2669. "name",
  2670. "role_id"
  2671. ],
  2672. "properties": {
  2673. "memo": {
  2674. "type": "string"
  2675. },
  2676. "name": {
  2677. "type": "string"
  2678. },
  2679. "role_id": {
  2680. "type": "integer"
  2681. }
  2682. }
  2683. },
  2684. "md.UpdateRoleStateReq": {
  2685. "type": "object",
  2686. "required": [
  2687. "role_id",
  2688. "state"
  2689. ],
  2690. "properties": {
  2691. "role_id": {
  2692. "type": "integer"
  2693. },
  2694. "state": {
  2695. "type": "integer"
  2696. }
  2697. }
  2698. },
  2699. "md.WxOpenGetResp": {
  2700. "type": "object",
  2701. "properties": {
  2702. "aes_key": {
  2703. "type": "string",
  2704. "example": "消息加解密Key"
  2705. },
  2706. "app_secret": {
  2707. "type": "string",
  2708. "example": "appSecret"
  2709. },
  2710. "appid": {
  2711. "type": "string",
  2712. "example": "appid"
  2713. },
  2714. "token": {
  2715. "type": "string",
  2716. "example": "消息校验Token"
  2717. },
  2718. "wx_open_applet_server_domain": {
  2719. "type": "string",
  2720. "example": "微信开放平台-小程序服务器域名"
  2721. },
  2722. "wx_open_authorization_event_receiving_configuration": {
  2723. "type": "string",
  2724. "example": "微信开放平台-授权事件接收配置"
  2725. },
  2726. "wx_open_domain_of_the_initiating_page_for_login_authorization": {
  2727. "type": "string",
  2728. "example": "微信开放平台-登录授权的发起页域名"
  2729. },
  2730. "wx_open_message_and_event_reception_configuration": {
  2731. "type": "string",
  2732. "example": "微信开放平台-消息与事件接收配置"
  2733. },
  2734. "wx_open_white_list_ip": {
  2735. "type": "string",
  2736. "example": "微信开放平台-白名单ip"
  2737. }
  2738. }
  2739. },
  2740. "md.WxOpenSetReq": {
  2741. "type": "object",
  2742. "required": [
  2743. "aes_key",
  2744. "app_secret",
  2745. "appid",
  2746. "token"
  2747. ],
  2748. "properties": {
  2749. "aes_key": {
  2750. "type": "string",
  2751. "example": "消息加解密Key"
  2752. },
  2753. "app_secret": {
  2754. "type": "string",
  2755. "example": "appSecret"
  2756. },
  2757. "appid": {
  2758. "type": "string",
  2759. "example": "appid"
  2760. },
  2761. "token": {
  2762. "type": "string",
  2763. "example": "消息校验Token"
  2764. }
  2765. }
  2766. }
  2767. },
  2768. "securityDefinitions": {
  2769. "MasterID": {
  2770. "type": "apiKey",
  2771. "name": "MasterID",
  2772. "in": "header"
  2773. }
  2774. }
  2775. }