广告平台(媒体使用)
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

3550 righe
115 KiB

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