广告平台(媒体使用)
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 

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