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

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