广告平台(媒体使用)
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.
 
 
 
 
 
 

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