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

3551 lines
116 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/financialDynamics/medium/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.FinancialDynamicsMediumListReq"
  764. }
  765. }
  766. ],
  767. "responses": {
  768. "200": {
  769. "description": "具体看返回内容 这是data里面的数据",
  770. "schema": {
  771. "$ref": "#/definitions/md.FinancialDynamicsMediumListRes"
  772. }
  773. },
  774. "400": {
  775. "description": "具体错误",
  776. "schema": {
  777. "$ref": "#/definitions/md.Response"
  778. }
  779. }
  780. }
  781. }
  782. },
  783. "/api/financialDynamics/medium/total": {
  784. "post": {
  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. "description": "请求参数",
  806. "name": "args",
  807. "in": "body",
  808. "required": true,
  809. "schema": {
  810. "$ref": "#/definitions/md.FinancialDynamicsMediumTotalReq"
  811. }
  812. }
  813. ],
  814. "responses": {
  815. "200": {
  816. "description": "具体看返回内容 这是data里面的数据",
  817. "schema": {
  818. "$ref": "#/definitions/md.FinancialDynamicsMediumTotalRes"
  819. }
  820. },
  821. "400": {
  822. "description": "具体错误",
  823. "schema": {
  824. "$ref": "#/definitions/md.Response"
  825. }
  826. }
  827. }
  828. }
  829. },
  830. "/api/index/app/list": {
  831. "post": {
  832. "description": "首页-应用列表",
  833. "consumes": [
  834. "application/json"
  835. ],
  836. "produces": [
  837. "application/json"
  838. ],
  839. "tags": [
  840. "首页------嘉俊"
  841. ],
  842. "summary": "应用列表",
  843. "parameters": [
  844. {
  845. "type": "string",
  846. "description": "验证参数Bearer和token空格拼接",
  847. "name": "Authorization",
  848. "in": "header",
  849. "required": true
  850. },
  851. {
  852. "description": "请求参数",
  853. "name": "args",
  854. "in": "body",
  855. "required": true,
  856. "schema": {
  857. "$ref": "#/definitions/md.IndexAppListReq"
  858. }
  859. }
  860. ],
  861. "responses": {
  862. "200": {
  863. "description": "具体看返回内容 这是data里面的数据",
  864. "schema": {
  865. "$ref": "#/definitions/md.IndexAppListRes"
  866. }
  867. },
  868. "400": {
  869. "description": "具体错误",
  870. "schema": {
  871. "$ref": "#/definitions/md.Response"
  872. }
  873. }
  874. }
  875. }
  876. },
  877. "/api/index/base": {
  878. "get": {
  879. "description": "首页-右上角基本数据",
  880. "consumes": [
  881. "application/json"
  882. ],
  883. "produces": [
  884. "application/json"
  885. ],
  886. "tags": [
  887. "首页------嘉俊"
  888. ],
  889. "summary": "右上角基本数据",
  890. "parameters": [
  891. {
  892. "type": "string",
  893. "description": "验证参数Bearer和token空格拼接",
  894. "name": "Authorization",
  895. "in": "header",
  896. "required": true
  897. }
  898. ],
  899. "responses": {
  900. "200": {
  901. "description": "具体看返回内容 这是data里面的数据",
  902. "schema": {
  903. "type": "string"
  904. }
  905. },
  906. "400": {
  907. "description": "具体错误",
  908. "schema": {
  909. "$ref": "#/definitions/md.Response"
  910. }
  911. }
  912. }
  913. }
  914. },
  915. "/api/index/total": {
  916. "get": {
  917. "description": "首页-统计数据",
  918. "consumes": [
  919. "application/json"
  920. ],
  921. "produces": [
  922. "application/json"
  923. ],
  924. "tags": [
  925. "首页------嘉俊"
  926. ],
  927. "summary": "统计数据",
  928. "parameters": [
  929. {
  930. "type": "string",
  931. "description": "验证参数Bearer和token空格拼接",
  932. "name": "Authorization",
  933. "in": "header",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "具体看返回内容 这是data里面的数据",
  940. "schema": {
  941. "type": "string"
  942. }
  943. },
  944. "400": {
  945. "description": "具体错误",
  946. "schema": {
  947. "$ref": "#/definitions/md.Response"
  948. }
  949. }
  950. }
  951. }
  952. },
  953. "/api/invoiceCenter/detail": {
  954. "post": {
  955. "description": "发票中心-发票详情",
  956. "consumes": [
  957. "application/json"
  958. ],
  959. "produces": [
  960. "application/json"
  961. ],
  962. "tags": [
  963. "发票中心------嘉俊"
  964. ],
  965. "summary": "发票详情",
  966. "parameters": [
  967. {
  968. "type": "string",
  969. "description": "验证参数Bearer和token空格拼接",
  970. "name": "Authorization",
  971. "in": "header",
  972. "required": true
  973. },
  974. {
  975. "description": "请求参数",
  976. "name": "args",
  977. "in": "body",
  978. "required": true,
  979. "schema": {
  980. "$ref": "#/definitions/md.CommDetailReq"
  981. }
  982. }
  983. ],
  984. "responses": {
  985. "200": {
  986. "description": "具体看返回内容 这是data里面的数据",
  987. "schema": {
  988. "$ref": "#/definitions/md.InvoiceCenterDataDetailRes"
  989. }
  990. },
  991. "400": {
  992. "description": "具体错误",
  993. "schema": {
  994. "$ref": "#/definitions/md.Response"
  995. }
  996. }
  997. }
  998. }
  999. },
  1000. "/api/invoiceCenter/list": {
  1001. "post": {
  1002. "description": "发票中心-发票列表",
  1003. "consumes": [
  1004. "application/json"
  1005. ],
  1006. "produces": [
  1007. "application/json"
  1008. ],
  1009. "tags": [
  1010. "发票中心------嘉俊"
  1011. ],
  1012. "summary": "发票列表",
  1013. "parameters": [
  1014. {
  1015. "type": "string",
  1016. "description": "验证参数Bearer和token空格拼接",
  1017. "name": "Authorization",
  1018. "in": "header",
  1019. "required": true
  1020. },
  1021. {
  1022. "description": "请求参数",
  1023. "name": "args",
  1024. "in": "body",
  1025. "required": true,
  1026. "schema": {
  1027. "$ref": "#/definitions/md.InvoiceCenterDataReq"
  1028. }
  1029. }
  1030. ],
  1031. "responses": {
  1032. "200": {
  1033. "description": "具体看返回内容 这是data里面的数据",
  1034. "schema": {
  1035. "$ref": "#/definitions/md.InvoiceCenterDataRes"
  1036. }
  1037. },
  1038. "400": {
  1039. "description": "具体错误",
  1040. "schema": {
  1041. "$ref": "#/definitions/md.Response"
  1042. }
  1043. }
  1044. }
  1045. }
  1046. },
  1047. "/api/login": {
  1048. "post": {
  1049. "description": "登入",
  1050. "consumes": [
  1051. "application/json"
  1052. ],
  1053. "produces": [
  1054. "application/json"
  1055. ],
  1056. "tags": [
  1057. "ADMIN"
  1058. ],
  1059. "summary": "登陆",
  1060. "parameters": [
  1061. {
  1062. "description": "用户名、密码",
  1063. "name": "req",
  1064. "in": "body",
  1065. "required": true,
  1066. "schema": {
  1067. "$ref": "#/definitions/md.LoginReq"
  1068. }
  1069. }
  1070. ],
  1071. "responses": {
  1072. "200": {
  1073. "description": "token",
  1074. "schema": {
  1075. "$ref": "#/definitions/md.LoginResponse"
  1076. }
  1077. },
  1078. "400": {
  1079. "description": "具体错误",
  1080. "schema": {
  1081. "$ref": "#/definitions/md.Response"
  1082. }
  1083. }
  1084. }
  1085. }
  1086. },
  1087. "/api/login/phone": {
  1088. "post": {
  1089. "description": "手机号登入",
  1090. "consumes": [
  1091. "application/json"
  1092. ],
  1093. "produces": [
  1094. "application/json"
  1095. ],
  1096. "tags": [
  1097. "ADMIN"
  1098. ],
  1099. "summary": "手机号登陆",
  1100. "parameters": [
  1101. {
  1102. "description": "用户名、验证码",
  1103. "name": "req",
  1104. "in": "body",
  1105. "required": true,
  1106. "schema": {
  1107. "$ref": "#/definitions/md.LoginPhoneReq"
  1108. }
  1109. }
  1110. ],
  1111. "responses": {
  1112. "200": {
  1113. "description": "token",
  1114. "schema": {
  1115. "$ref": "#/definitions/md.LoginResponse"
  1116. }
  1117. },
  1118. "400": {
  1119. "description": "具体错误",
  1120. "schema": {
  1121. "$ref": "#/definitions/md.Response"
  1122. }
  1123. }
  1124. }
  1125. }
  1126. },
  1127. "/api/qiniuyun/upload": {
  1128. "post": {
  1129. "description": "七牛云-七牛云上传",
  1130. "consumes": [
  1131. "application/json"
  1132. ],
  1133. "produces": [
  1134. "application/json"
  1135. ],
  1136. "tags": [
  1137. "七牛云"
  1138. ],
  1139. "summary": "七牛云上传",
  1140. "parameters": [
  1141. {
  1142. "type": "string",
  1143. "description": "验证参数Bearer和token空格拼接",
  1144. "name": "Authorization",
  1145. "in": "header"
  1146. },
  1147. {
  1148. "description": "请求参数",
  1149. "name": "args",
  1150. "in": "body",
  1151. "required": true,
  1152. "schema": {
  1153. "$ref": "#/definitions/md.ImgReqUpload"
  1154. }
  1155. }
  1156. ],
  1157. "responses": {
  1158. "200": {
  1159. "description": "success",
  1160. "schema": {
  1161. "type": "string"
  1162. }
  1163. },
  1164. "400": {
  1165. "description": "具体错误",
  1166. "schema": {
  1167. "$ref": "#/definitions/md.Response"
  1168. }
  1169. }
  1170. }
  1171. }
  1172. },
  1173. "/api/register": {
  1174. "post": {
  1175. "description": "手机号注册",
  1176. "consumes": [
  1177. "application/json"
  1178. ],
  1179. "produces": [
  1180. "application/json"
  1181. ],
  1182. "tags": [
  1183. "ADMIN"
  1184. ],
  1185. "summary": "手机号注册",
  1186. "parameters": [
  1187. {
  1188. "description": "用户名、验证码",
  1189. "name": "req",
  1190. "in": "body",
  1191. "required": true,
  1192. "schema": {
  1193. "$ref": "#/definitions/md.RegisterReq"
  1194. }
  1195. }
  1196. ],
  1197. "responses": {
  1198. "200": {
  1199. "description": "token",
  1200. "schema": {
  1201. "$ref": "#/definitions/md.LoginResponse"
  1202. }
  1203. },
  1204. "400": {
  1205. "description": "具体错误",
  1206. "schema": {
  1207. "$ref": "#/definitions/md.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/api/role/addAdmin": {
  1214. "post": {
  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. "description": "请求参数",
  1236. "name": "args",
  1237. "in": "body",
  1238. "required": true,
  1239. "schema": {
  1240. "$ref": "#/definitions/md.AddAdminReq"
  1241. }
  1242. }
  1243. ],
  1244. "responses": {
  1245. "200": {
  1246. "description": "success",
  1247. "schema": {
  1248. "type": "string"
  1249. }
  1250. },
  1251. "400": {
  1252. "description": "具体错误",
  1253. "schema": {
  1254. "$ref": "#/definitions/md.Response"
  1255. }
  1256. }
  1257. }
  1258. }
  1259. },
  1260. "/api/role/addRole": {
  1261. "post": {
  1262. "description": "添加角色",
  1263. "consumes": [
  1264. "application/json"
  1265. ],
  1266. "produces": [
  1267. "application/json"
  1268. ],
  1269. "tags": [
  1270. "ADMIN-权限管理"
  1271. ],
  1272. "summary": "添加角色",
  1273. "parameters": [
  1274. {
  1275. "type": "string",
  1276. "description": "验证参数Bearer和token空格拼接",
  1277. "name": "Authorization",
  1278. "in": "header",
  1279. "required": true
  1280. },
  1281. {
  1282. "description": "请求参数",
  1283. "name": "args",
  1284. "in": "body",
  1285. "required": true,
  1286. "schema": {
  1287. "$ref": "#/definitions/md.AddRoleReq"
  1288. }
  1289. }
  1290. ],
  1291. "responses": {
  1292. "200": {
  1293. "description": "success",
  1294. "schema": {
  1295. "type": "string"
  1296. }
  1297. },
  1298. "400": {
  1299. "description": "具体错误",
  1300. "schema": {
  1301. "$ref": "#/definitions/md.Response"
  1302. }
  1303. }
  1304. }
  1305. }
  1306. },
  1307. "/api/role/adminInfo": {
  1308. "get": {
  1309. "description": "管理员信息",
  1310. "consumes": [
  1311. "application/json"
  1312. ],
  1313. "produces": [
  1314. "application/json"
  1315. ],
  1316. "tags": [
  1317. "ADMIN-权限管理"
  1318. ],
  1319. "summary": "管理员信息",
  1320. "parameters": [
  1321. {
  1322. "type": "string",
  1323. "description": "验证参数Bearer和token空格拼接",
  1324. "name": "Authorization",
  1325. "in": "header",
  1326. "required": true
  1327. },
  1328. {
  1329. "type": "string",
  1330. "description": "管理员id",
  1331. "name": "adm_id",
  1332. "in": "query",
  1333. "required": true
  1334. }
  1335. ],
  1336. "responses": {
  1337. "200": {
  1338. "description": "具体看返回内容",
  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/adminList": {
  1353. "post": {
  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. "description": "请求参数",
  1375. "name": "args",
  1376. "in": "body",
  1377. "required": true,
  1378. "schema": {
  1379. "$ref": "#/definitions/md.AdminListReq"
  1380. }
  1381. }
  1382. ],
  1383. "responses": {
  1384. "200": {
  1385. "description": "具体看返回内容",
  1386. "schema": {
  1387. "type": "string"
  1388. }
  1389. },
  1390. "400": {
  1391. "description": "具体错误",
  1392. "schema": {
  1393. "$ref": "#/definitions/md.Response"
  1394. }
  1395. }
  1396. }
  1397. }
  1398. },
  1399. "/api/role/bindAdminRole/": {
  1400. "post": {
  1401. "description": "管理员绑定角色",
  1402. "consumes": [
  1403. "application/json"
  1404. ],
  1405. "produces": [
  1406. "application/json"
  1407. ],
  1408. "tags": [
  1409. "ADMIN-权限管理"
  1410. ],
  1411. "summary": "管理员绑定角色",
  1412. "parameters": [
  1413. {
  1414. "type": "string",
  1415. "description": "验证参数Bearer和token空格拼接",
  1416. "name": "Authorization",
  1417. "in": "header",
  1418. "required": true
  1419. },
  1420. {
  1421. "description": "请求参数",
  1422. "name": "args",
  1423. "in": "body",
  1424. "required": true,
  1425. "schema": {
  1426. "$ref": "#/definitions/md.BindAdminRoleReq"
  1427. }
  1428. }
  1429. ],
  1430. "responses": {
  1431. "200": {
  1432. "description": "success",
  1433. "schema": {
  1434. "type": "string"
  1435. }
  1436. },
  1437. "400": {
  1438. "description": "具体错误",
  1439. "schema": {
  1440. "$ref": "#/definitions/md.Response"
  1441. }
  1442. }
  1443. }
  1444. }
  1445. },
  1446. "/api/role/deleteAdmin/{$adm_id}": {
  1447. "delete": {
  1448. "description": "删除管理员",
  1449. "consumes": [
  1450. "application/json"
  1451. ],
  1452. "produces": [
  1453. "application/json"
  1454. ],
  1455. "tags": [
  1456. "ADMIN-权限管理"
  1457. ],
  1458. "summary": "删除管理员",
  1459. "parameters": [
  1460. {
  1461. "type": "string",
  1462. "description": "验证参数Bearer和token空格拼接",
  1463. "name": "Authorization",
  1464. "in": "header",
  1465. "required": true
  1466. }
  1467. ],
  1468. "responses": {
  1469. "200": {
  1470. "description": "success",
  1471. "schema": {
  1472. "type": "string"
  1473. }
  1474. },
  1475. "400": {
  1476. "description": "具体错误",
  1477. "schema": {
  1478. "$ref": "#/definitions/md.Response"
  1479. }
  1480. }
  1481. }
  1482. }
  1483. },
  1484. "/api/role/deleteRole/{$id}": {
  1485. "delete": {
  1486. "description": "删除角色",
  1487. "consumes": [
  1488. "application/json"
  1489. ],
  1490. "produces": [
  1491. "application/json"
  1492. ],
  1493. "tags": [
  1494. "ADMIN-权限管理"
  1495. ],
  1496. "summary": "删除角色",
  1497. "parameters": [
  1498. {
  1499. "type": "string",
  1500. "description": "验证参数Bearer和token空格拼接",
  1501. "name": "Authorization",
  1502. "in": "header",
  1503. "required": true
  1504. },
  1505. {
  1506. "description": "请求参数",
  1507. "name": "args",
  1508. "in": "body",
  1509. "required": true,
  1510. "schema": {
  1511. "$ref": "#/definitions/md.UpdateRoleStateReq"
  1512. }
  1513. }
  1514. ],
  1515. "responses": {
  1516. "200": {
  1517. "description": "success",
  1518. "schema": {
  1519. "type": "string"
  1520. }
  1521. },
  1522. "400": {
  1523. "description": "具体错误",
  1524. "schema": {
  1525. "$ref": "#/definitions/md.Response"
  1526. }
  1527. }
  1528. }
  1529. }
  1530. },
  1531. "/api/role/permissionGroupList": {
  1532. "get": {
  1533. "description": "权限组列表",
  1534. "consumes": [
  1535. "application/json"
  1536. ],
  1537. "produces": [
  1538. "application/json"
  1539. ],
  1540. "tags": [
  1541. "ADMIN-权限管理"
  1542. ],
  1543. "summary": "权限组列表",
  1544. "parameters": [
  1545. {
  1546. "type": "string",
  1547. "description": "验证参数Bearer和token空格拼接",
  1548. "name": "Authorization",
  1549. "in": "header",
  1550. "required": true
  1551. },
  1552. {
  1553. "type": "string",
  1554. "description": "管理员id",
  1555. "name": "adm_id",
  1556. "in": "query",
  1557. "required": true
  1558. }
  1559. ],
  1560. "responses": {
  1561. "200": {
  1562. "description": "具体看返回内容",
  1563. "schema": {
  1564. "type": "string"
  1565. }
  1566. },
  1567. "400": {
  1568. "description": "具体错误",
  1569. "schema": {
  1570. "$ref": "#/definitions/md.Response"
  1571. }
  1572. }
  1573. }
  1574. }
  1575. },
  1576. "/api/role/roleBindPermissionGroup": {
  1577. "post": {
  1578. "description": "角色绑定权限组",
  1579. "consumes": [
  1580. "application/json"
  1581. ],
  1582. "produces": [
  1583. "application/json"
  1584. ],
  1585. "tags": [
  1586. "ADMIN-权限管理"
  1587. ],
  1588. "summary": "角色绑定权限组",
  1589. "parameters": [
  1590. {
  1591. "type": "string",
  1592. "description": "验证参数Bearer和token空格拼接",
  1593. "name": "Authorization",
  1594. "in": "header",
  1595. "required": true
  1596. },
  1597. {
  1598. "description": "请求参数",
  1599. "name": "args",
  1600. "in": "body",
  1601. "required": true,
  1602. "schema": {
  1603. "$ref": "#/definitions/md.RoleBindPermissionGroupReq"
  1604. }
  1605. }
  1606. ],
  1607. "responses": {
  1608. "200": {
  1609. "description": "success",
  1610. "schema": {
  1611. "type": "string"
  1612. }
  1613. },
  1614. "400": {
  1615. "description": "具体错误",
  1616. "schema": {
  1617. "$ref": "#/definitions/md.Response"
  1618. }
  1619. }
  1620. }
  1621. }
  1622. },
  1623. "/api/role/roleList": {
  1624. "get": {
  1625. "description": "角色列表",
  1626. "consumes": [
  1627. "application/json"
  1628. ],
  1629. "produces": [
  1630. "application/json"
  1631. ],
  1632. "tags": [
  1633. "ADMIN-权限管理"
  1634. ],
  1635. "summary": "角色列表",
  1636. "parameters": [
  1637. {
  1638. "type": "string",
  1639. "description": "验证参数Bearer和token空格拼接",
  1640. "name": "Authorization",
  1641. "in": "header",
  1642. "required": true
  1643. }
  1644. ],
  1645. "responses": {
  1646. "200": {
  1647. "description": "具体看返回内容",
  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/updateAdmin": {
  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.UpdateAdminReq"
  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/updateAdminState": {
  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.UpdateAdminStateReq"
  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/role/updateRole": {
  1756. "post": {
  1757. "description": "修改角色",
  1758. "consumes": [
  1759. "application/json"
  1760. ],
  1761. "produces": [
  1762. "application/json"
  1763. ],
  1764. "tags": [
  1765. "ADMIN-权限管理"
  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.UpdateRoleReq"
  1783. }
  1784. }
  1785. ],
  1786. "responses": {
  1787. "200": {
  1788. "description": "success",
  1789. "schema": {
  1790. "type": "string"
  1791. }
  1792. },
  1793. "400": {
  1794. "description": "具体错误",
  1795. "schema": {
  1796. "$ref": "#/definitions/md.Response"
  1797. }
  1798. }
  1799. }
  1800. }
  1801. },
  1802. "/api/role/updateRoleState": {
  1803. "post": {
  1804. "description": "修改角色状态",
  1805. "consumes": [
  1806. "application/json"
  1807. ],
  1808. "produces": [
  1809. "application/json"
  1810. ],
  1811. "tags": [
  1812. "ADMIN-权限管理"
  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.UpdateRoleStateReq"
  1830. }
  1831. }
  1832. ],
  1833. "responses": {
  1834. "200": {
  1835. "description": "success",
  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/detail": {
  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.CommDetailReq"
  1877. }
  1878. }
  1879. ],
  1880. "responses": {
  1881. "200": {
  1882. "description": "具体看返回内容 这是data里面的数据",
  1883. "schema": {
  1884. "$ref": "#/definitions/md.SettleCenterDataDetailRes"
  1885. }
  1886. },
  1887. "400": {
  1888. "description": "具体错误",
  1889. "schema": {
  1890. "$ref": "#/definitions/md.Response"
  1891. }
  1892. }
  1893. }
  1894. }
  1895. },
  1896. "/api/settleCenter/invoice/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.InvoiceReq"
  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/settleCenter/list": {
  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. "required": true
  1963. },
  1964. {
  1965. "description": "请求参数",
  1966. "name": "args",
  1967. "in": "body",
  1968. "required": true,
  1969. "schema": {
  1970. "$ref": "#/definitions/md.SettleCenterDataReq"
  1971. }
  1972. }
  1973. ],
  1974. "responses": {
  1975. "200": {
  1976. "description": "具体看返回内容 这是data里面的数据",
  1977. "schema": {
  1978. "$ref": "#/definitions/md.SettleCenterDataRes"
  1979. }
  1980. },
  1981. "400": {
  1982. "description": "具体错误",
  1983. "schema": {
  1984. "$ref": "#/definitions/md.Response"
  1985. }
  1986. }
  1987. }
  1988. }
  1989. },
  1990. "/api/settleCenter/settle/file/save": {
  1991. "post": {
  1992. "description": "财务中心-媒体详情-结算单保存",
  1993. "consumes": [
  1994. "application/json"
  1995. ],
  1996. "produces": [
  1997. "application/json"
  1998. ],
  1999. "tags": [
  2000. "财务中心------嘉俊"
  2001. ],
  2002. "summary": "媒体详情-结算单保存",
  2003. "parameters": [
  2004. {
  2005. "type": "string",
  2006. "description": "验证参数Bearer和token空格拼接",
  2007. "name": "Authorization",
  2008. "in": "header",
  2009. "required": true
  2010. },
  2011. {
  2012. "description": "请求参数",
  2013. "name": "args",
  2014. "in": "body",
  2015. "required": true,
  2016. "schema": {
  2017. "$ref": "#/definitions/md.SettleFileReq"
  2018. }
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "具体看返回内容 这是data里面的数据",
  2024. "schema": {
  2025. "type": "string"
  2026. }
  2027. },
  2028. "400": {
  2029. "description": "具体错误",
  2030. "schema": {
  2031. "$ref": "#/definitions/md.Response"
  2032. }
  2033. }
  2034. }
  2035. }
  2036. },
  2037. "/api/sms": {
  2038. "post": {
  2039. "description": "短信-短信发送",
  2040. "consumes": [
  2041. "application/json"
  2042. ],
  2043. "produces": [
  2044. "application/json"
  2045. ],
  2046. "tags": [
  2047. "短信"
  2048. ],
  2049. "summary": "短信发送",
  2050. "parameters": [
  2051. {
  2052. "type": "string",
  2053. "description": "验证参数Bearer和token空格拼接",
  2054. "name": "Authorization",
  2055. "in": "header"
  2056. },
  2057. {
  2058. "description": "请求参数",
  2059. "name": "args",
  2060. "in": "body",
  2061. "required": true,
  2062. "schema": {
  2063. "$ref": "#/definitions/md.SmsReq"
  2064. }
  2065. }
  2066. ],
  2067. "responses": {
  2068. "200": {
  2069. "description": "success",
  2070. "schema": {
  2071. "type": "string"
  2072. }
  2073. },
  2074. "400": {
  2075. "description": "具体错误",
  2076. "schema": {
  2077. "$ref": "#/definitions/md.Response"
  2078. }
  2079. }
  2080. }
  2081. }
  2082. }
  2083. },
  2084. "definitions": {
  2085. "md.AccountBase": {
  2086. "type": "object",
  2087. "properties": {
  2088. "admin_phone": {
  2089. "type": "string",
  2090. "example": "管理员手机号"
  2091. },
  2092. "company_abbreviation": {
  2093. "type": "string",
  2094. "example": "公司简称"
  2095. },
  2096. "company_name": {
  2097. "type": "string",
  2098. "example": "公司名称"
  2099. },
  2100. "contact_address": {
  2101. "type": "string",
  2102. "example": "联系地址"
  2103. },
  2104. "contact_email": {
  2105. "type": "string",
  2106. "example": "邮箱"
  2107. },
  2108. "contact_name": {
  2109. "type": "string",
  2110. "example": "联系人"
  2111. },
  2112. "contact_phone": {
  2113. "type": "string",
  2114. "example": "联系电话"
  2115. },
  2116. "country_region": {
  2117. "type": "string",
  2118. "example": "国家地区"
  2119. },
  2120. "currency_conf": {
  2121. "type": "string",
  2122. "example": "结算币种"
  2123. },
  2124. "medium_id": {
  2125. "type": "string",
  2126. "example": "账户ID"
  2127. },
  2128. "nickname": {
  2129. "type": "string",
  2130. "example": "昵称"
  2131. }
  2132. }
  2133. },
  2134. "md.AccountUpdatePasswordReq": {
  2135. "type": "object",
  2136. "properties": {
  2137. "captcha": {
  2138. "type": "string",
  2139. "example": "验证码"
  2140. },
  2141. "password": {
  2142. "type": "string",
  2143. "example": "登录密码"
  2144. }
  2145. }
  2146. },
  2147. "md.AddAdminReq": {
  2148. "type": "object",
  2149. "required": [
  2150. "password",
  2151. "username"
  2152. ],
  2153. "properties": {
  2154. "memo": {
  2155. "type": "string"
  2156. },
  2157. "password": {
  2158. "type": "string"
  2159. },
  2160. "username": {
  2161. "type": "string"
  2162. }
  2163. }
  2164. },
  2165. "md.AddRoleReq": {
  2166. "type": "object",
  2167. "required": [
  2168. "memo",
  2169. "name"
  2170. ],
  2171. "properties": {
  2172. "memo": {
  2173. "type": "string"
  2174. },
  2175. "name": {
  2176. "type": "string"
  2177. }
  2178. }
  2179. },
  2180. "md.AdminListReq": {
  2181. "type": "object",
  2182. "properties": {
  2183. "limit": {
  2184. "type": "integer"
  2185. },
  2186. "page": {
  2187. "type": "integer"
  2188. },
  2189. "state": {
  2190. "type": "integer"
  2191. },
  2192. "username": {
  2193. "type": "string"
  2194. }
  2195. }
  2196. },
  2197. "md.AppletApplicationAdSpaceListData": {
  2198. "type": "object",
  2199. "properties": {
  2200. "ad_id": {
  2201. "type": "string",
  2202. "example": "广告位id"
  2203. },
  2204. "app_id": {
  2205. "type": "string",
  2206. "example": "小程序appid"
  2207. },
  2208. "app_name": {
  2209. "type": "string"
  2210. },
  2211. "cooperate_state": {
  2212. "type": "string",
  2213. "example": "合作状态"
  2214. },
  2215. "id": {
  2216. "type": "string",
  2217. "example": "id"
  2218. },
  2219. "kind": {
  2220. "type": "string",
  2221. "example": "广告位类型"
  2222. },
  2223. "logo": {
  2224. "type": "string",
  2225. "example": "logo"
  2226. },
  2227. "memo": {
  2228. "type": "string",
  2229. "example": "备注"
  2230. },
  2231. "name": {
  2232. "type": "string",
  2233. "example": "应用名称"
  2234. },
  2235. "platform": {
  2236. "type": "string",
  2237. "example": "平台"
  2238. },
  2239. "state": {
  2240. "type": "string",
  2241. "example": "应用状态 state=2 才能再次编辑"
  2242. }
  2243. }
  2244. },
  2245. "md.AppletApplicationAdSpaceListReq": {
  2246. "type": "object",
  2247. "properties": {
  2248. "ad_type": {
  2249. "type": "string",
  2250. "example": "广告位类型"
  2251. },
  2252. "cooperate_state": {
  2253. "type": "string",
  2254. "example": "合作状态"
  2255. },
  2256. "limit": {
  2257. "type": "string"
  2258. },
  2259. "name": {
  2260. "type": "string"
  2261. },
  2262. "page": {
  2263. "type": "string"
  2264. },
  2265. "platform": {
  2266. "type": "string"
  2267. }
  2268. }
  2269. },
  2270. "md.AppletApplicationAdSpaceListRes": {
  2271. "type": "object",
  2272. "properties": {
  2273. "ad_type": {
  2274. "type": "array",
  2275. "items": {
  2276. "$ref": "#/definitions/md.SelectData"
  2277. }
  2278. },
  2279. "application": {
  2280. "type": "array",
  2281. "items": {
  2282. "type": "object",
  2283. "additionalProperties": {
  2284. "type": "string"
  2285. }
  2286. }
  2287. },
  2288. "cooperate_state": {
  2289. "type": "array",
  2290. "items": {
  2291. "$ref": "#/definitions/md.SelectData"
  2292. }
  2293. },
  2294. "list": {
  2295. "type": "array",
  2296. "items": {
  2297. "$ref": "#/definitions/md.AppletApplicationAdSpaceListData"
  2298. }
  2299. },
  2300. "platform": {
  2301. "type": "array",
  2302. "items": {
  2303. "$ref": "#/definitions/md.SelectData"
  2304. }
  2305. },
  2306. "state": {
  2307. "type": "array",
  2308. "items": {
  2309. "$ref": "#/definitions/md.SelectData"
  2310. }
  2311. },
  2312. "total": {
  2313. "type": "integer"
  2314. }
  2315. }
  2316. },
  2317. "md.AppletApplicationAdSpaceSaveReq": {
  2318. "type": "object",
  2319. "properties": {
  2320. "app_id": {
  2321. "type": "string",
  2322. "example": "小程序appid"
  2323. },
  2324. "kind": {
  2325. "type": "string",
  2326. "example": "广告类型"
  2327. },
  2328. "name": {
  2329. "type": "string",
  2330. "example": "应用名称"
  2331. }
  2332. }
  2333. },
  2334. "md.AppletApplicationListData": {
  2335. "type": "object",
  2336. "properties": {
  2337. "app_id": {
  2338. "type": "string",
  2339. "example": "小程序appid"
  2340. },
  2341. "cooperate_state": {
  2342. "type": "string",
  2343. "example": "合作状态"
  2344. },
  2345. "id": {
  2346. "type": "string",
  2347. "example": "id"
  2348. },
  2349. "logo": {
  2350. "type": "string",
  2351. "example": "logo"
  2352. },
  2353. "memo": {
  2354. "type": "string",
  2355. "example": "备注"
  2356. },
  2357. "name": {
  2358. "type": "string",
  2359. "example": "应用名称"
  2360. },
  2361. "original_id": {
  2362. "type": "string",
  2363. "example": "小程序id"
  2364. },
  2365. "platform": {
  2366. "type": "string",
  2367. "example": "平台"
  2368. },
  2369. "state": {
  2370. "type": "string",
  2371. "example": "应用状态 state=3 才能再次编辑"
  2372. }
  2373. }
  2374. },
  2375. "md.AppletApplicationListReq": {
  2376. "type": "object",
  2377. "properties": {
  2378. "cooperate_state": {
  2379. "type": "string",
  2380. "example": "合作状态"
  2381. },
  2382. "limit": {
  2383. "type": "string"
  2384. },
  2385. "name": {
  2386. "type": "string"
  2387. },
  2388. "page": {
  2389. "type": "string"
  2390. },
  2391. "platform": {
  2392. "type": "string"
  2393. }
  2394. }
  2395. },
  2396. "md.AppletApplicationListRes": {
  2397. "type": "object",
  2398. "properties": {
  2399. "cooperate_state": {
  2400. "type": "array",
  2401. "items": {
  2402. "$ref": "#/definitions/md.SelectData"
  2403. }
  2404. },
  2405. "list": {
  2406. "type": "array",
  2407. "items": {
  2408. "$ref": "#/definitions/md.AppletApplicationListData"
  2409. }
  2410. },
  2411. "platform": {
  2412. "type": "array",
  2413. "items": {
  2414. "$ref": "#/definitions/md.SelectData"
  2415. }
  2416. },
  2417. "state": {
  2418. "type": "array",
  2419. "items": {
  2420. "$ref": "#/definitions/md.SelectData"
  2421. }
  2422. },
  2423. "total": {
  2424. "type": "integer"
  2425. }
  2426. }
  2427. },
  2428. "md.AppletApplicationSaveReq": {
  2429. "type": "object",
  2430. "properties": {
  2431. "app_id": {
  2432. "type": "string",
  2433. "example": "小程序appid"
  2434. },
  2435. "id": {
  2436. "type": "string",
  2437. "example": "id"
  2438. },
  2439. "logo": {
  2440. "type": "string",
  2441. "example": "logo"
  2442. },
  2443. "name": {
  2444. "type": "string",
  2445. "example": "应用名称"
  2446. },
  2447. "original_id": {
  2448. "type": "string",
  2449. "example": "小程序id"
  2450. },
  2451. "platform": {
  2452. "type": "string",
  2453. "example": "平台 微信小程序:wx_applet"
  2454. }
  2455. }
  2456. },
  2457. "md.BindAdminRoleReq": {
  2458. "type": "object",
  2459. "required": [
  2460. "id"
  2461. ],
  2462. "properties": {
  2463. "id": {
  2464. "type": "integer"
  2465. },
  2466. "role_ids": {
  2467. "type": "array",
  2468. "items": {
  2469. "type": "integer"
  2470. }
  2471. }
  2472. }
  2473. },
  2474. "md.CommDetailReq": {
  2475. "type": "object",
  2476. "properties": {
  2477. "id": {
  2478. "type": "string",
  2479. "example": "列表id"
  2480. }
  2481. }
  2482. },
  2483. "md.DataCenterRecordOutPutReq": {
  2484. "type": "object",
  2485. "properties": {
  2486. "ad_type": {
  2487. "type": "string",
  2488. "example": "广告位类型"
  2489. },
  2490. "app_id": {
  2491. "type": "string",
  2492. "example": "应用"
  2493. },
  2494. "end_date": {
  2495. "type": "string",
  2496. "example": "2024-08-30"
  2497. },
  2498. "limit": {
  2499. "type": "string",
  2500. "example": "10000 个一页"
  2501. },
  2502. "page": {
  2503. "type": "string"
  2504. },
  2505. "platform": {
  2506. "type": "string",
  2507. "example": "平台"
  2508. },
  2509. "start_date": {
  2510. "type": "string",
  2511. "example": "2024-08-30 默认查昨天的 最近7天"
  2512. }
  2513. }
  2514. },
  2515. "md.DataCenterRecordReq": {
  2516. "type": "object",
  2517. "properties": {
  2518. "ad_type": {
  2519. "type": "string",
  2520. "example": "广告位类型"
  2521. },
  2522. "app_id": {
  2523. "type": "string",
  2524. "example": "应用"
  2525. },
  2526. "end_date": {
  2527. "type": "string",
  2528. "example": "2024-08-30"
  2529. },
  2530. "limit": {
  2531. "type": "string"
  2532. },
  2533. "page": {
  2534. "type": "string"
  2535. },
  2536. "platform": {
  2537. "type": "string",
  2538. "example": "平台"
  2539. },
  2540. "start_date": {
  2541. "type": "string",
  2542. "example": "2024-08-30 默认查昨天的 最近7天"
  2543. }
  2544. }
  2545. },
  2546. "md.DataCenterRecordRes": {
  2547. "type": "object",
  2548. "properties": {
  2549. "list": {
  2550. "type": "array",
  2551. "items": {
  2552. "$ref": "#/definitions/md.DataCenterTotalData"
  2553. }
  2554. },
  2555. "total": {
  2556. "type": "integer"
  2557. }
  2558. }
  2559. },
  2560. "md.DataCenterTableData": {
  2561. "type": "object",
  2562. "properties": {
  2563. "date": {
  2564. "type": "string",
  2565. "example": "日期"
  2566. },
  2567. "ecpm": {
  2568. "type": "string",
  2569. "example": "ecpm"
  2570. },
  2571. "exposure_count": {
  2572. "type": "string",
  2573. "example": "曝光量"
  2574. },
  2575. "media_revenue": {
  2576. "type": "string",
  2577. "example": "预估收益"
  2578. }
  2579. }
  2580. },
  2581. "md.DataCenterTableReq": {
  2582. "type": "object",
  2583. "properties": {
  2584. "ad_type": {
  2585. "type": "string",
  2586. "example": "广告位类型"
  2587. },
  2588. "app_id": {
  2589. "type": "string",
  2590. "example": "应用"
  2591. },
  2592. "end_date": {
  2593. "type": "string",
  2594. "example": "2024-08-30"
  2595. },
  2596. "platform": {
  2597. "type": "string",
  2598. "example": "平台"
  2599. },
  2600. "start_date": {
  2601. "type": "string",
  2602. "example": "2024-08-30 默认查昨天的 最近7天"
  2603. }
  2604. }
  2605. },
  2606. "md.DataCenterTableRes": {
  2607. "type": "object",
  2608. "properties": {
  2609. "list": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/md.DataCenterTableData"
  2613. }
  2614. }
  2615. }
  2616. },
  2617. "md.DataCenterTotalData": {
  2618. "type": "object",
  2619. "properties": {
  2620. "adv_name": {
  2621. "type": "string"
  2622. },
  2623. "app_name": {
  2624. "type": "string"
  2625. },
  2626. "click_count": {
  2627. "type": "string",
  2628. "example": "点击量"
  2629. },
  2630. "click_rate": {
  2631. "type": "string",
  2632. "example": "点击率"
  2633. },
  2634. "date": {
  2635. "type": "string",
  2636. "example": "日期"
  2637. },
  2638. "ecpm": {
  2639. "type": "string",
  2640. "example": "ecpm"
  2641. },
  2642. "exposure_count": {
  2643. "type": "string",
  2644. "example": "曝光量"
  2645. },
  2646. "media_revenue": {
  2647. "type": "string",
  2648. "example": "预估收益"
  2649. },
  2650. "platform_name": {
  2651. "type": "string"
  2652. }
  2653. }
  2654. },
  2655. "md.FinancialDynamicsMediumListData": {
  2656. "type": "object",
  2657. "properties": {
  2658. "amount": {
  2659. "type": "string",
  2660. "example": "支付金额"
  2661. },
  2662. "business_kind": {
  2663. "type": "string",
  2664. "example": "支付类型(1:广告合作)"
  2665. },
  2666. "certificate": {
  2667. "type": "string",
  2668. "example": "支付凭证"
  2669. },
  2670. "id": {
  2671. "type": "string"
  2672. },
  2673. "memo": {
  2674. "type": "string",
  2675. "example": "备注"
  2676. },
  2677. "pay_method": {
  2678. "type": "string",
  2679. "example": "支付方式 0对私 1对公"
  2680. },
  2681. "pay_time": {
  2682. "type": "string",
  2683. "example": "支付时间"
  2684. }
  2685. }
  2686. },
  2687. "md.FinancialDynamicsMediumListReq": {
  2688. "type": "object",
  2689. "properties": {
  2690. "end_time": {
  2691. "type": "string"
  2692. },
  2693. "limit": {
  2694. "type": "string"
  2695. },
  2696. "page": {
  2697. "type": "string"
  2698. },
  2699. "start_time": {
  2700. "type": "string",
  2701. "example": "2024-08-29 00:00:00"
  2702. }
  2703. }
  2704. },
  2705. "md.FinancialDynamicsMediumListRes": {
  2706. "type": "object",
  2707. "properties": {
  2708. "business_kind": {
  2709. "type": "array",
  2710. "items": {
  2711. "$ref": "#/definitions/md.SelectData"
  2712. }
  2713. },
  2714. "list": {
  2715. "type": "array",
  2716. "items": {
  2717. "$ref": "#/definitions/md.FinancialDynamicsMediumListData"
  2718. }
  2719. },
  2720. "pay_method": {
  2721. "type": "array",
  2722. "items": {
  2723. "$ref": "#/definitions/md.SelectData"
  2724. }
  2725. },
  2726. "total": {
  2727. "type": "integer"
  2728. }
  2729. }
  2730. },
  2731. "md.FinancialDynamicsMediumTotalReq": {
  2732. "type": "object",
  2733. "properties": {
  2734. "end_time": {
  2735. "type": "string"
  2736. },
  2737. "start_time": {
  2738. "type": "string",
  2739. "example": "2024-08-29 00:00:00"
  2740. }
  2741. }
  2742. },
  2743. "md.FinancialDynamicsMediumTotalRes": {
  2744. "type": "object",
  2745. "properties": {
  2746. "all_amount": {
  2747. "type": "string",
  2748. "example": "预付总金额"
  2749. },
  2750. "balance_amount": {
  2751. "type": "string",
  2752. "example": "账户余额"
  2753. },
  2754. "pay_count": {
  2755. "type": "string",
  2756. "example": "预付次数"
  2757. },
  2758. "use_amount": {
  2759. "type": "string",
  2760. "example": "已消耗金额"
  2761. }
  2762. }
  2763. },
  2764. "md.ImgReqUpload": {
  2765. "type": "object",
  2766. "properties": {
  2767. "dir": {
  2768. "type": "string"
  2769. },
  2770. "file_name": {
  2771. "type": "string"
  2772. },
  2773. "file_size": {
  2774. "description": "文件大小, 单位byte",
  2775. "type": "integer"
  2776. }
  2777. }
  2778. },
  2779. "md.IndexAppListData": {
  2780. "type": "object",
  2781. "properties": {
  2782. "list": {
  2783. "type": "array",
  2784. "items": {
  2785. "$ref": "#/definitions/md.IndexAppListDataList"
  2786. }
  2787. },
  2788. "logo": {
  2789. "type": "string"
  2790. },
  2791. "name": {
  2792. "type": "string"
  2793. },
  2794. "table_list": {
  2795. "type": "array",
  2796. "items": {
  2797. "type": "string"
  2798. }
  2799. }
  2800. }
  2801. },
  2802. "md.IndexAppListDataList": {
  2803. "type": "object",
  2804. "properties": {
  2805. "bili": {
  2806. "type": "string"
  2807. },
  2808. "name": {
  2809. "type": "string"
  2810. },
  2811. "type": {
  2812. "type": "string"
  2813. },
  2814. "value": {
  2815. "type": "string"
  2816. }
  2817. }
  2818. },
  2819. "md.IndexAppListReq": {
  2820. "type": "object",
  2821. "properties": {
  2822. "end_date": {
  2823. "type": "string",
  2824. "example": "2024-08-30"
  2825. },
  2826. "sort": {
  2827. "type": "string",
  2828. "example": "排序"
  2829. },
  2830. "start_date": {
  2831. "type": "string",
  2832. "example": "2024-08-30"
  2833. }
  2834. }
  2835. },
  2836. "md.IndexAppListRes": {
  2837. "type": "object",
  2838. "properties": {
  2839. "list": {
  2840. "type": "array",
  2841. "items": {
  2842. "$ref": "#/definitions/md.IndexAppListData"
  2843. }
  2844. },
  2845. "sort": {
  2846. "type": "array",
  2847. "items": {
  2848. "$ref": "#/definitions/md.SelectData"
  2849. }
  2850. }
  2851. }
  2852. },
  2853. "md.Invoice": {
  2854. "type": "object",
  2855. "properties": {
  2856. "count": {
  2857. "type": "string"
  2858. },
  2859. "file": {
  2860. "type": "array",
  2861. "items": {
  2862. "$ref": "#/definitions/md.InvoiceFile"
  2863. }
  2864. },
  2865. "time": {
  2866. "type": "string"
  2867. },
  2868. "type": {
  2869. "type": "string"
  2870. }
  2871. }
  2872. },
  2873. "md.InvoiceCenterDataData": {
  2874. "type": "object",
  2875. "properties": {
  2876. "amount": {
  2877. "type": "string",
  2878. "example": "结算金额"
  2879. },
  2880. "count": {
  2881. "type": "string",
  2882. "example": "数量"
  2883. },
  2884. "id": {
  2885. "type": "string"
  2886. },
  2887. "month": {
  2888. "type": "string",
  2889. "example": "订单月份"
  2890. },
  2891. "state": {
  2892. "type": "string",
  2893. "example": "结算单状态(0:待审核 1:审核通过 2:审核拒绝)"
  2894. },
  2895. "time_str": {
  2896. "type": "string",
  2897. "example": "上传时间"
  2898. }
  2899. }
  2900. },
  2901. "md.InvoiceCenterDataDetailData": {
  2902. "type": "object",
  2903. "properties": {
  2904. "count": {
  2905. "type": "string",
  2906. "example": "数量"
  2907. },
  2908. "file": {
  2909. "type": "array",
  2910. "items": {
  2911. "$ref": "#/definitions/md.InvoiceFile"
  2912. }
  2913. },
  2914. "state": {
  2915. "type": "string",
  2916. "example": "结算单状态(0:待审核 1:审核通过 2:审核拒绝)"
  2917. },
  2918. "time_str": {
  2919. "type": "string",
  2920. "example": "上传时间"
  2921. }
  2922. }
  2923. },
  2924. "md.InvoiceCenterDataDetailRes": {
  2925. "type": "object",
  2926. "properties": {
  2927. "data": {
  2928. "$ref": "#/definitions/md.InvoiceCenterDataDetailData"
  2929. },
  2930. "state": {
  2931. "type": "array",
  2932. "items": {
  2933. "$ref": "#/definitions/md.SelectData"
  2934. }
  2935. }
  2936. }
  2937. },
  2938. "md.InvoiceCenterDataReq": {
  2939. "type": "object",
  2940. "properties": {
  2941. "limit": {
  2942. "type": "string"
  2943. },
  2944. "page": {
  2945. "type": "string"
  2946. },
  2947. "type": {
  2948. "type": "string",
  2949. "example": "0电子发票 1纸质发票"
  2950. }
  2951. }
  2952. },
  2953. "md.InvoiceCenterDataRes": {
  2954. "type": "object",
  2955. "properties": {
  2956. "list": {
  2957. "type": "array",
  2958. "items": {
  2959. "$ref": "#/definitions/md.InvoiceCenterDataData"
  2960. }
  2961. },
  2962. "state": {
  2963. "type": "array",
  2964. "items": {
  2965. "$ref": "#/definitions/md.SelectData"
  2966. }
  2967. },
  2968. "total": {
  2969. "type": "integer"
  2970. }
  2971. }
  2972. },
  2973. "md.InvoiceFile": {
  2974. "type": "object",
  2975. "properties": {
  2976. "state": {
  2977. "type": "string",
  2978. "example": "0待确认 1审核通过 2审核失败"
  2979. },
  2980. "url": {
  2981. "type": "string"
  2982. }
  2983. }
  2984. },
  2985. "md.InvoiceReq": {
  2986. "type": "object",
  2987. "properties": {
  2988. "file": {
  2989. "type": "array",
  2990. "items": {
  2991. "$ref": "#/definitions/md.InvoiceFile"
  2992. }
  2993. },
  2994. "id": {
  2995. "type": "string",
  2996. "example": "列表id"
  2997. },
  2998. "type": {
  2999. "type": "string",
  3000. "example": "0电子发票 1纸质发票"
  3001. }
  3002. }
  3003. },
  3004. "md.LoginPhoneReq": {
  3005. "type": "object",
  3006. "required": [
  3007. "captcha",
  3008. "username"
  3009. ],
  3010. "properties": {
  3011. "captcha": {
  3012. "type": "string",
  3013. "example": "验证码"
  3014. },
  3015. "username": {
  3016. "type": "string",
  3017. "example": "登录账号"
  3018. }
  3019. }
  3020. },
  3021. "md.LoginReq": {
  3022. "type": "object",
  3023. "required": [
  3024. "password",
  3025. "username"
  3026. ],
  3027. "properties": {
  3028. "code": {
  3029. "type": "string",
  3030. "example": "验证码"
  3031. },
  3032. "password": {
  3033. "type": "string",
  3034. "example": "登录密码"
  3035. },
  3036. "username": {
  3037. "type": "string",
  3038. "example": "登录账号"
  3039. }
  3040. }
  3041. },
  3042. "md.LoginResponse": {
  3043. "type": "object",
  3044. "properties": {
  3045. "token": {
  3046. "type": "string"
  3047. }
  3048. }
  3049. },
  3050. "md.MediumBankInfo": {
  3051. "type": "object",
  3052. "properties": {
  3053. "bank": {
  3054. "type": "string"
  3055. },
  3056. "bank_branch": {
  3057. "type": "string"
  3058. },
  3059. "bank_no": {
  3060. "type": "string"
  3061. },
  3062. "currency_conf": {
  3063. "type": "string"
  3064. },
  3065. "id": {
  3066. "type": "string"
  3067. },
  3068. "licence": {
  3069. "type": "string"
  3070. },
  3071. "medium_id": {
  3072. "type": "string"
  3073. },
  3074. "memo": {
  3075. "type": "string"
  3076. },
  3077. "state": {
  3078. "type": "string"
  3079. },
  3080. "uuid": {
  3081. "type": "string"
  3082. }
  3083. }
  3084. },
  3085. "md.MediumContactInfo": {
  3086. "type": "object",
  3087. "properties": {
  3088. "address": {
  3089. "type": "string"
  3090. },
  3091. "email": {
  3092. "type": "string"
  3093. },
  3094. "id": {
  3095. "type": "string"
  3096. },
  3097. "medium_id": {
  3098. "type": "string"
  3099. },
  3100. "memo": {
  3101. "type": "string"
  3102. },
  3103. "name": {
  3104. "type": "string"
  3105. },
  3106. "phone": {
  3107. "type": "string"
  3108. },
  3109. "state": {
  3110. "type": "string"
  3111. },
  3112. "uuid": {
  3113. "type": "string"
  3114. }
  3115. }
  3116. },
  3117. "md.MediumList": {
  3118. "type": "object",
  3119. "properties": {
  3120. "business_license_address": {
  3121. "type": "string"
  3122. },
  3123. "business_license_img_url": {
  3124. "type": "string"
  3125. },
  3126. "certificate_first_type": {
  3127. "type": "string"
  3128. },
  3129. "certificate_type": {
  3130. "type": "string"
  3131. },
  3132. "certificate_validity": {
  3133. "type": "string"
  3134. },
  3135. "company_abbreviation": {
  3136. "type": "string"
  3137. },
  3138. "company_name": {
  3139. "type": "string"
  3140. },
  3141. "country_region": {
  3142. "type": "string"
  3143. },
  3144. "country_region_id": {
  3145. "type": "string"
  3146. },
  3147. "id": {
  3148. "type": "string"
  3149. },
  3150. "kind": {
  3151. "type": "string"
  3152. },
  3153. "legal_representative": {
  3154. "type": "string"
  3155. },
  3156. "medium_id": {
  3157. "type": "string"
  3158. },
  3159. "memo": {
  3160. "type": "string"
  3161. },
  3162. "registered_address": {
  3163. "type": "string"
  3164. },
  3165. "registered_address_city_id": {
  3166. "type": "string"
  3167. },
  3168. "registered_address_country_id": {
  3169. "type": "string"
  3170. },
  3171. "registered_address_county_id": {
  3172. "type": "string"
  3173. },
  3174. "registered_address_province_id": {
  3175. "type": "string"
  3176. },
  3177. "state": {
  3178. "type": "string"
  3179. },
  3180. "unified_social_credit_code": {
  3181. "type": "string"
  3182. },
  3183. "uuid": {
  3184. "type": "string"
  3185. }
  3186. }
  3187. },
  3188. "md.RegisterReq": {
  3189. "type": "object",
  3190. "required": [
  3191. "captcha",
  3192. "password",
  3193. "username"
  3194. ],
  3195. "properties": {
  3196. "agent_id": {
  3197. "type": "string",
  3198. "example": "代理id"
  3199. },
  3200. "captcha": {
  3201. "type": "string",
  3202. "example": "验证码"
  3203. },
  3204. "password": {
  3205. "type": "string",
  3206. "example": "登录密码"
  3207. },
  3208. "username": {
  3209. "type": "string",
  3210. "example": "登录账号"
  3211. }
  3212. }
  3213. },
  3214. "md.Response": {
  3215. "type": "object",
  3216. "properties": {
  3217. "code": {
  3218. "type": "string",
  3219. "example": "响应码"
  3220. },
  3221. "data": {
  3222. "description": "内容"
  3223. },
  3224. "msg": {
  3225. "type": "string",
  3226. "example": "具体错误原因"
  3227. }
  3228. }
  3229. },
  3230. "md.RoleBindPermissionGroupReq": {
  3231. "type": "object",
  3232. "required": [
  3233. "role_id"
  3234. ],
  3235. "properties": {
  3236. "permission_ids": {
  3237. "type": "array",
  3238. "items": {
  3239. "type": "integer"
  3240. }
  3241. },
  3242. "role_id": {
  3243. "type": "integer"
  3244. }
  3245. }
  3246. },
  3247. "md.SelectData": {
  3248. "type": "object",
  3249. "properties": {
  3250. "name": {
  3251. "type": "string",
  3252. "example": "名称"
  3253. },
  3254. "value": {
  3255. "type": "string",
  3256. "example": "值"
  3257. }
  3258. }
  3259. },
  3260. "md.SettleCenterDataData": {
  3261. "type": "object",
  3262. "properties": {
  3263. "all_income": {
  3264. "type": "string",
  3265. "example": "合计收益"
  3266. },
  3267. "business_kind": {
  3268. "type": "string",
  3269. "example": "业务类型(1:广告合作)"
  3270. },
  3271. "id": {
  3272. "type": "string"
  3273. },
  3274. "label": {
  3275. "type": "string"
  3276. },
  3277. "medium_income": {
  3278. "type": "string",
  3279. "example": "媒体结算"
  3280. },
  3281. "other_income": {
  3282. "type": "string",
  3283. "example": "其他调整"
  3284. },
  3285. "pay_state": {
  3286. "type": "string",
  3287. "example": "结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"
  3288. },
  3289. "settle_file": {
  3290. "type": "string",
  3291. "example": "结算单"
  3292. },
  3293. "settle_type": {
  3294. "type": "string",
  3295. "example": "结算单类型(1:日结 2:周结 3:月结 4:预付)"
  3296. },
  3297. "state": {
  3298. "type": "string",
  3299. "example": "结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"
  3300. },
  3301. "time_str": {
  3302. "type": "string",
  3303. "example": "业务时间"
  3304. }
  3305. }
  3306. },
  3307. "md.SettleCenterDataDetail": {
  3308. "type": "object",
  3309. "properties": {
  3310. "all_income": {
  3311. "type": "string",
  3312. "example": "合计收益"
  3313. },
  3314. "business_kind": {
  3315. "type": "string",
  3316. "example": "业务类型(1:广告合作)"
  3317. },
  3318. "invoice": {
  3319. "$ref": "#/definitions/md.Invoice"
  3320. },
  3321. "medium_income": {
  3322. "type": "string",
  3323. "example": "媒体结算"
  3324. },
  3325. "other_income": {
  3326. "type": "string",
  3327. "example": "其他调整"
  3328. },
  3329. "pay_state": {
  3330. "type": "string",
  3331. "example": "结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"
  3332. },
  3333. "settle_file": {
  3334. "type": "string",
  3335. "example": "结算单"
  3336. },
  3337. "state": {
  3338. "type": "string",
  3339. "example": "结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"
  3340. },
  3341. "time_str": {
  3342. "type": "string",
  3343. "example": "业务时间"
  3344. }
  3345. }
  3346. },
  3347. "md.SettleCenterDataDetailRes": {
  3348. "type": "object",
  3349. "properties": {
  3350. "business_kind": {
  3351. "type": "array",
  3352. "items": {
  3353. "$ref": "#/definitions/md.SelectData"
  3354. }
  3355. },
  3356. "data": {
  3357. "$ref": "#/definitions/md.SettleCenterDataDetail"
  3358. },
  3359. "invoice_cate": {
  3360. "type": "array",
  3361. "items": {
  3362. "$ref": "#/definitions/md.SelectData"
  3363. }
  3364. },
  3365. "invoice_state": {
  3366. "type": "array",
  3367. "items": {
  3368. "$ref": "#/definitions/md.SelectData"
  3369. }
  3370. },
  3371. "settle_pay_state": {
  3372. "type": "array",
  3373. "items": {
  3374. "$ref": "#/definitions/md.SelectData"
  3375. }
  3376. },
  3377. "settle_state": {
  3378. "type": "array",
  3379. "items": {
  3380. "$ref": "#/definitions/md.SelectData"
  3381. }
  3382. },
  3383. "settle_type": {
  3384. "type": "array",
  3385. "items": {
  3386. "$ref": "#/definitions/md.SelectData"
  3387. }
  3388. }
  3389. }
  3390. },
  3391. "md.SettleCenterDataReq": {
  3392. "type": "object",
  3393. "properties": {
  3394. "end_time": {
  3395. "type": "string"
  3396. },
  3397. "limit": {
  3398. "type": "string"
  3399. },
  3400. "page": {
  3401. "type": "string"
  3402. },
  3403. "start_time": {
  3404. "type": "string",
  3405. "example": "2024-08-29"
  3406. }
  3407. }
  3408. },
  3409. "md.SettleCenterDataRes": {
  3410. "type": "object",
  3411. "properties": {
  3412. "business_kind": {
  3413. "type": "array",
  3414. "items": {
  3415. "$ref": "#/definitions/md.SelectData"
  3416. }
  3417. },
  3418. "list": {
  3419. "type": "array",
  3420. "items": {
  3421. "$ref": "#/definitions/md.SettleCenterDataData"
  3422. }
  3423. },
  3424. "settle_pay_state": {
  3425. "type": "array",
  3426. "items": {
  3427. "$ref": "#/definitions/md.SelectData"
  3428. }
  3429. },
  3430. "settle_state": {
  3431. "type": "array",
  3432. "items": {
  3433. "$ref": "#/definitions/md.SelectData"
  3434. }
  3435. },
  3436. "settle_type": {
  3437. "type": "array",
  3438. "items": {
  3439. "$ref": "#/definitions/md.SelectData"
  3440. }
  3441. },
  3442. "total": {
  3443. "type": "integer"
  3444. }
  3445. }
  3446. },
  3447. "md.SettleFileReq": {
  3448. "type": "object",
  3449. "properties": {
  3450. "file": {
  3451. "type": "string",
  3452. "example": "七牛云链接 带http"
  3453. },
  3454. "id": {
  3455. "type": "string",
  3456. "example": "列表id"
  3457. }
  3458. }
  3459. },
  3460. "md.SmsReq": {
  3461. "type": "object",
  3462. "properties": {
  3463. "phone": {
  3464. "type": "string"
  3465. },
  3466. "type": {
  3467. "type": "string",
  3468. "example": "手机号登陆:fast_login 注册:register 修改密码(不用传手机号):update_password"
  3469. }
  3470. }
  3471. },
  3472. "md.UpdateAdminReq": {
  3473. "type": "object",
  3474. "required": [
  3475. "id",
  3476. "password",
  3477. "username"
  3478. ],
  3479. "properties": {
  3480. "id": {
  3481. "type": "integer"
  3482. },
  3483. "memo": {
  3484. "type": "string"
  3485. },
  3486. "password": {
  3487. "type": "string"
  3488. },
  3489. "username": {
  3490. "type": "string"
  3491. }
  3492. }
  3493. },
  3494. "md.UpdateAdminStateReq": {
  3495. "type": "object",
  3496. "required": [
  3497. "id",
  3498. "state"
  3499. ],
  3500. "properties": {
  3501. "id": {
  3502. "type": "integer"
  3503. },
  3504. "state": {
  3505. "type": "integer"
  3506. }
  3507. }
  3508. },
  3509. "md.UpdateRoleReq": {
  3510. "type": "object",
  3511. "required": [
  3512. "memo",
  3513. "name",
  3514. "role_id"
  3515. ],
  3516. "properties": {
  3517. "memo": {
  3518. "type": "string"
  3519. },
  3520. "name": {
  3521. "type": "string"
  3522. },
  3523. "role_id": {
  3524. "type": "integer"
  3525. }
  3526. }
  3527. },
  3528. "md.UpdateRoleStateReq": {
  3529. "type": "object",
  3530. "required": [
  3531. "role_id",
  3532. "state"
  3533. ],
  3534. "properties": {
  3535. "role_id": {
  3536. "type": "integer"
  3537. },
  3538. "state": {
  3539. "type": "integer"
  3540. }
  3541. }
  3542. }
  3543. },
  3544. "securityDefinitions": {
  3545. "MasterID": {
  3546. "type": "apiKey",
  3547. "name": "MasterID",
  3548. "in": "header"
  3549. }
  3550. }
  3551. }