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

3434 line
113 KiB

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