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

3322 lines
108 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/output": {
  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.DataCenterRecordOutPutReq"
  585. }
  586. }
  587. ],
  588. "responses": {
  589. "200": {
  590. "description": "具体看返回内容 这是data里面的数据",
  591. "schema": {
  592. "type": "string"
  593. }
  594. },
  595. "400": {
  596. "description": "具体错误",
  597. "schema": {
  598. "$ref": "#/definitions/md.Response"
  599. }
  600. }
  601. }
  602. }
  603. },
  604. "/api/dataCenter/record/total": {
  605. "post": {
  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. "description": "请求参数",
  627. "name": "args",
  628. "in": "body",
  629. "required": true,
  630. "schema": {
  631. "$ref": "#/definitions/md.DataCenterTableReq"
  632. }
  633. }
  634. ],
  635. "responses": {
  636. "200": {
  637. "description": "具体看返回内容 这是data里面的数据",
  638. "schema": {
  639. "$ref": "#/definitions/md.DataCenterTotalData"
  640. }
  641. },
  642. "400": {
  643. "description": "具体错误",
  644. "schema": {
  645. "$ref": "#/definitions/md.Response"
  646. }
  647. }
  648. }
  649. }
  650. },
  651. "/api/dataCenter/select/data": {
  652. "get": {
  653. "description": "数据中心-筛选条件",
  654. "consumes": [
  655. "application/json"
  656. ],
  657. "produces": [
  658. "application/json"
  659. ],
  660. "tags": [
  661. "数据中心------嘉俊"
  662. ],
  663. "summary": "筛选条件",
  664. "parameters": [
  665. {
  666. "type": "string",
  667. "description": "验证参数Bearer和token空格拼接",
  668. "name": "Authorization",
  669. "in": "header",
  670. "required": true
  671. }
  672. ],
  673. "responses": {
  674. "200": {
  675. "description": "具体看返回内容 这是data里面的数据",
  676. "schema": {
  677. "type": "string"
  678. }
  679. },
  680. "400": {
  681. "description": "具体错误",
  682. "schema": {
  683. "$ref": "#/definitions/md.Response"
  684. }
  685. }
  686. }
  687. }
  688. },
  689. "/api/dataCenter/table": {
  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.DataCenterTableReq"
  717. }
  718. }
  719. ],
  720. "responses": {
  721. "200": {
  722. "description": "具体看返回内容 这是data里面的数据",
  723. "schema": {
  724. "$ref": "#/definitions/md.DataCenterTableRes"
  725. }
  726. },
  727. "400": {
  728. "description": "具体错误",
  729. "schema": {
  730. "$ref": "#/definitions/md.Response"
  731. }
  732. }
  733. }
  734. }
  735. },
  736. "/api/index/app/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.IndexAppListReq"
  764. }
  765. }
  766. ],
  767. "responses": {
  768. "200": {
  769. "description": "具体看返回内容 这是data里面的数据",
  770. "schema": {
  771. "$ref": "#/definitions/md.IndexAppListRes"
  772. }
  773. },
  774. "400": {
  775. "description": "具体错误",
  776. "schema": {
  777. "$ref": "#/definitions/md.Response"
  778. }
  779. }
  780. }
  781. }
  782. },
  783. "/api/index/base": {
  784. "get": {
  785. "description": "首页-右上角基本数据",
  786. "consumes": [
  787. "application/json"
  788. ],
  789. "produces": [
  790. "application/json"
  791. ],
  792. "tags": [
  793. "首页------嘉俊"
  794. ],
  795. "summary": "右上角基本数据",
  796. "parameters": [
  797. {
  798. "type": "string",
  799. "description": "验证参数Bearer和token空格拼接",
  800. "name": "Authorization",
  801. "in": "header",
  802. "required": true
  803. }
  804. ],
  805. "responses": {
  806. "200": {
  807. "description": "具体看返回内容 这是data里面的数据",
  808. "schema": {
  809. "type": "string"
  810. }
  811. },
  812. "400": {
  813. "description": "具体错误",
  814. "schema": {
  815. "$ref": "#/definitions/md.Response"
  816. }
  817. }
  818. }
  819. }
  820. },
  821. "/api/index/total": {
  822. "get": {
  823. "description": "首页-统计数据",
  824. "consumes": [
  825. "application/json"
  826. ],
  827. "produces": [
  828. "application/json"
  829. ],
  830. "tags": [
  831. "首页------嘉俊"
  832. ],
  833. "summary": "统计数据",
  834. "parameters": [
  835. {
  836. "type": "string",
  837. "description": "验证参数Bearer和token空格拼接",
  838. "name": "Authorization",
  839. "in": "header",
  840. "required": true
  841. }
  842. ],
  843. "responses": {
  844. "200": {
  845. "description": "具体看返回内容 这是data里面的数据",
  846. "schema": {
  847. "type": "string"
  848. }
  849. },
  850. "400": {
  851. "description": "具体错误",
  852. "schema": {
  853. "$ref": "#/definitions/md.Response"
  854. }
  855. }
  856. }
  857. }
  858. },
  859. "/api/invoiceCenter/detail": {
  860. "post": {
  861. "description": "发票中心-发票详情",
  862. "consumes": [
  863. "application/json"
  864. ],
  865. "produces": [
  866. "application/json"
  867. ],
  868. "tags": [
  869. "发票中心------嘉俊"
  870. ],
  871. "summary": "发票详情",
  872. "parameters": [
  873. {
  874. "type": "string",
  875. "description": "验证参数Bearer和token空格拼接",
  876. "name": "Authorization",
  877. "in": "header",
  878. "required": true
  879. },
  880. {
  881. "description": "请求参数",
  882. "name": "args",
  883. "in": "body",
  884. "required": true,
  885. "schema": {
  886. "$ref": "#/definitions/md.CommDetailReq"
  887. }
  888. }
  889. ],
  890. "responses": {
  891. "200": {
  892. "description": "具体看返回内容 这是data里面的数据",
  893. "schema": {
  894. "$ref": "#/definitions/md.InvoiceCenterDataDetailRes"
  895. }
  896. },
  897. "400": {
  898. "description": "具体错误",
  899. "schema": {
  900. "$ref": "#/definitions/md.Response"
  901. }
  902. }
  903. }
  904. }
  905. },
  906. "/api/invoiceCenter/list": {
  907. "post": {
  908. "description": "发票中心-发票列表",
  909. "consumes": [
  910. "application/json"
  911. ],
  912. "produces": [
  913. "application/json"
  914. ],
  915. "tags": [
  916. "发票中心------嘉俊"
  917. ],
  918. "summary": "发票列表",
  919. "parameters": [
  920. {
  921. "type": "string",
  922. "description": "验证参数Bearer和token空格拼接",
  923. "name": "Authorization",
  924. "in": "header",
  925. "required": true
  926. },
  927. {
  928. "description": "请求参数",
  929. "name": "args",
  930. "in": "body",
  931. "required": true,
  932. "schema": {
  933. "$ref": "#/definitions/md.InvoiceCenterDataReq"
  934. }
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "具体看返回内容 这是data里面的数据",
  940. "schema": {
  941. "$ref": "#/definitions/md.InvoiceCenterDataRes"
  942. }
  943. },
  944. "400": {
  945. "description": "具体错误",
  946. "schema": {
  947. "$ref": "#/definitions/md.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/api/login": {
  954. "post": {
  955. "description": "登入",
  956. "consumes": [
  957. "application/json"
  958. ],
  959. "produces": [
  960. "application/json"
  961. ],
  962. "tags": [
  963. "ADMIN"
  964. ],
  965. "summary": "登陆",
  966. "parameters": [
  967. {
  968. "description": "用户名、密码",
  969. "name": "req",
  970. "in": "body",
  971. "required": true,
  972. "schema": {
  973. "$ref": "#/definitions/md.LoginReq"
  974. }
  975. }
  976. ],
  977. "responses": {
  978. "200": {
  979. "description": "token",
  980. "schema": {
  981. "$ref": "#/definitions/md.LoginResponse"
  982. }
  983. },
  984. "400": {
  985. "description": "具体错误",
  986. "schema": {
  987. "$ref": "#/definitions/md.Response"
  988. }
  989. }
  990. }
  991. }
  992. },
  993. "/api/login/phone": {
  994. "post": {
  995. "description": "手机号登入",
  996. "consumes": [
  997. "application/json"
  998. ],
  999. "produces": [
  1000. "application/json"
  1001. ],
  1002. "tags": [
  1003. "ADMIN"
  1004. ],
  1005. "summary": "手机号登陆",
  1006. "parameters": [
  1007. {
  1008. "description": "用户名、验证码",
  1009. "name": "req",
  1010. "in": "body",
  1011. "required": true,
  1012. "schema": {
  1013. "$ref": "#/definitions/md.LoginPhoneReq"
  1014. }
  1015. }
  1016. ],
  1017. "responses": {
  1018. "200": {
  1019. "description": "token",
  1020. "schema": {
  1021. "$ref": "#/definitions/md.LoginResponse"
  1022. }
  1023. },
  1024. "400": {
  1025. "description": "具体错误",
  1026. "schema": {
  1027. "$ref": "#/definitions/md.Response"
  1028. }
  1029. }
  1030. }
  1031. }
  1032. },
  1033. "/api/qiniuyun/upload": {
  1034. "post": {
  1035. "description": "七牛云-七牛云上传",
  1036. "consumes": [
  1037. "application/json"
  1038. ],
  1039. "produces": [
  1040. "application/json"
  1041. ],
  1042. "tags": [
  1043. "七牛云"
  1044. ],
  1045. "summary": "七牛云上传",
  1046. "parameters": [
  1047. {
  1048. "type": "string",
  1049. "description": "验证参数Bearer和token空格拼接",
  1050. "name": "Authorization",
  1051. "in": "header"
  1052. },
  1053. {
  1054. "description": "请求参数",
  1055. "name": "args",
  1056. "in": "body",
  1057. "required": true,
  1058. "schema": {
  1059. "$ref": "#/definitions/md.ImgReqUpload"
  1060. }
  1061. }
  1062. ],
  1063. "responses": {
  1064. "200": {
  1065. "description": "success",
  1066. "schema": {
  1067. "type": "string"
  1068. }
  1069. },
  1070. "400": {
  1071. "description": "具体错误",
  1072. "schema": {
  1073. "$ref": "#/definitions/md.Response"
  1074. }
  1075. }
  1076. }
  1077. }
  1078. },
  1079. "/api/register": {
  1080. "post": {
  1081. "description": "手机号注册",
  1082. "consumes": [
  1083. "application/json"
  1084. ],
  1085. "produces": [
  1086. "application/json"
  1087. ],
  1088. "tags": [
  1089. "ADMIN"
  1090. ],
  1091. "summary": "手机号注册",
  1092. "parameters": [
  1093. {
  1094. "description": "用户名、验证码",
  1095. "name": "req",
  1096. "in": "body",
  1097. "required": true,
  1098. "schema": {
  1099. "$ref": "#/definitions/md.LoginReq"
  1100. }
  1101. }
  1102. ],
  1103. "responses": {
  1104. "200": {
  1105. "description": "token",
  1106. "schema": {
  1107. "$ref": "#/definitions/md.LoginResponse"
  1108. }
  1109. },
  1110. "400": {
  1111. "description": "具体错误",
  1112. "schema": {
  1113. "$ref": "#/definitions/md.Response"
  1114. }
  1115. }
  1116. }
  1117. }
  1118. },
  1119. "/api/role/addAdmin": {
  1120. "post": {
  1121. "description": "新增管理员",
  1122. "consumes": [
  1123. "application/json"
  1124. ],
  1125. "produces": [
  1126. "application/json"
  1127. ],
  1128. "tags": [
  1129. "ADMIN-权限管理"
  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.AddAdminReq"
  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/addRole": {
  1167. "post": {
  1168. "description": "添加角色",
  1169. "consumes": [
  1170. "application/json"
  1171. ],
  1172. "produces": [
  1173. "application/json"
  1174. ],
  1175. "tags": [
  1176. "ADMIN-权限管理"
  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.AddRoleReq"
  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/adminInfo": {
  1214. "get": {
  1215. "description": "管理员信息",
  1216. "consumes": [
  1217. "application/json"
  1218. ],
  1219. "produces": [
  1220. "application/json"
  1221. ],
  1222. "tags": [
  1223. "ADMIN-权限管理"
  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. "type": "string",
  1236. "description": "管理员id",
  1237. "name": "adm_id",
  1238. "in": "query",
  1239. "required": true
  1240. }
  1241. ],
  1242. "responses": {
  1243. "200": {
  1244. "description": "具体看返回内容",
  1245. "schema": {
  1246. "type": "string"
  1247. }
  1248. },
  1249. "400": {
  1250. "description": "具体错误",
  1251. "schema": {
  1252. "$ref": "#/definitions/md.Response"
  1253. }
  1254. }
  1255. }
  1256. }
  1257. },
  1258. "/api/role/adminList": {
  1259. "post": {
  1260. "description": "管理员列表",
  1261. "consumes": [
  1262. "application/json"
  1263. ],
  1264. "produces": [
  1265. "application/json"
  1266. ],
  1267. "tags": [
  1268. "ADMIN-权限管理"
  1269. ],
  1270. "summary": "管理员列表",
  1271. "parameters": [
  1272. {
  1273. "type": "string",
  1274. "description": "验证参数Bearer和token空格拼接",
  1275. "name": "Authorization",
  1276. "in": "header",
  1277. "required": true
  1278. },
  1279. {
  1280. "description": "请求参数",
  1281. "name": "args",
  1282. "in": "body",
  1283. "required": true,
  1284. "schema": {
  1285. "$ref": "#/definitions/md.AdminListReq"
  1286. }
  1287. }
  1288. ],
  1289. "responses": {
  1290. "200": {
  1291. "description": "具体看返回内容",
  1292. "schema": {
  1293. "type": "string"
  1294. }
  1295. },
  1296. "400": {
  1297. "description": "具体错误",
  1298. "schema": {
  1299. "$ref": "#/definitions/md.Response"
  1300. }
  1301. }
  1302. }
  1303. }
  1304. },
  1305. "/api/role/bindAdminRole/": {
  1306. "post": {
  1307. "description": "管理员绑定角色",
  1308. "consumes": [
  1309. "application/json"
  1310. ],
  1311. "produces": [
  1312. "application/json"
  1313. ],
  1314. "tags": [
  1315. "ADMIN-权限管理"
  1316. ],
  1317. "summary": "管理员绑定角色",
  1318. "parameters": [
  1319. {
  1320. "type": "string",
  1321. "description": "验证参数Bearer和token空格拼接",
  1322. "name": "Authorization",
  1323. "in": "header",
  1324. "required": true
  1325. },
  1326. {
  1327. "description": "请求参数",
  1328. "name": "args",
  1329. "in": "body",
  1330. "required": true,
  1331. "schema": {
  1332. "$ref": "#/definitions/md.BindAdminRoleReq"
  1333. }
  1334. }
  1335. ],
  1336. "responses": {
  1337. "200": {
  1338. "description": "success",
  1339. "schema": {
  1340. "type": "string"
  1341. }
  1342. },
  1343. "400": {
  1344. "description": "具体错误",
  1345. "schema": {
  1346. "$ref": "#/definitions/md.Response"
  1347. }
  1348. }
  1349. }
  1350. }
  1351. },
  1352. "/api/role/deleteAdmin/{$adm_id}": {
  1353. "delete": {
  1354. "description": "删除管理员",
  1355. "consumes": [
  1356. "application/json"
  1357. ],
  1358. "produces": [
  1359. "application/json"
  1360. ],
  1361. "tags": [
  1362. "ADMIN-权限管理"
  1363. ],
  1364. "summary": "删除管理员",
  1365. "parameters": [
  1366. {
  1367. "type": "string",
  1368. "description": "验证参数Bearer和token空格拼接",
  1369. "name": "Authorization",
  1370. "in": "header",
  1371. "required": true
  1372. }
  1373. ],
  1374. "responses": {
  1375. "200": {
  1376. "description": "success",
  1377. "schema": {
  1378. "type": "string"
  1379. }
  1380. },
  1381. "400": {
  1382. "description": "具体错误",
  1383. "schema": {
  1384. "$ref": "#/definitions/md.Response"
  1385. }
  1386. }
  1387. }
  1388. }
  1389. },
  1390. "/api/role/deleteRole/{$id}": {
  1391. "delete": {
  1392. "description": "删除角色",
  1393. "consumes": [
  1394. "application/json"
  1395. ],
  1396. "produces": [
  1397. "application/json"
  1398. ],
  1399. "tags": [
  1400. "ADMIN-权限管理"
  1401. ],
  1402. "summary": "删除角色",
  1403. "parameters": [
  1404. {
  1405. "type": "string",
  1406. "description": "验证参数Bearer和token空格拼接",
  1407. "name": "Authorization",
  1408. "in": "header",
  1409. "required": true
  1410. },
  1411. {
  1412. "description": "请求参数",
  1413. "name": "args",
  1414. "in": "body",
  1415. "required": true,
  1416. "schema": {
  1417. "$ref": "#/definitions/md.UpdateRoleStateReq"
  1418. }
  1419. }
  1420. ],
  1421. "responses": {
  1422. "200": {
  1423. "description": "success",
  1424. "schema": {
  1425. "type": "string"
  1426. }
  1427. },
  1428. "400": {
  1429. "description": "具体错误",
  1430. "schema": {
  1431. "$ref": "#/definitions/md.Response"
  1432. }
  1433. }
  1434. }
  1435. }
  1436. },
  1437. "/api/role/permissionGroupList": {
  1438. "get": {
  1439. "description": "权限组列表",
  1440. "consumes": [
  1441. "application/json"
  1442. ],
  1443. "produces": [
  1444. "application/json"
  1445. ],
  1446. "tags": [
  1447. "ADMIN-权限管理"
  1448. ],
  1449. "summary": "权限组列表",
  1450. "parameters": [
  1451. {
  1452. "type": "string",
  1453. "description": "验证参数Bearer和token空格拼接",
  1454. "name": "Authorization",
  1455. "in": "header",
  1456. "required": true
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "管理员id",
  1461. "name": "adm_id",
  1462. "in": "query",
  1463. "required": true
  1464. }
  1465. ],
  1466. "responses": {
  1467. "200": {
  1468. "description": "具体看返回内容",
  1469. "schema": {
  1470. "type": "string"
  1471. }
  1472. },
  1473. "400": {
  1474. "description": "具体错误",
  1475. "schema": {
  1476. "$ref": "#/definitions/md.Response"
  1477. }
  1478. }
  1479. }
  1480. }
  1481. },
  1482. "/api/role/roleBindPermissionGroup": {
  1483. "post": {
  1484. "description": "角色绑定权限组",
  1485. "consumes": [
  1486. "application/json"
  1487. ],
  1488. "produces": [
  1489. "application/json"
  1490. ],
  1491. "tags": [
  1492. "ADMIN-权限管理"
  1493. ],
  1494. "summary": "角色绑定权限组",
  1495. "parameters": [
  1496. {
  1497. "type": "string",
  1498. "description": "验证参数Bearer和token空格拼接",
  1499. "name": "Authorization",
  1500. "in": "header",
  1501. "required": true
  1502. },
  1503. {
  1504. "description": "请求参数",
  1505. "name": "args",
  1506. "in": "body",
  1507. "required": true,
  1508. "schema": {
  1509. "$ref": "#/definitions/md.RoleBindPermissionGroupReq"
  1510. }
  1511. }
  1512. ],
  1513. "responses": {
  1514. "200": {
  1515. "description": "success",
  1516. "schema": {
  1517. "type": "string"
  1518. }
  1519. },
  1520. "400": {
  1521. "description": "具体错误",
  1522. "schema": {
  1523. "$ref": "#/definitions/md.Response"
  1524. }
  1525. }
  1526. }
  1527. }
  1528. },
  1529. "/api/role/roleList": {
  1530. "get": {
  1531. "description": "角色列表",
  1532. "consumes": [
  1533. "application/json"
  1534. ],
  1535. "produces": [
  1536. "application/json"
  1537. ],
  1538. "tags": [
  1539. "ADMIN-权限管理"
  1540. ],
  1541. "summary": "角色列表",
  1542. "parameters": [
  1543. {
  1544. "type": "string",
  1545. "description": "验证参数Bearer和token空格拼接",
  1546. "name": "Authorization",
  1547. "in": "header",
  1548. "required": true
  1549. }
  1550. ],
  1551. "responses": {
  1552. "200": {
  1553. "description": "具体看返回内容",
  1554. "schema": {
  1555. "type": "string"
  1556. }
  1557. },
  1558. "400": {
  1559. "description": "具体错误",
  1560. "schema": {
  1561. "$ref": "#/definitions/md.Response"
  1562. }
  1563. }
  1564. }
  1565. }
  1566. },
  1567. "/api/role/updateAdmin": {
  1568. "post": {
  1569. "description": "修改管理员信息",
  1570. "consumes": [
  1571. "application/json"
  1572. ],
  1573. "produces": [
  1574. "application/json"
  1575. ],
  1576. "tags": [
  1577. "ADMIN-权限管理"
  1578. ],
  1579. "summary": "修改管理员信息",
  1580. "parameters": [
  1581. {
  1582. "type": "string",
  1583. "description": "验证参数Bearer和token空格拼接",
  1584. "name": "Authorization",
  1585. "in": "header",
  1586. "required": true
  1587. },
  1588. {
  1589. "description": "请求参数",
  1590. "name": "args",
  1591. "in": "body",
  1592. "required": true,
  1593. "schema": {
  1594. "$ref": "#/definitions/md.UpdateAdminReq"
  1595. }
  1596. }
  1597. ],
  1598. "responses": {
  1599. "200": {
  1600. "description": "success",
  1601. "schema": {
  1602. "type": "string"
  1603. }
  1604. },
  1605. "400": {
  1606. "description": "具体错误",
  1607. "schema": {
  1608. "$ref": "#/definitions/md.Response"
  1609. }
  1610. }
  1611. }
  1612. }
  1613. },
  1614. "/api/role/updateAdminState": {
  1615. "post": {
  1616. "description": "修改管理员状态",
  1617. "consumes": [
  1618. "application/json"
  1619. ],
  1620. "produces": [
  1621. "application/json"
  1622. ],
  1623. "tags": [
  1624. "ADMIN-权限管理"
  1625. ],
  1626. "summary": "修改管理员状态",
  1627. "parameters": [
  1628. {
  1629. "type": "string",
  1630. "description": "验证参数Bearer和token空格拼接",
  1631. "name": "Authorization",
  1632. "in": "header",
  1633. "required": true
  1634. },
  1635. {
  1636. "description": "请求参数",
  1637. "name": "args",
  1638. "in": "body",
  1639. "required": true,
  1640. "schema": {
  1641. "$ref": "#/definitions/md.UpdateAdminStateReq"
  1642. }
  1643. }
  1644. ],
  1645. "responses": {
  1646. "200": {
  1647. "description": "success",
  1648. "schema": {
  1649. "type": "string"
  1650. }
  1651. },
  1652. "400": {
  1653. "description": "具体错误",
  1654. "schema": {
  1655. "$ref": "#/definitions/md.Response"
  1656. }
  1657. }
  1658. }
  1659. }
  1660. },
  1661. "/api/role/updateRole": {
  1662. "post": {
  1663. "description": "修改角色",
  1664. "consumes": [
  1665. "application/json"
  1666. ],
  1667. "produces": [
  1668. "application/json"
  1669. ],
  1670. "tags": [
  1671. "ADMIN-权限管理"
  1672. ],
  1673. "summary": "修改角色",
  1674. "parameters": [
  1675. {
  1676. "type": "string",
  1677. "description": "验证参数Bearer和token空格拼接",
  1678. "name": "Authorization",
  1679. "in": "header",
  1680. "required": true
  1681. },
  1682. {
  1683. "description": "请求参数",
  1684. "name": "args",
  1685. "in": "body",
  1686. "required": true,
  1687. "schema": {
  1688. "$ref": "#/definitions/md.UpdateRoleReq"
  1689. }
  1690. }
  1691. ],
  1692. "responses": {
  1693. "200": {
  1694. "description": "success",
  1695. "schema": {
  1696. "type": "string"
  1697. }
  1698. },
  1699. "400": {
  1700. "description": "具体错误",
  1701. "schema": {
  1702. "$ref": "#/definitions/md.Response"
  1703. }
  1704. }
  1705. }
  1706. }
  1707. },
  1708. "/api/role/updateRoleState": {
  1709. "post": {
  1710. "description": "修改角色状态",
  1711. "consumes": [
  1712. "application/json"
  1713. ],
  1714. "produces": [
  1715. "application/json"
  1716. ],
  1717. "tags": [
  1718. "ADMIN-权限管理"
  1719. ],
  1720. "summary": "修改角色状态",
  1721. "parameters": [
  1722. {
  1723. "type": "string",
  1724. "description": "验证参数Bearer和token空格拼接",
  1725. "name": "Authorization",
  1726. "in": "header",
  1727. "required": true
  1728. },
  1729. {
  1730. "description": "请求参数",
  1731. "name": "args",
  1732. "in": "body",
  1733. "required": true,
  1734. "schema": {
  1735. "$ref": "#/definitions/md.UpdateRoleStateReq"
  1736. }
  1737. }
  1738. ],
  1739. "responses": {
  1740. "200": {
  1741. "description": "success",
  1742. "schema": {
  1743. "type": "string"
  1744. }
  1745. },
  1746. "400": {
  1747. "description": "具体错误",
  1748. "schema": {
  1749. "$ref": "#/definitions/md.Response"
  1750. }
  1751. }
  1752. }
  1753. }
  1754. },
  1755. "/api/settleCenter/detail": {
  1756. "post": {
  1757. "description": "结算中心-结算报表-详情",
  1758. "consumes": [
  1759. "application/json"
  1760. ],
  1761. "produces": [
  1762. "application/json"
  1763. ],
  1764. "tags": [
  1765. "结算中心------嘉俊"
  1766. ],
  1767. "summary": "结算报表-详情",
  1768. "parameters": [
  1769. {
  1770. "type": "string",
  1771. "description": "验证参数Bearer和token空格拼接",
  1772. "name": "Authorization",
  1773. "in": "header",
  1774. "required": true
  1775. },
  1776. {
  1777. "description": "请求参数",
  1778. "name": "args",
  1779. "in": "body",
  1780. "required": true,
  1781. "schema": {
  1782. "$ref": "#/definitions/md.CommDetailReq"
  1783. }
  1784. }
  1785. ],
  1786. "responses": {
  1787. "200": {
  1788. "description": "具体看返回内容 这是data里面的数据",
  1789. "schema": {
  1790. "$ref": "#/definitions/md.SettleCenterDataDetailRes"
  1791. }
  1792. },
  1793. "400": {
  1794. "description": "具体错误",
  1795. "schema": {
  1796. "$ref": "#/definitions/md.Response"
  1797. }
  1798. }
  1799. }
  1800. }
  1801. },
  1802. "/api/settleCenter/invoice/save": {
  1803. "post": {
  1804. "description": "财务中心-媒体详情-发票上传",
  1805. "consumes": [
  1806. "application/json"
  1807. ],
  1808. "produces": [
  1809. "application/json"
  1810. ],
  1811. "tags": [
  1812. "财务中心------嘉俊"
  1813. ],
  1814. "summary": "媒体详情-发票上传",
  1815. "parameters": [
  1816. {
  1817. "type": "string",
  1818. "description": "验证参数Bearer和token空格拼接",
  1819. "name": "Authorization",
  1820. "in": "header",
  1821. "required": true
  1822. },
  1823. {
  1824. "description": "请求参数",
  1825. "name": "args",
  1826. "in": "body",
  1827. "required": true,
  1828. "schema": {
  1829. "$ref": "#/definitions/md.InvoiceReq"
  1830. }
  1831. }
  1832. ],
  1833. "responses": {
  1834. "200": {
  1835. "description": "具体看返回内容 这是data里面的数据",
  1836. "schema": {
  1837. "type": "string"
  1838. }
  1839. },
  1840. "400": {
  1841. "description": "具体错误",
  1842. "schema": {
  1843. "$ref": "#/definitions/md.Response"
  1844. }
  1845. }
  1846. }
  1847. }
  1848. },
  1849. "/api/settleCenter/list": {
  1850. "post": {
  1851. "description": "结算中心-结算报表",
  1852. "consumes": [
  1853. "application/json"
  1854. ],
  1855. "produces": [
  1856. "application/json"
  1857. ],
  1858. "tags": [
  1859. "结算中心------嘉俊"
  1860. ],
  1861. "summary": "结算报表",
  1862. "parameters": [
  1863. {
  1864. "type": "string",
  1865. "description": "验证参数Bearer和token空格拼接",
  1866. "name": "Authorization",
  1867. "in": "header",
  1868. "required": true
  1869. },
  1870. {
  1871. "description": "请求参数",
  1872. "name": "args",
  1873. "in": "body",
  1874. "required": true,
  1875. "schema": {
  1876. "$ref": "#/definitions/md.SettleCenterDataReq"
  1877. }
  1878. }
  1879. ],
  1880. "responses": {
  1881. "200": {
  1882. "description": "具体看返回内容 这是data里面的数据",
  1883. "schema": {
  1884. "$ref": "#/definitions/md.SettleCenterDataRes"
  1885. }
  1886. },
  1887. "400": {
  1888. "description": "具体错误",
  1889. "schema": {
  1890. "$ref": "#/definitions/md.Response"
  1891. }
  1892. }
  1893. }
  1894. }
  1895. },
  1896. "/api/settleCenter/settle/file/save": {
  1897. "post": {
  1898. "description": "财务中心-媒体详情-结算单保存",
  1899. "consumes": [
  1900. "application/json"
  1901. ],
  1902. "produces": [
  1903. "application/json"
  1904. ],
  1905. "tags": [
  1906. "财务中心------嘉俊"
  1907. ],
  1908. "summary": "媒体详情-结算单保存",
  1909. "parameters": [
  1910. {
  1911. "type": "string",
  1912. "description": "验证参数Bearer和token空格拼接",
  1913. "name": "Authorization",
  1914. "in": "header",
  1915. "required": true
  1916. },
  1917. {
  1918. "description": "请求参数",
  1919. "name": "args",
  1920. "in": "body",
  1921. "required": true,
  1922. "schema": {
  1923. "$ref": "#/definitions/md.SettleFileReq"
  1924. }
  1925. }
  1926. ],
  1927. "responses": {
  1928. "200": {
  1929. "description": "具体看返回内容 这是data里面的数据",
  1930. "schema": {
  1931. "type": "string"
  1932. }
  1933. },
  1934. "400": {
  1935. "description": "具体错误",
  1936. "schema": {
  1937. "$ref": "#/definitions/md.Response"
  1938. }
  1939. }
  1940. }
  1941. }
  1942. },
  1943. "/api/sms": {
  1944. "post": {
  1945. "description": "短信-短信发送",
  1946. "consumes": [
  1947. "application/json"
  1948. ],
  1949. "produces": [
  1950. "application/json"
  1951. ],
  1952. "tags": [
  1953. "短信"
  1954. ],
  1955. "summary": "短信发送",
  1956. "parameters": [
  1957. {
  1958. "type": "string",
  1959. "description": "验证参数Bearer和token空格拼接",
  1960. "name": "Authorization",
  1961. "in": "header"
  1962. },
  1963. {
  1964. "description": "请求参数",
  1965. "name": "args",
  1966. "in": "body",
  1967. "required": true,
  1968. "schema": {
  1969. "$ref": "#/definitions/md.SmsReq"
  1970. }
  1971. }
  1972. ],
  1973. "responses": {
  1974. "200": {
  1975. "description": "success",
  1976. "schema": {
  1977. "type": "string"
  1978. }
  1979. },
  1980. "400": {
  1981. "description": "具体错误",
  1982. "schema": {
  1983. "$ref": "#/definitions/md.Response"
  1984. }
  1985. }
  1986. }
  1987. }
  1988. }
  1989. },
  1990. "definitions": {
  1991. "md.AccountBase": {
  1992. "type": "object",
  1993. "properties": {
  1994. "admin_phone": {
  1995. "type": "string",
  1996. "example": "管理员手机号"
  1997. },
  1998. "company_abbreviation": {
  1999. "type": "string",
  2000. "example": "公司简称"
  2001. },
  2002. "company_name": {
  2003. "type": "string",
  2004. "example": "公司名称"
  2005. },
  2006. "contact_address": {
  2007. "type": "string",
  2008. "example": "联系地址"
  2009. },
  2010. "contact_email": {
  2011. "type": "string",
  2012. "example": "邮箱"
  2013. },
  2014. "contact_name": {
  2015. "type": "string",
  2016. "example": "联系人"
  2017. },
  2018. "contact_phone": {
  2019. "type": "string",
  2020. "example": "联系电话"
  2021. },
  2022. "country_region": {
  2023. "type": "string",
  2024. "example": "国家地区"
  2025. },
  2026. "currency_conf": {
  2027. "type": "string",
  2028. "example": "结算币种"
  2029. },
  2030. "medium_id": {
  2031. "type": "string",
  2032. "example": "账户ID"
  2033. },
  2034. "nickname": {
  2035. "type": "string",
  2036. "example": "昵称"
  2037. }
  2038. }
  2039. },
  2040. "md.AccountUpdatePasswordReq": {
  2041. "type": "object",
  2042. "properties": {
  2043. "captcha": {
  2044. "type": "string",
  2045. "example": "验证码"
  2046. },
  2047. "password": {
  2048. "type": "string",
  2049. "example": "登录密码"
  2050. }
  2051. }
  2052. },
  2053. "md.AddAdminReq": {
  2054. "type": "object",
  2055. "required": [
  2056. "password",
  2057. "username"
  2058. ],
  2059. "properties": {
  2060. "memo": {
  2061. "type": "string"
  2062. },
  2063. "password": {
  2064. "type": "string"
  2065. },
  2066. "username": {
  2067. "type": "string"
  2068. }
  2069. }
  2070. },
  2071. "md.AddRoleReq": {
  2072. "type": "object",
  2073. "required": [
  2074. "memo",
  2075. "name"
  2076. ],
  2077. "properties": {
  2078. "memo": {
  2079. "type": "string"
  2080. },
  2081. "name": {
  2082. "type": "string"
  2083. }
  2084. }
  2085. },
  2086. "md.AdminListReq": {
  2087. "type": "object",
  2088. "properties": {
  2089. "limit": {
  2090. "type": "integer"
  2091. },
  2092. "page": {
  2093. "type": "integer"
  2094. },
  2095. "state": {
  2096. "type": "integer"
  2097. },
  2098. "username": {
  2099. "type": "string"
  2100. }
  2101. }
  2102. },
  2103. "md.AppletApplicationAdSpaceListData": {
  2104. "type": "object",
  2105. "properties": {
  2106. "ad_id": {
  2107. "type": "string",
  2108. "example": "广告位id"
  2109. },
  2110. "app_id": {
  2111. "type": "string",
  2112. "example": "小程序appid"
  2113. },
  2114. "app_name": {
  2115. "type": "string"
  2116. },
  2117. "cooperate_state": {
  2118. "type": "string",
  2119. "example": "合作状态"
  2120. },
  2121. "id": {
  2122. "type": "string",
  2123. "example": "id"
  2124. },
  2125. "kind": {
  2126. "type": "string",
  2127. "example": "广告位类型"
  2128. },
  2129. "logo": {
  2130. "type": "string",
  2131. "example": "logo"
  2132. },
  2133. "memo": {
  2134. "type": "string",
  2135. "example": "备注"
  2136. },
  2137. "name": {
  2138. "type": "string",
  2139. "example": "应用名称"
  2140. },
  2141. "platform": {
  2142. "type": "string",
  2143. "example": "平台"
  2144. },
  2145. "state": {
  2146. "type": "string",
  2147. "example": "应用状态 state=2 才能再次编辑"
  2148. }
  2149. }
  2150. },
  2151. "md.AppletApplicationAdSpaceListReq": {
  2152. "type": "object",
  2153. "properties": {
  2154. "ad_type": {
  2155. "type": "string",
  2156. "example": "广告位类型"
  2157. },
  2158. "cooperate_state": {
  2159. "type": "string",
  2160. "example": "合作状态"
  2161. },
  2162. "limit": {
  2163. "type": "string"
  2164. },
  2165. "name": {
  2166. "type": "string"
  2167. },
  2168. "page": {
  2169. "type": "string"
  2170. },
  2171. "platform": {
  2172. "type": "string"
  2173. }
  2174. }
  2175. },
  2176. "md.AppletApplicationAdSpaceListRes": {
  2177. "type": "object",
  2178. "properties": {
  2179. "ad_type": {
  2180. "type": "array",
  2181. "items": {
  2182. "$ref": "#/definitions/md.SelectData"
  2183. }
  2184. },
  2185. "application": {
  2186. "type": "array",
  2187. "items": {
  2188. "type": "object",
  2189. "additionalProperties": {
  2190. "type": "string"
  2191. }
  2192. }
  2193. },
  2194. "cooperate_state": {
  2195. "type": "array",
  2196. "items": {
  2197. "$ref": "#/definitions/md.SelectData"
  2198. }
  2199. },
  2200. "list": {
  2201. "type": "array",
  2202. "items": {
  2203. "$ref": "#/definitions/md.AppletApplicationAdSpaceListData"
  2204. }
  2205. },
  2206. "platform": {
  2207. "type": "array",
  2208. "items": {
  2209. "$ref": "#/definitions/md.SelectData"
  2210. }
  2211. },
  2212. "state": {
  2213. "type": "array",
  2214. "items": {
  2215. "$ref": "#/definitions/md.SelectData"
  2216. }
  2217. },
  2218. "total": {
  2219. "type": "integer"
  2220. }
  2221. }
  2222. },
  2223. "md.AppletApplicationAdSpaceSaveReq": {
  2224. "type": "object",
  2225. "properties": {
  2226. "app_id": {
  2227. "type": "string",
  2228. "example": "小程序appid"
  2229. },
  2230. "kind": {
  2231. "type": "string",
  2232. "example": "广告类型"
  2233. },
  2234. "name": {
  2235. "type": "string",
  2236. "example": "应用名称"
  2237. }
  2238. }
  2239. },
  2240. "md.AppletApplicationListData": {
  2241. "type": "object",
  2242. "properties": {
  2243. "app_id": {
  2244. "type": "string",
  2245. "example": "小程序appid"
  2246. },
  2247. "cooperate_state": {
  2248. "type": "string",
  2249. "example": "合作状态"
  2250. },
  2251. "id": {
  2252. "type": "string",
  2253. "example": "id"
  2254. },
  2255. "logo": {
  2256. "type": "string",
  2257. "example": "logo"
  2258. },
  2259. "memo": {
  2260. "type": "string",
  2261. "example": "备注"
  2262. },
  2263. "name": {
  2264. "type": "string",
  2265. "example": "应用名称"
  2266. },
  2267. "original_id": {
  2268. "type": "string",
  2269. "example": "小程序id"
  2270. },
  2271. "platform": {
  2272. "type": "string",
  2273. "example": "平台"
  2274. },
  2275. "state": {
  2276. "type": "string",
  2277. "example": "应用状态 state=3 才能再次编辑"
  2278. }
  2279. }
  2280. },
  2281. "md.AppletApplicationListReq": {
  2282. "type": "object",
  2283. "properties": {
  2284. "cooperate_state": {
  2285. "type": "string",
  2286. "example": "合作状态"
  2287. },
  2288. "limit": {
  2289. "type": "string"
  2290. },
  2291. "name": {
  2292. "type": "string"
  2293. },
  2294. "page": {
  2295. "type": "string"
  2296. },
  2297. "platform": {
  2298. "type": "string"
  2299. }
  2300. }
  2301. },
  2302. "md.AppletApplicationListRes": {
  2303. "type": "object",
  2304. "properties": {
  2305. "cooperate_state": {
  2306. "type": "array",
  2307. "items": {
  2308. "$ref": "#/definitions/md.SelectData"
  2309. }
  2310. },
  2311. "list": {
  2312. "type": "array",
  2313. "items": {
  2314. "$ref": "#/definitions/md.AppletApplicationListData"
  2315. }
  2316. },
  2317. "platform": {
  2318. "type": "array",
  2319. "items": {
  2320. "$ref": "#/definitions/md.SelectData"
  2321. }
  2322. },
  2323. "state": {
  2324. "type": "array",
  2325. "items": {
  2326. "$ref": "#/definitions/md.SelectData"
  2327. }
  2328. },
  2329. "total": {
  2330. "type": "integer"
  2331. }
  2332. }
  2333. },
  2334. "md.AppletApplicationSaveReq": {
  2335. "type": "object",
  2336. "properties": {
  2337. "app_id": {
  2338. "type": "string",
  2339. "example": "小程序appid"
  2340. },
  2341. "id": {
  2342. "type": "string",
  2343. "example": "id"
  2344. },
  2345. "logo": {
  2346. "type": "string",
  2347. "example": "logo"
  2348. },
  2349. "name": {
  2350. "type": "string",
  2351. "example": "应用名称"
  2352. },
  2353. "original_id": {
  2354. "type": "string",
  2355. "example": "小程序id"
  2356. },
  2357. "platform": {
  2358. "type": "string",
  2359. "example": "平台 微信小程序:wx_applet"
  2360. }
  2361. }
  2362. },
  2363. "md.BindAdminRoleReq": {
  2364. "type": "object",
  2365. "required": [
  2366. "id"
  2367. ],
  2368. "properties": {
  2369. "id": {
  2370. "type": "integer"
  2371. },
  2372. "role_ids": {
  2373. "type": "array",
  2374. "items": {
  2375. "type": "integer"
  2376. }
  2377. }
  2378. }
  2379. },
  2380. "md.CommDetailReq": {
  2381. "type": "object",
  2382. "properties": {
  2383. "id": {
  2384. "type": "string",
  2385. "example": "列表id"
  2386. }
  2387. }
  2388. },
  2389. "md.DataCenterRecordOutPutReq": {
  2390. "type": "object",
  2391. "properties": {
  2392. "ad_type": {
  2393. "type": "string",
  2394. "example": "广告位类型"
  2395. },
  2396. "app_id": {
  2397. "type": "string",
  2398. "example": "应用"
  2399. },
  2400. "end_date": {
  2401. "type": "string",
  2402. "example": "2024-08-30"
  2403. },
  2404. "limit": {
  2405. "type": "string",
  2406. "example": "10000 个一页"
  2407. },
  2408. "page": {
  2409. "type": "string"
  2410. },
  2411. "platform": {
  2412. "type": "string",
  2413. "example": "平台"
  2414. },
  2415. "start_date": {
  2416. "type": "string",
  2417. "example": "2024-08-30"
  2418. }
  2419. }
  2420. },
  2421. "md.DataCenterRecordReq": {
  2422. "type": "object",
  2423. "properties": {
  2424. "ad_type": {
  2425. "type": "string",
  2426. "example": "广告位类型"
  2427. },
  2428. "app_id": {
  2429. "type": "string",
  2430. "example": "应用"
  2431. },
  2432. "end_date": {
  2433. "type": "string",
  2434. "example": "2024-08-30"
  2435. },
  2436. "limit": {
  2437. "type": "string"
  2438. },
  2439. "page": {
  2440. "type": "string"
  2441. },
  2442. "platform": {
  2443. "type": "string",
  2444. "example": "平台"
  2445. },
  2446. "start_date": {
  2447. "type": "string",
  2448. "example": "2024-08-30"
  2449. }
  2450. }
  2451. },
  2452. "md.DataCenterRecordRes": {
  2453. "type": "object",
  2454. "properties": {
  2455. "list": {
  2456. "type": "array",
  2457. "items": {
  2458. "$ref": "#/definitions/md.DataCenterTotalData"
  2459. }
  2460. },
  2461. "total": {
  2462. "type": "integer"
  2463. }
  2464. }
  2465. },
  2466. "md.DataCenterTableData": {
  2467. "type": "object",
  2468. "properties": {
  2469. "date": {
  2470. "type": "string",
  2471. "example": "日期"
  2472. },
  2473. "ecpm": {
  2474. "type": "string",
  2475. "example": "ecpm"
  2476. },
  2477. "exposure_count": {
  2478. "type": "string",
  2479. "example": "曝光量"
  2480. },
  2481. "media_revenue": {
  2482. "type": "string",
  2483. "example": "预估收益"
  2484. }
  2485. }
  2486. },
  2487. "md.DataCenterTableReq": {
  2488. "type": "object",
  2489. "properties": {
  2490. "ad_type": {
  2491. "type": "string",
  2492. "example": "广告位类型"
  2493. },
  2494. "app_id": {
  2495. "type": "string",
  2496. "example": "应用"
  2497. },
  2498. "end_date": {
  2499. "type": "string",
  2500. "example": "2024-08-30"
  2501. },
  2502. "platform": {
  2503. "type": "string",
  2504. "example": "平台"
  2505. },
  2506. "start_date": {
  2507. "type": "string",
  2508. "example": "2024-08-30"
  2509. }
  2510. }
  2511. },
  2512. "md.DataCenterTableRes": {
  2513. "type": "object",
  2514. "properties": {
  2515. "list": {
  2516. "type": "array",
  2517. "items": {
  2518. "$ref": "#/definitions/md.DataCenterTableData"
  2519. }
  2520. }
  2521. }
  2522. },
  2523. "md.DataCenterTotalData": {
  2524. "type": "object",
  2525. "properties": {
  2526. "adv_name": {
  2527. "type": "string"
  2528. },
  2529. "app_name": {
  2530. "type": "string"
  2531. },
  2532. "click_count": {
  2533. "type": "string",
  2534. "example": "点击量"
  2535. },
  2536. "click_rate": {
  2537. "type": "string",
  2538. "example": "点击率"
  2539. },
  2540. "date": {
  2541. "type": "string",
  2542. "example": "日期"
  2543. },
  2544. "ecpm": {
  2545. "type": "string",
  2546. "example": "ecpm"
  2547. },
  2548. "exposure_count": {
  2549. "type": "string",
  2550. "example": "曝光量"
  2551. },
  2552. "media_revenue": {
  2553. "type": "string",
  2554. "example": "预估收益"
  2555. },
  2556. "platform_name": {
  2557. "type": "string"
  2558. }
  2559. }
  2560. },
  2561. "md.ImgReqUpload": {
  2562. "type": "object",
  2563. "properties": {
  2564. "dir": {
  2565. "type": "string"
  2566. },
  2567. "file_name": {
  2568. "type": "string"
  2569. },
  2570. "file_size": {
  2571. "description": "文件大小, 单位byte",
  2572. "type": "integer"
  2573. }
  2574. }
  2575. },
  2576. "md.IndexAppListData": {
  2577. "type": "object",
  2578. "properties": {
  2579. "list": {
  2580. "type": "array",
  2581. "items": {
  2582. "$ref": "#/definitions/md.IndexAppListDataList"
  2583. }
  2584. },
  2585. "logo": {
  2586. "type": "string"
  2587. },
  2588. "name": {
  2589. "type": "string"
  2590. },
  2591. "table_list": {
  2592. "type": "array",
  2593. "items": {
  2594. "type": "string"
  2595. }
  2596. }
  2597. }
  2598. },
  2599. "md.IndexAppListDataList": {
  2600. "type": "object",
  2601. "properties": {
  2602. "bili": {
  2603. "type": "string"
  2604. },
  2605. "name": {
  2606. "type": "string"
  2607. },
  2608. "type": {
  2609. "type": "string"
  2610. },
  2611. "value": {
  2612. "type": "string"
  2613. }
  2614. }
  2615. },
  2616. "md.IndexAppListReq": {
  2617. "type": "object",
  2618. "properties": {
  2619. "end_date": {
  2620. "type": "string",
  2621. "example": "2024-08-30"
  2622. },
  2623. "sort": {
  2624. "type": "string",
  2625. "example": "排序"
  2626. },
  2627. "start_date": {
  2628. "type": "string",
  2629. "example": "2024-08-30"
  2630. }
  2631. }
  2632. },
  2633. "md.IndexAppListRes": {
  2634. "type": "object",
  2635. "properties": {
  2636. "list": {
  2637. "type": "array",
  2638. "items": {
  2639. "$ref": "#/definitions/md.IndexAppListData"
  2640. }
  2641. },
  2642. "sort": {
  2643. "type": "array",
  2644. "items": {
  2645. "$ref": "#/definitions/md.SelectData"
  2646. }
  2647. }
  2648. }
  2649. },
  2650. "md.Invoice": {
  2651. "type": "object",
  2652. "properties": {
  2653. "count": {
  2654. "type": "string"
  2655. },
  2656. "file": {
  2657. "type": "array",
  2658. "items": {
  2659. "$ref": "#/definitions/md.InvoiceFile"
  2660. }
  2661. },
  2662. "time": {
  2663. "type": "string"
  2664. },
  2665. "type": {
  2666. "type": "string"
  2667. }
  2668. }
  2669. },
  2670. "md.InvoiceCenterDataData": {
  2671. "type": "object",
  2672. "properties": {
  2673. "amount": {
  2674. "type": "string",
  2675. "example": "结算金额"
  2676. },
  2677. "count": {
  2678. "type": "string",
  2679. "example": "数量"
  2680. },
  2681. "id": {
  2682. "type": "string"
  2683. },
  2684. "month": {
  2685. "type": "string",
  2686. "example": "订单月份"
  2687. },
  2688. "state": {
  2689. "type": "string",
  2690. "example": "结算单状态(0:待审核 1:审核通过 2:审核拒绝)"
  2691. },
  2692. "time_str": {
  2693. "type": "string",
  2694. "example": "上传时间"
  2695. }
  2696. }
  2697. },
  2698. "md.InvoiceCenterDataDetailData": {
  2699. "type": "object",
  2700. "properties": {
  2701. "count": {
  2702. "type": "string",
  2703. "example": "数量"
  2704. },
  2705. "file": {
  2706. "type": "array",
  2707. "items": {
  2708. "$ref": "#/definitions/md.InvoiceFile"
  2709. }
  2710. },
  2711. "state": {
  2712. "type": "string",
  2713. "example": "结算单状态(0:待审核 1:审核通过 2:审核拒绝)"
  2714. },
  2715. "time_str": {
  2716. "type": "string",
  2717. "example": "上传时间"
  2718. }
  2719. }
  2720. },
  2721. "md.InvoiceCenterDataDetailRes": {
  2722. "type": "object",
  2723. "properties": {
  2724. "data": {
  2725. "$ref": "#/definitions/md.InvoiceCenterDataDetailData"
  2726. },
  2727. "state": {
  2728. "type": "array",
  2729. "items": {
  2730. "$ref": "#/definitions/md.SelectData"
  2731. }
  2732. }
  2733. }
  2734. },
  2735. "md.InvoiceCenterDataReq": {
  2736. "type": "object",
  2737. "properties": {
  2738. "limit": {
  2739. "type": "string"
  2740. },
  2741. "page": {
  2742. "type": "string"
  2743. },
  2744. "type": {
  2745. "type": "string",
  2746. "example": "0电子发票 1纸质发票"
  2747. }
  2748. }
  2749. },
  2750. "md.InvoiceCenterDataRes": {
  2751. "type": "object",
  2752. "properties": {
  2753. "list": {
  2754. "type": "array",
  2755. "items": {
  2756. "$ref": "#/definitions/md.InvoiceCenterDataData"
  2757. }
  2758. },
  2759. "state": {
  2760. "type": "array",
  2761. "items": {
  2762. "$ref": "#/definitions/md.SelectData"
  2763. }
  2764. },
  2765. "total": {
  2766. "type": "integer"
  2767. }
  2768. }
  2769. },
  2770. "md.InvoiceFile": {
  2771. "type": "object",
  2772. "properties": {
  2773. "state": {
  2774. "type": "string",
  2775. "example": "0待确认 1审核通过 2审核失败"
  2776. },
  2777. "url": {
  2778. "type": "string"
  2779. }
  2780. }
  2781. },
  2782. "md.InvoiceReq": {
  2783. "type": "object",
  2784. "properties": {
  2785. "file": {
  2786. "type": "array",
  2787. "items": {
  2788. "$ref": "#/definitions/md.InvoiceFile"
  2789. }
  2790. },
  2791. "id": {
  2792. "type": "string",
  2793. "example": "列表id"
  2794. },
  2795. "type": {
  2796. "type": "string",
  2797. "example": "0电子发票 1纸质发票"
  2798. }
  2799. }
  2800. },
  2801. "md.LoginPhoneReq": {
  2802. "type": "object",
  2803. "required": [
  2804. "captcha",
  2805. "username"
  2806. ],
  2807. "properties": {
  2808. "captcha": {
  2809. "type": "string",
  2810. "example": "验证码"
  2811. },
  2812. "username": {
  2813. "type": "string",
  2814. "example": "登录账号"
  2815. }
  2816. }
  2817. },
  2818. "md.LoginReq": {
  2819. "type": "object",
  2820. "required": [
  2821. "password",
  2822. "username"
  2823. ],
  2824. "properties": {
  2825. "code": {
  2826. "type": "string",
  2827. "example": "验证码"
  2828. },
  2829. "password": {
  2830. "type": "string",
  2831. "example": "登录密码"
  2832. },
  2833. "username": {
  2834. "type": "string",
  2835. "example": "登录账号"
  2836. }
  2837. }
  2838. },
  2839. "md.LoginResponse": {
  2840. "type": "object",
  2841. "properties": {
  2842. "token": {
  2843. "type": "string"
  2844. }
  2845. }
  2846. },
  2847. "md.MediumBankInfo": {
  2848. "type": "object",
  2849. "properties": {
  2850. "bank": {
  2851. "type": "string"
  2852. },
  2853. "bank_branch": {
  2854. "type": "string"
  2855. },
  2856. "bank_no": {
  2857. "type": "string"
  2858. },
  2859. "currency_conf": {
  2860. "type": "string"
  2861. },
  2862. "id": {
  2863. "type": "string"
  2864. },
  2865. "licence": {
  2866. "type": "string"
  2867. },
  2868. "medium_id": {
  2869. "type": "string"
  2870. },
  2871. "memo": {
  2872. "type": "string"
  2873. },
  2874. "state": {
  2875. "type": "string"
  2876. },
  2877. "uuid": {
  2878. "type": "string"
  2879. }
  2880. }
  2881. },
  2882. "md.MediumContactInfo": {
  2883. "type": "object",
  2884. "properties": {
  2885. "address": {
  2886. "type": "string"
  2887. },
  2888. "email": {
  2889. "type": "string"
  2890. },
  2891. "id": {
  2892. "type": "string"
  2893. },
  2894. "medium_id": {
  2895. "type": "string"
  2896. },
  2897. "memo": {
  2898. "type": "string"
  2899. },
  2900. "name": {
  2901. "type": "string"
  2902. },
  2903. "phone": {
  2904. "type": "string"
  2905. },
  2906. "state": {
  2907. "type": "string"
  2908. },
  2909. "uuid": {
  2910. "type": "string"
  2911. }
  2912. }
  2913. },
  2914. "md.MediumList": {
  2915. "type": "object",
  2916. "properties": {
  2917. "business_license_address": {
  2918. "type": "string"
  2919. },
  2920. "business_license_img_url": {
  2921. "type": "string"
  2922. },
  2923. "certificate_first_type": {
  2924. "type": "string"
  2925. },
  2926. "certificate_type": {
  2927. "type": "string"
  2928. },
  2929. "certificate_validity": {
  2930. "type": "string"
  2931. },
  2932. "company_abbreviation": {
  2933. "type": "string"
  2934. },
  2935. "company_name": {
  2936. "type": "string"
  2937. },
  2938. "country_region": {
  2939. "type": "string"
  2940. },
  2941. "country_region_id": {
  2942. "type": "string"
  2943. },
  2944. "id": {
  2945. "type": "string"
  2946. },
  2947. "kind": {
  2948. "type": "string"
  2949. },
  2950. "legal_representative": {
  2951. "type": "string"
  2952. },
  2953. "medium_id": {
  2954. "type": "string"
  2955. },
  2956. "memo": {
  2957. "type": "string"
  2958. },
  2959. "registered_address": {
  2960. "type": "string"
  2961. },
  2962. "registered_address_city_id": {
  2963. "type": "string"
  2964. },
  2965. "registered_address_country_id": {
  2966. "type": "string"
  2967. },
  2968. "registered_address_county_id": {
  2969. "type": "string"
  2970. },
  2971. "registered_address_province_id": {
  2972. "type": "string"
  2973. },
  2974. "state": {
  2975. "type": "string"
  2976. },
  2977. "unified_social_credit_code": {
  2978. "type": "string"
  2979. },
  2980. "uuid": {
  2981. "type": "string"
  2982. }
  2983. }
  2984. },
  2985. "md.Response": {
  2986. "type": "object",
  2987. "properties": {
  2988. "code": {
  2989. "type": "string",
  2990. "example": "响应码"
  2991. },
  2992. "data": {
  2993. "description": "内容"
  2994. },
  2995. "msg": {
  2996. "type": "string",
  2997. "example": "具体错误原因"
  2998. }
  2999. }
  3000. },
  3001. "md.RoleBindPermissionGroupReq": {
  3002. "type": "object",
  3003. "required": [
  3004. "role_id"
  3005. ],
  3006. "properties": {
  3007. "permission_ids": {
  3008. "type": "array",
  3009. "items": {
  3010. "type": "integer"
  3011. }
  3012. },
  3013. "role_id": {
  3014. "type": "integer"
  3015. }
  3016. }
  3017. },
  3018. "md.SelectData": {
  3019. "type": "object",
  3020. "properties": {
  3021. "name": {
  3022. "type": "string",
  3023. "example": "名称"
  3024. },
  3025. "value": {
  3026. "type": "string",
  3027. "example": "值"
  3028. }
  3029. }
  3030. },
  3031. "md.SettleCenterDataData": {
  3032. "type": "object",
  3033. "properties": {
  3034. "all_income": {
  3035. "type": "string",
  3036. "example": "合计收益"
  3037. },
  3038. "business_kind": {
  3039. "type": "string",
  3040. "example": "业务类型(1:广告合作)"
  3041. },
  3042. "id": {
  3043. "type": "string"
  3044. },
  3045. "label": {
  3046. "type": "string"
  3047. },
  3048. "medium_income": {
  3049. "type": "string",
  3050. "example": "媒体结算"
  3051. },
  3052. "other_income": {
  3053. "type": "string",
  3054. "example": "其他调整"
  3055. },
  3056. "pay_state": {
  3057. "type": "string",
  3058. "example": "结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"
  3059. },
  3060. "settle_file": {
  3061. "type": "string",
  3062. "example": "结算单"
  3063. },
  3064. "settle_type": {
  3065. "type": "string",
  3066. "example": "结算单类型(1:日结 2:周结 3:月结 4:预付)"
  3067. },
  3068. "state": {
  3069. "type": "string",
  3070. "example": "结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"
  3071. },
  3072. "time_str": {
  3073. "type": "string",
  3074. "example": "业务时间"
  3075. }
  3076. }
  3077. },
  3078. "md.SettleCenterDataDetail": {
  3079. "type": "object",
  3080. "properties": {
  3081. "all_income": {
  3082. "type": "string",
  3083. "example": "合计收益"
  3084. },
  3085. "business_kind": {
  3086. "type": "string",
  3087. "example": "业务类型(1:广告合作)"
  3088. },
  3089. "invoice": {
  3090. "$ref": "#/definitions/md.Invoice"
  3091. },
  3092. "medium_income": {
  3093. "type": "string",
  3094. "example": "媒体结算"
  3095. },
  3096. "other_income": {
  3097. "type": "string",
  3098. "example": "其他调整"
  3099. },
  3100. "pay_state": {
  3101. "type": "string",
  3102. "example": "结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"
  3103. },
  3104. "settle_file": {
  3105. "type": "string",
  3106. "example": "结算单"
  3107. },
  3108. "state": {
  3109. "type": "string",
  3110. "example": "结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"
  3111. },
  3112. "time_str": {
  3113. "type": "string",
  3114. "example": "业务时间"
  3115. }
  3116. }
  3117. },
  3118. "md.SettleCenterDataDetailRes": {
  3119. "type": "object",
  3120. "properties": {
  3121. "business_kind": {
  3122. "type": "array",
  3123. "items": {
  3124. "$ref": "#/definitions/md.SelectData"
  3125. }
  3126. },
  3127. "data": {
  3128. "$ref": "#/definitions/md.SettleCenterDataDetail"
  3129. },
  3130. "invoice_cate": {
  3131. "type": "array",
  3132. "items": {
  3133. "$ref": "#/definitions/md.SelectData"
  3134. }
  3135. },
  3136. "invoice_state": {
  3137. "type": "array",
  3138. "items": {
  3139. "$ref": "#/definitions/md.SelectData"
  3140. }
  3141. },
  3142. "settle_pay_state": {
  3143. "type": "array",
  3144. "items": {
  3145. "$ref": "#/definitions/md.SelectData"
  3146. }
  3147. },
  3148. "settle_state": {
  3149. "type": "array",
  3150. "items": {
  3151. "$ref": "#/definitions/md.SelectData"
  3152. }
  3153. },
  3154. "settle_type": {
  3155. "type": "array",
  3156. "items": {
  3157. "$ref": "#/definitions/md.SelectData"
  3158. }
  3159. }
  3160. }
  3161. },
  3162. "md.SettleCenterDataReq": {
  3163. "type": "object",
  3164. "properties": {
  3165. "end_time": {
  3166. "type": "string"
  3167. },
  3168. "limit": {
  3169. "type": "string"
  3170. },
  3171. "page": {
  3172. "type": "string"
  3173. },
  3174. "start_time": {
  3175. "type": "string",
  3176. "example": "2024-08-29"
  3177. }
  3178. }
  3179. },
  3180. "md.SettleCenterDataRes": {
  3181. "type": "object",
  3182. "properties": {
  3183. "business_kind": {
  3184. "type": "array",
  3185. "items": {
  3186. "$ref": "#/definitions/md.SelectData"
  3187. }
  3188. },
  3189. "list": {
  3190. "type": "array",
  3191. "items": {
  3192. "$ref": "#/definitions/md.SettleCenterDataData"
  3193. }
  3194. },
  3195. "settle_pay_state": {
  3196. "type": "array",
  3197. "items": {
  3198. "$ref": "#/definitions/md.SelectData"
  3199. }
  3200. },
  3201. "settle_state": {
  3202. "type": "array",
  3203. "items": {
  3204. "$ref": "#/definitions/md.SelectData"
  3205. }
  3206. },
  3207. "settle_type": {
  3208. "type": "array",
  3209. "items": {
  3210. "$ref": "#/definitions/md.SelectData"
  3211. }
  3212. },
  3213. "total": {
  3214. "type": "integer"
  3215. }
  3216. }
  3217. },
  3218. "md.SettleFileReq": {
  3219. "type": "object",
  3220. "properties": {
  3221. "file": {
  3222. "type": "string",
  3223. "example": "七牛云链接 带http"
  3224. },
  3225. "id": {
  3226. "type": "string",
  3227. "example": "列表id"
  3228. }
  3229. }
  3230. },
  3231. "md.SmsReq": {
  3232. "type": "object",
  3233. "properties": {
  3234. "phone": {
  3235. "type": "string"
  3236. },
  3237. "type": {
  3238. "type": "string",
  3239. "example": "手机号登陆:fast_login 注册:register 修改密码(不用传手机号):update_password"
  3240. }
  3241. }
  3242. },
  3243. "md.UpdateAdminReq": {
  3244. "type": "object",
  3245. "required": [
  3246. "id",
  3247. "password",
  3248. "username"
  3249. ],
  3250. "properties": {
  3251. "id": {
  3252. "type": "integer"
  3253. },
  3254. "memo": {
  3255. "type": "string"
  3256. },
  3257. "password": {
  3258. "type": "string"
  3259. },
  3260. "username": {
  3261. "type": "string"
  3262. }
  3263. }
  3264. },
  3265. "md.UpdateAdminStateReq": {
  3266. "type": "object",
  3267. "required": [
  3268. "id",
  3269. "state"
  3270. ],
  3271. "properties": {
  3272. "id": {
  3273. "type": "integer"
  3274. },
  3275. "state": {
  3276. "type": "integer"
  3277. }
  3278. }
  3279. },
  3280. "md.UpdateRoleReq": {
  3281. "type": "object",
  3282. "required": [
  3283. "memo",
  3284. "name",
  3285. "role_id"
  3286. ],
  3287. "properties": {
  3288. "memo": {
  3289. "type": "string"
  3290. },
  3291. "name": {
  3292. "type": "string"
  3293. },
  3294. "role_id": {
  3295. "type": "integer"
  3296. }
  3297. }
  3298. },
  3299. "md.UpdateRoleStateReq": {
  3300. "type": "object",
  3301. "required": [
  3302. "role_id",
  3303. "state"
  3304. ],
  3305. "properties": {
  3306. "role_id": {
  3307. "type": "integer"
  3308. },
  3309. "state": {
  3310. "type": "integer"
  3311. }
  3312. }
  3313. }
  3314. },
  3315. "securityDefinitions": {
  3316. "MasterID": {
  3317. "type": "apiKey",
  3318. "name": "MasterID",
  3319. "in": "header"
  3320. }
  3321. }
  3322. }