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

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