广告平台(站长下代理使用)
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.
 
 
 
 
 
 

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