广告平台(站长下代理使用)
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

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