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

4045 line
93 KiB

  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "广告联盟接口",
  5. "title": "广告联盟",
  6. "termsOfService": "http://swagger.io/terms/",
  7. "contact": {
  8. "name": "zhiying",
  9. "url": "http://www.swagger.io/support",
  10. "email": "zhiyongos@163.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": "xxxxx.adcms.zhiyingos.cn",
  19. "paths": {
  20. "/api/dataCenter/generate/data/list": {
  21. "post": {
  22. "description": "数据中心-分成数据-列表",
  23. "consumes": [
  24. "application/json"
  25. ],
  26. "produces": [
  27. "application/json"
  28. ],
  29. "tags": [
  30. "数据中心------OPEN"
  31. ],
  32. "summary": "分成数据-列表",
  33. "parameters": [
  34. {
  35. "type": "string",
  36. "description": "秘钥内容",
  37. "name": "AppSecret",
  38. "in": "header",
  39. "required": true
  40. },
  41. {
  42. "description": "请求参数",
  43. "name": "args",
  44. "in": "body",
  45. "required": true,
  46. "schema": {
  47. "$ref": "#/definitions/md.DataCenterGenerateDataReq"
  48. }
  49. }
  50. ],
  51. "responses": {
  52. "200": {
  53. "description": "具体看返回内容 这是data里面的数据",
  54. "schema": {
  55. "$ref": "#/definitions/md.DataCenterGenerateDataRes"
  56. }
  57. },
  58. "400": {
  59. "description": "具体错误",
  60. "schema": {
  61. "$ref": "#/definitions/md.Response"
  62. }
  63. }
  64. }
  65. }
  66. }
  67. },
  68. "definitions": {
  69. "hdl.WxOpenThirdPartyAppList": {
  70. "type": "object",
  71. "properties": {
  72. "aes_key": {
  73. "type": "string"
  74. },
  75. "app_secret": {
  76. "type": "string"
  77. },
  78. "appid": {
  79. "type": "string"
  80. },
  81. "component_access_token": {
  82. "type": "string"
  83. },
  84. "component_verify_ticket": {
  85. "type": "string"
  86. },
  87. "create_at": {
  88. "type": "string"
  89. },
  90. "id": {
  91. "type": "integer"
  92. },
  93. "token": {
  94. "type": "string"
  95. },
  96. "update_at": {
  97. "type": "string"
  98. },
  99. "uuid": {
  100. "type": "integer"
  101. }
  102. }
  103. },
  104. "md.AddAdminReq": {
  105. "type": "object",
  106. "required": [
  107. "password",
  108. "username"
  109. ],
  110. "properties": {
  111. "memo": {
  112. "type": "string"
  113. },
  114. "password": {
  115. "type": "string"
  116. },
  117. "username": {
  118. "type": "string"
  119. }
  120. }
  121. },
  122. "md.AddRoleReq": {
  123. "type": "object",
  124. "required": [
  125. "memo",
  126. "name"
  127. ],
  128. "properties": {
  129. "label": {
  130. "type": "string"
  131. },
  132. "logo": {
  133. "type": "string"
  134. },
  135. "memo": {
  136. "type": "string"
  137. },
  138. "name": {
  139. "type": "string"
  140. },
  141. "seo_logo": {
  142. "type": "string"
  143. },
  144. "seo_title": {
  145. "type": "string"
  146. }
  147. }
  148. },
  149. "md.AdminListReq": {
  150. "type": "object",
  151. "properties": {
  152. "limit": {
  153. "type": "integer"
  154. },
  155. "page": {
  156. "type": "integer"
  157. },
  158. "state": {
  159. "type": "integer"
  160. },
  161. "username": {
  162. "type": "string"
  163. }
  164. }
  165. },
  166. "md.AgencyGetBlackListResp": {
  167. "type": "object",
  168. "properties": {
  169. "blacklist_android": {
  170. "description": "屏蔽安卓应用列表",
  171. "type": "array",
  172. "items": {
  173. "type": "object",
  174. "properties": {
  175. "id": {
  176. "type": "string",
  177. "example": "屏蔽安卓应用的应用宝包名"
  178. },
  179. "name": {
  180. "type": "string",
  181. "example": "屏蔽安卓应用的名称"
  182. },
  183. "url": {
  184. "type": "string",
  185. "example": "屏蔽安卓应用标识图片"
  186. }
  187. }
  188. }
  189. },
  190. "blacklist_biz": {
  191. "description": "屏蔽公众号列表",
  192. "type": "array",
  193. "items": {
  194. "type": "object",
  195. "properties": {
  196. "id": {
  197. "type": "string",
  198. "example": "屏蔽公众号微信号"
  199. },
  200. "name": {
  201. "type": "string",
  202. "example": "屏蔽公众号名称"
  203. },
  204. "url": {
  205. "type": "string",
  206. "example": "屏蔽公众号头像URL"
  207. }
  208. }
  209. }
  210. },
  211. "blacklist_ios": {
  212. "description": "屏蔽IOS应用列表",
  213. "type": "array",
  214. "items": {
  215. "type": "object",
  216. "properties": {
  217. "id": {
  218. "type": "string",
  219. "example": "屏蔽IOS应用的APPID"
  220. },
  221. "name": {
  222. "type": "string",
  223. "example": "屏蔽IOS应用名称"
  224. },
  225. "url": {
  226. "type": "string",
  227. "example": "屏蔽IOS应用标识图片"
  228. }
  229. }
  230. }
  231. },
  232. "blacklist_weapp": {
  233. "description": "屏蔽小程序/小游戏列表",
  234. "type": "array",
  235. "items": {
  236. "type": "object",
  237. "properties": {
  238. "id": {
  239. "type": "string",
  240. "example": "屏蔽小程序/小游戏原始ID"
  241. },
  242. "name": {
  243. "type": "string",
  244. "example": "屏蔽小程序/小游戏名称"
  245. },
  246. "url": {
  247. "type": "string",
  248. "example": "屏蔽小程序/小游戏头像URL"
  249. }
  250. }
  251. }
  252. },
  253. "err_msg": {
  254. "type": "string",
  255. "example": "错误信息"
  256. },
  257. "ret": {
  258. "description": "错误码",
  259. "type": "integer"
  260. }
  261. }
  262. },
  263. "md.AgentQualificationBankData": {
  264. "type": "object",
  265. "properties": {
  266. "account": {
  267. "type": "string",
  268. "example": "账号"
  269. },
  270. "agent_id": {
  271. "type": "string",
  272. "example": "代理id"
  273. },
  274. "bank": {
  275. "type": "string",
  276. "example": "开户银行"
  277. },
  278. "bank_branch": {
  279. "type": "string",
  280. "example": "开户银行分行"
  281. },
  282. "bank_no": {
  283. "type": "string",
  284. "example": "银行卡号"
  285. },
  286. "company_name": {
  287. "type": "string",
  288. "example": "公司名称"
  289. },
  290. "currency_conf": {
  291. "type": "string",
  292. "example": "结算币种 0人民币"
  293. },
  294. "id": {
  295. "type": "string",
  296. "example": "id"
  297. },
  298. "kind": {
  299. "type": "string",
  300. "example": "类型(1:企业 2:个人)"
  301. },
  302. "licence": {
  303. "type": "string",
  304. "example": "开户许可证"
  305. },
  306. "memo": {
  307. "type": "string",
  308. "example": "备注 审核时填写的"
  309. },
  310. "state": {
  311. "type": "string",
  312. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  313. },
  314. "unified_social_credit_code": {
  315. "type": "string",
  316. "example": "统一社会信用代码"
  317. }
  318. }
  319. },
  320. "md.AgentQualificationBankRes": {
  321. "type": "object",
  322. "properties": {
  323. "currency_conf": {
  324. "type": "array",
  325. "items": {
  326. "$ref": "#/definitions/md.SelectData"
  327. }
  328. },
  329. "list": {
  330. "type": "array",
  331. "items": {
  332. "$ref": "#/definitions/md.AgentQualificationBankData"
  333. }
  334. },
  335. "state": {
  336. "type": "array",
  337. "items": {
  338. "$ref": "#/definitions/md.SelectData"
  339. }
  340. },
  341. "total": {
  342. "type": "integer"
  343. },
  344. "type": {
  345. "type": "array",
  346. "items": {
  347. "$ref": "#/definitions/md.SelectData"
  348. }
  349. }
  350. }
  351. },
  352. "md.AgentQualificationContactData": {
  353. "type": "object",
  354. "properties": {
  355. "account": {
  356. "type": "string",
  357. "example": "账号"
  358. },
  359. "address": {
  360. "type": "string",
  361. "example": "联系地址"
  362. },
  363. "agent_id": {
  364. "type": "string",
  365. "example": "代理id"
  366. },
  367. "company_name": {
  368. "type": "string",
  369. "example": "公司名称"
  370. },
  371. "email": {
  372. "type": "string",
  373. "example": "邮箱地址"
  374. },
  375. "id": {
  376. "type": "string",
  377. "example": "id"
  378. },
  379. "kind": {
  380. "type": "string",
  381. "example": "类型(1:企业 2:个人)"
  382. },
  383. "memo": {
  384. "type": "string",
  385. "example": "备注 审核时填写的"
  386. },
  387. "name": {
  388. "type": "string",
  389. "example": "联系人"
  390. },
  391. "phone": {
  392. "type": "string",
  393. "example": "联系电话"
  394. },
  395. "state": {
  396. "type": "string",
  397. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  398. }
  399. }
  400. },
  401. "md.AgentQualificationContactRes": {
  402. "type": "object",
  403. "properties": {
  404. "list": {
  405. "type": "array",
  406. "items": {
  407. "$ref": "#/definitions/md.AgentQualificationContactData"
  408. }
  409. },
  410. "state": {
  411. "type": "array",
  412. "items": {
  413. "$ref": "#/definitions/md.SelectData"
  414. }
  415. },
  416. "total": {
  417. "type": "integer"
  418. }
  419. }
  420. },
  421. "md.AgentQualificationEnterpriseAuditReq": {
  422. "type": "object",
  423. "properties": {
  424. "agent_id": {
  425. "type": "string"
  426. },
  427. "memo": {
  428. "type": "string"
  429. },
  430. "state": {
  431. "type": "string"
  432. }
  433. }
  434. },
  435. "md.AgentQualificationEnterpriseData": {
  436. "type": "object",
  437. "properties": {
  438. "account": {
  439. "type": "string",
  440. "example": "账号"
  441. },
  442. "agent_id": {
  443. "type": "string",
  444. "example": "代理id"
  445. },
  446. "business_license_address": {
  447. "type": "string",
  448. "example": "营业执照地址"
  449. },
  450. "business_license_img_url": {
  451. "type": "string",
  452. "example": "营业执照照片"
  453. },
  454. "certificate_first_type": {
  455. "type": "string",
  456. "example": "证件类型 1级类目id"
  457. },
  458. "certificate_type": {
  459. "type": "string",
  460. "example": "证件类型 2级类目id"
  461. },
  462. "certificate_validity": {
  463. "type": "string",
  464. "example": "证件有效期"
  465. },
  466. "company_abbreviation": {
  467. "type": "string",
  468. "example": "公司简称"
  469. },
  470. "company_name": {
  471. "type": "string",
  472. "example": "公司名称"
  473. },
  474. "country_region": {
  475. "type": "string",
  476. "example": "国家地区"
  477. },
  478. "country_region_id": {
  479. "type": "string",
  480. "example": "国家地区id"
  481. },
  482. "id": {
  483. "type": "string",
  484. "example": "状态选择"
  485. },
  486. "kind": {
  487. "type": "string",
  488. "example": "类型(1:企业 2:个人)"
  489. },
  490. "legal_representative": {
  491. "type": "string",
  492. "example": "法定代表人"
  493. },
  494. "memo": {
  495. "type": "string",
  496. "example": "备注 审核时填写的"
  497. },
  498. "registered_address": {
  499. "type": "string",
  500. "example": "注册地址"
  501. },
  502. "registered_address_city_id": {
  503. "type": "string",
  504. "example": "注册地址-市id"
  505. },
  506. "registered_address_country_id": {
  507. "type": "string",
  508. "example": "注册地址-国家id"
  509. },
  510. "registered_address_county_id": {
  511. "type": "string",
  512. "example": "注册地址-县/区id"
  513. },
  514. "registered_address_province_id": {
  515. "type": "string",
  516. "example": "册地址-省份id"
  517. },
  518. "state": {
  519. "type": "string",
  520. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  521. },
  522. "unified_social_credit_code": {
  523. "type": "string",
  524. "example": "统一社会信用代码"
  525. },
  526. "uuid": {
  527. "type": "string",
  528. "example": "站长id"
  529. }
  530. }
  531. },
  532. "md.AgentQualificationEnterpriseReq": {
  533. "type": "object",
  534. "properties": {
  535. "limit": {
  536. "type": "string"
  537. },
  538. "name": {
  539. "type": "string"
  540. },
  541. "page": {
  542. "type": "string"
  543. },
  544. "state": {
  545. "type": "string"
  546. }
  547. }
  548. },
  549. "md.AgentQualificationEnterpriseRes": {
  550. "type": "object",
  551. "properties": {
  552. "list": {
  553. "type": "array",
  554. "items": {
  555. "$ref": "#/definitions/md.AgentQualificationEnterpriseData"
  556. }
  557. },
  558. "state": {
  559. "type": "array",
  560. "items": {
  561. "$ref": "#/definitions/md.SelectData"
  562. }
  563. },
  564. "total": {
  565. "type": "integer"
  566. },
  567. "type": {
  568. "type": "array",
  569. "items": {
  570. "$ref": "#/definitions/md.SelectData"
  571. }
  572. }
  573. }
  574. },
  575. "md.AppletAddBlackListReq": {
  576. "type": "object",
  577. "required": [
  578. "Kind",
  579. "appid",
  580. "id"
  581. ],
  582. "properties": {
  583. "Kind": {
  584. "description": "类型(1:公众号 2:IOS应用 3:安卓应用 4:小程序/小游戏)",
  585. "type": "integer"
  586. },
  587. "appid": {
  588. "type": "string",
  589. "example": "授权小程序appid"
  590. },
  591. "id": {
  592. "type": "string",
  593. "example": "微信公众号id | IOS应用APPID | 安卓应用的应用宝包名 | 小程序/小游戏原始ID"
  594. }
  595. }
  596. },
  597. "md.AppletAddReq": {
  598. "type": "object",
  599. "required": [
  600. "appid",
  601. "logo",
  602. "name",
  603. "original_id"
  604. ],
  605. "properties": {
  606. "appid": {
  607. "type": "string",
  608. "example": "授权小程序appid"
  609. },
  610. "logo": {
  611. "type": "string",
  612. "example": "小程序logo"
  613. },
  614. "name": {
  615. "type": "string",
  616. "example": "小程序名称"
  617. },
  618. "original_id": {
  619. "type": "string",
  620. "example": "授权小程序原始id"
  621. }
  622. }
  623. },
  624. "md.AppletApplicationAdSpaceListData": {
  625. "type": "object",
  626. "properties": {
  627. "ad_id": {
  628. "type": "string",
  629. "example": "广告位id"
  630. },
  631. "app_id": {
  632. "type": "string",
  633. "example": "小程序appid"
  634. },
  635. "cooperate_state": {
  636. "type": "string",
  637. "example": "合作状态"
  638. },
  639. "id": {
  640. "type": "string",
  641. "example": "id"
  642. },
  643. "kind": {
  644. "type": "string",
  645. "example": "广告位类型"
  646. },
  647. "logo": {
  648. "type": "string",
  649. "example": "logo"
  650. },
  651. "memo": {
  652. "type": "string",
  653. "example": "备注"
  654. },
  655. "name": {
  656. "type": "string",
  657. "example": "应用名称"
  658. },
  659. "platform": {
  660. "type": "string",
  661. "example": "平台"
  662. },
  663. "state": {
  664. "type": "string",
  665. "example": "应用状态 state=2 才能再次编辑"
  666. }
  667. }
  668. },
  669. "md.AppletApplicationAdSpaceListReq": {
  670. "type": "object",
  671. "properties": {
  672. "ad_type": {
  673. "type": "string",
  674. "example": ""
  675. },
  676. "cooperate_state": {
  677. "type": "string",
  678. "example": "合作状态"
  679. },
  680. "limit": {
  681. "type": "string"
  682. },
  683. "medium_id": {
  684. "type": "string",
  685. "example": "媒体id"
  686. },
  687. "name": {
  688. "type": "string"
  689. },
  690. "page": {
  691. "type": "string"
  692. },
  693. "platform": {
  694. "type": "string"
  695. }
  696. }
  697. },
  698. "md.AppletApplicationAdSpaceListRes": {
  699. "type": "object",
  700. "properties": {
  701. "ad_type": {
  702. "type": "array",
  703. "items": {
  704. "$ref": "#/definitions/md.SelectData"
  705. }
  706. },
  707. "cooperate_state": {
  708. "type": "array",
  709. "items": {
  710. "$ref": "#/definitions/md.SelectData"
  711. }
  712. },
  713. "list": {
  714. "type": "array",
  715. "items": {
  716. "$ref": "#/definitions/md.AppletApplicationAdSpaceListData"
  717. }
  718. },
  719. "platform": {
  720. "type": "array",
  721. "items": {
  722. "$ref": "#/definitions/md.SelectData"
  723. }
  724. },
  725. "state": {
  726. "type": "array",
  727. "items": {
  728. "$ref": "#/definitions/md.SelectData"
  729. }
  730. },
  731. "total": {
  732. "type": "integer"
  733. }
  734. }
  735. },
  736. "md.AppletApplicationAdSpaceMediumListData": {
  737. "type": "object",
  738. "properties": {
  739. "account": {
  740. "type": "string",
  741. "example": "账号"
  742. },
  743. "contact_name": {
  744. "type": "string",
  745. "example": "联系人"
  746. },
  747. "count": {
  748. "type": "string",
  749. "example": "广告位数量"
  750. },
  751. "id": {
  752. "type": "string",
  753. "example": "id"
  754. },
  755. "medium_id": {
  756. "type": "string",
  757. "example": "媒体id"
  758. },
  759. "name": {
  760. "type": "string",
  761. "example": "名称"
  762. },
  763. "phone": {
  764. "type": "string",
  765. "example": "联系电话"
  766. }
  767. }
  768. },
  769. "md.AppletApplicationAdSpaceMediumListReq": {
  770. "type": "object",
  771. "properties": {
  772. "account": {
  773. "type": "string",
  774. "example": "媒体账号"
  775. },
  776. "limit": {
  777. "type": "string"
  778. },
  779. "name": {
  780. "type": "string",
  781. "example": "媒体名称"
  782. },
  783. "page": {
  784. "type": "string"
  785. }
  786. }
  787. },
  788. "md.AppletApplicationAdSpaceMediumListRes": {
  789. "type": "object",
  790. "properties": {
  791. "list": {
  792. "type": "array",
  793. "items": {
  794. "$ref": "#/definitions/md.AppletApplicationAdSpaceMediumListData"
  795. }
  796. },
  797. "total": {
  798. "type": "integer"
  799. }
  800. }
  801. },
  802. "md.AppletApplicationAdSpaceSaveReq": {
  803. "type": "object",
  804. "properties": {
  805. "id": {
  806. "type": "string",
  807. "example": "id 多个逗号隔开"
  808. },
  809. "memo": {
  810. "type": "string",
  811. "example": "备注"
  812. },
  813. "state": {
  814. "type": "string",
  815. "example": "审核状态"
  816. }
  817. }
  818. },
  819. "md.AppletApplicationListData": {
  820. "type": "object",
  821. "properties": {
  822. "app_id": {
  823. "type": "string",
  824. "example": "小程序appid"
  825. },
  826. "cooperate_state": {
  827. "type": "string",
  828. "example": "合作状态"
  829. },
  830. "id": {
  831. "type": "string",
  832. "example": "id"
  833. },
  834. "logo": {
  835. "type": "string",
  836. "example": "logo"
  837. },
  838. "memo": {
  839. "type": "string",
  840. "example": "备注"
  841. },
  842. "name": {
  843. "type": "string",
  844. "example": "应用名称"
  845. },
  846. "original_id": {
  847. "type": "string",
  848. "example": "小程序id"
  849. },
  850. "platform": {
  851. "type": "string",
  852. "example": "平台"
  853. },
  854. "state": {
  855. "type": "string",
  856. "example": "应用状态 state=3 才能再次编辑"
  857. }
  858. }
  859. },
  860. "md.AppletApplicationListReq": {
  861. "type": "object",
  862. "properties": {
  863. "cooperate_state": {
  864. "type": "string",
  865. "example": "合作状态"
  866. },
  867. "limit": {
  868. "type": "string"
  869. },
  870. "medium_id": {
  871. "type": "string",
  872. "example": "媒体id"
  873. },
  874. "name": {
  875. "type": "string"
  876. },
  877. "page": {
  878. "type": "string"
  879. },
  880. "platform": {
  881. "type": "string"
  882. }
  883. }
  884. },
  885. "md.AppletApplicationListRes": {
  886. "type": "object",
  887. "properties": {
  888. "cooperate_state": {
  889. "type": "array",
  890. "items": {
  891. "$ref": "#/definitions/md.SelectData"
  892. }
  893. },
  894. "list": {
  895. "type": "array",
  896. "items": {
  897. "$ref": "#/definitions/md.AppletApplicationListData"
  898. }
  899. },
  900. "platform": {
  901. "type": "array",
  902. "items": {
  903. "$ref": "#/definitions/md.SelectData"
  904. }
  905. },
  906. "state": {
  907. "type": "array",
  908. "items": {
  909. "$ref": "#/definitions/md.SelectData"
  910. }
  911. },
  912. "total": {
  913. "type": "integer"
  914. }
  915. }
  916. },
  917. "md.AppletApplicationMediumListData": {
  918. "type": "object",
  919. "properties": {
  920. "account": {
  921. "type": "string",
  922. "example": "账号"
  923. },
  924. "contact_name": {
  925. "type": "string",
  926. "example": "联系人"
  927. },
  928. "count": {
  929. "type": "string",
  930. "example": "应用数量"
  931. },
  932. "id": {
  933. "type": "string",
  934. "example": "id"
  935. },
  936. "medium_id": {
  937. "type": "string",
  938. "example": "媒体id"
  939. },
  940. "name": {
  941. "type": "string",
  942. "example": "名称"
  943. },
  944. "phone": {
  945. "type": "string",
  946. "example": "联系电话"
  947. }
  948. }
  949. },
  950. "md.AppletApplicationMediumListReq": {
  951. "type": "object",
  952. "properties": {
  953. "account": {
  954. "type": "string",
  955. "example": "媒体账号"
  956. },
  957. "limit": {
  958. "type": "string"
  959. },
  960. "name": {
  961. "type": "string",
  962. "example": "媒体名称"
  963. },
  964. "page": {
  965. "type": "string"
  966. }
  967. }
  968. },
  969. "md.AppletApplicationMediumListRes": {
  970. "type": "object",
  971. "properties": {
  972. "list": {
  973. "type": "array",
  974. "items": {
  975. "$ref": "#/definitions/md.AppletApplicationMediumListData"
  976. }
  977. },
  978. "total": {
  979. "type": "integer"
  980. }
  981. }
  982. },
  983. "md.AppletApplicationSaveReq": {
  984. "type": "object",
  985. "properties": {
  986. "id": {
  987. "type": "string",
  988. "example": "id 多个逗号隔开"
  989. },
  990. "memo": {
  991. "type": "string",
  992. "example": "备注"
  993. },
  994. "state": {
  995. "type": "string",
  996. "example": "审核状态"
  997. }
  998. }
  999. },
  1000. "md.AppletDelBlackListReq": {
  1001. "type": "object",
  1002. "required": [
  1003. "Kind",
  1004. "appid",
  1005. "id"
  1006. ],
  1007. "properties": {
  1008. "Kind": {
  1009. "description": "类型(1:公众号 2:IOS应用 3:安卓应用 4:小程序/小游戏)",
  1010. "type": "integer"
  1011. },
  1012. "appid": {
  1013. "type": "string",
  1014. "example": "授权小程序appid"
  1015. },
  1016. "id": {
  1017. "type": "string",
  1018. "example": "微信公众号id | IOS应用APPID | 安卓应用的应用宝包名 | 小程序/小游戏原始ID"
  1019. }
  1020. }
  1021. },
  1022. "md.AppletGetAmsCategoryBlackListReq": {
  1023. "type": "object",
  1024. "required": [
  1025. "appid"
  1026. ],
  1027. "properties": {
  1028. "appid": {
  1029. "type": "string",
  1030. "example": "授权小程序appid"
  1031. }
  1032. }
  1033. },
  1034. "md.AppletGetAmsCategoryBlackListResp": {
  1035. "type": "object",
  1036. "properties": {
  1037. "ams_category": {
  1038. "description": "行业列表",
  1039. "type": "array",
  1040. "items": {
  1041. "type": "object",
  1042. "properties": {
  1043. "name": {
  1044. "type": "string",
  1045. "example": "行业名称"
  1046. },
  1047. "value": {
  1048. "type": "string",
  1049. "example": "行业标识符"
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "checked_ams_category": {
  1055. "description": "选中的行业列表",
  1056. "type": "array",
  1057. "items": {
  1058. "type": "object",
  1059. "properties": {
  1060. "name": {
  1061. "type": "string",
  1062. "example": "行业名称"
  1063. },
  1064. "value": {
  1065. "type": "string",
  1066. "example": "行业标识符"
  1067. }
  1068. }
  1069. }
  1070. }
  1071. }
  1072. },
  1073. "md.AppletGetBlackListReq": {
  1074. "type": "object",
  1075. "required": [
  1076. "appid"
  1077. ],
  1078. "properties": {
  1079. "appid": {
  1080. "type": "string",
  1081. "example": "授权小程序appid"
  1082. }
  1083. }
  1084. },
  1085. "md.AppletSetAmsCategoryBlackListReq": {
  1086. "type": "object",
  1087. "required": [
  1088. "appid"
  1089. ],
  1090. "properties": {
  1091. "appid": {
  1092. "type": "string",
  1093. "example": "授权小程序appid"
  1094. },
  1095. "checked_ams_category": {
  1096. "description": "选中的行业列表",
  1097. "type": "array",
  1098. "items": {
  1099. "type": "string"
  1100. }
  1101. }
  1102. }
  1103. },
  1104. "md.AppletUpdateReq": {
  1105. "type": "object",
  1106. "required": [
  1107. "id",
  1108. "logo",
  1109. "name"
  1110. ],
  1111. "properties": {
  1112. "id": {
  1113. "type": "integer"
  1114. },
  1115. "logo": {
  1116. "type": "string",
  1117. "example": "小程序logo"
  1118. },
  1119. "name": {
  1120. "type": "string",
  1121. "example": "小程序名称"
  1122. }
  1123. }
  1124. },
  1125. "md.BindAdminRoleReq": {
  1126. "type": "object",
  1127. "required": [
  1128. "adm_id"
  1129. ],
  1130. "properties": {
  1131. "adm_id": {
  1132. "type": "integer"
  1133. },
  1134. "role_ids": {
  1135. "type": "array",
  1136. "items": {
  1137. "type": "integer"
  1138. }
  1139. }
  1140. }
  1141. },
  1142. "md.CommDetailReq": {
  1143. "type": "object",
  1144. "properties": {
  1145. "id": {
  1146. "type": "string",
  1147. "example": "列表id"
  1148. }
  1149. }
  1150. },
  1151. "md.DataCenterDataCenterOriginalDataDoingReq": {
  1152. "type": "object",
  1153. "properties": {
  1154. "id": {
  1155. "type": "string",
  1156. "example": "列表id"
  1157. },
  1158. "now_ecpm": {
  1159. "type": "string",
  1160. "example": "现-广告千次曝光收益(元)"
  1161. },
  1162. "now_exposure_count": {
  1163. "type": "string",
  1164. "example": "现-曝光量"
  1165. }
  1166. }
  1167. },
  1168. "md.DataCenterGenerateDataCommReq": {
  1169. "type": "object",
  1170. "properties": {
  1171. "id": {
  1172. "type": "string",
  1173. "example": "列表id"
  1174. }
  1175. }
  1176. },
  1177. "md.DataCenterGenerateDataData": {
  1178. "type": "object",
  1179. "properties": {
  1180. "adv_name": {
  1181. "type": "string",
  1182. "example": "广告位"
  1183. },
  1184. "agent_revenue": {
  1185. "type": "string",
  1186. "example": "代理收益(元)"
  1187. },
  1188. "agreement_sharing": {
  1189. "type": "string",
  1190. "example": "协议分成(元)"
  1191. },
  1192. "agreement_sharing_total": {
  1193. "type": "string",
  1194. "example": "协议总分成(元)"
  1195. },
  1196. "click_count": {
  1197. "type": "string",
  1198. "example": "现-点击量"
  1199. },
  1200. "click_rate": {
  1201. "type": "string",
  1202. "example": "现-点击率"
  1203. },
  1204. "commission_retention": {
  1205. "type": "string",
  1206. "example": "佣金留存(元)"
  1207. },
  1208. "date": {
  1209. "type": "string",
  1210. "example": "日期"
  1211. },
  1212. "ecpm": {
  1213. "type": "string",
  1214. "example": "'现-ecpm(元)"
  1215. },
  1216. "exposure_count": {
  1217. "type": "string",
  1218. "example": "现-曝光量"
  1219. },
  1220. "extra_revenue": {
  1221. "type": "string",
  1222. "example": "额外收益(元)"
  1223. },
  1224. "id": {
  1225. "type": "string",
  1226. "example": "id"
  1227. },
  1228. "is_generate_report": {
  1229. "type": "string",
  1230. "example": "是否已生成报表(0:未 1:已)"
  1231. },
  1232. "media_revenue": {
  1233. "type": "string",
  1234. "example": "媒体收益(元)"
  1235. },
  1236. "name": {
  1237. "type": "string",
  1238. "example": "名称"
  1239. },
  1240. "old_click_count": {
  1241. "type": "string",
  1242. "example": "原-点击量"
  1243. },
  1244. "old_click_rate": {
  1245. "type": "string",
  1246. "example": "原-点击率"
  1247. },
  1248. "old_ecpm": {
  1249. "type": "string",
  1250. "example": "'原-ecpm(元)"
  1251. },
  1252. "old_exposure_count": {
  1253. "type": "string",
  1254. "example": "原-曝光量"
  1255. },
  1256. "platform": {
  1257. "type": "string",
  1258. "example": "平台名称"
  1259. },
  1260. "platform_retention": {
  1261. "type": "string",
  1262. "example": "平台留存(元)"
  1263. },
  1264. "price_adjustment_retention": {
  1265. "type": "string",
  1266. "example": "调价留存(元)"
  1267. },
  1268. "state": {
  1269. "type": "string",
  1270. "example": "状态id"
  1271. }
  1272. }
  1273. },
  1274. "md.DataCenterGenerateDataDetailAgentReward": {
  1275. "type": "object",
  1276. "properties": {
  1277. "account": {
  1278. "type": "string"
  1279. },
  1280. "agent_revenue": {
  1281. "type": "string",
  1282. "example": "代理收益(元)"
  1283. },
  1284. "agent_revenue_rate": {
  1285. "type": "string",
  1286. "example": "代理收益百分比"
  1287. },
  1288. "extra_revenue": {
  1289. "type": "string",
  1290. "example": "额外收益(元)"
  1291. },
  1292. "extra_revenue_rate": {
  1293. "type": "string",
  1294. "example": "'额外收益百分比"
  1295. },
  1296. "name": {
  1297. "type": "string"
  1298. }
  1299. }
  1300. },
  1301. "md.DataCenterGenerateDataDetailAgentRewardSecond": {
  1302. "type": "object",
  1303. "properties": {
  1304. "account": {
  1305. "type": "string"
  1306. },
  1307. "agent_revenue": {
  1308. "type": "string",
  1309. "example": "代理收益(元)"
  1310. },
  1311. "agent_revenue_rate": {
  1312. "type": "string",
  1313. "example": "代理收益百分比"
  1314. },
  1315. "name": {
  1316. "type": "string"
  1317. }
  1318. }
  1319. },
  1320. "md.DataCenterGenerateDataDetailData": {
  1321. "type": "object",
  1322. "properties": {
  1323. "agent_revenue_rate": {
  1324. "type": "string",
  1325. "example": "代理收益百分比"
  1326. },
  1327. "agent_reward": {
  1328. "type": "array",
  1329. "items": {
  1330. "$ref": "#/definitions/md.DataCenterGenerateDataDetailAgentReward"
  1331. }
  1332. },
  1333. "agreement_sharing_rate": {
  1334. "type": "string",
  1335. "example": "协议分成百分比"
  1336. },
  1337. "commission_retention_rate": {
  1338. "type": "string",
  1339. "example": "佣金留存百分比"
  1340. },
  1341. "create_at": {
  1342. "type": "string"
  1343. },
  1344. "extra_revenue_rate": {
  1345. "type": "string",
  1346. "example": "额外收益百分比"
  1347. },
  1348. "media_revenue_rate": {
  1349. "type": "string",
  1350. "example": "媒体收益百分比"
  1351. },
  1352. "platform_retention_rate": {
  1353. "type": "string",
  1354. "example": "平台留存百分比"
  1355. },
  1356. "update_at": {
  1357. "type": "string"
  1358. }
  1359. }
  1360. },
  1361. "md.DataCenterGenerateDataReq": {
  1362. "type": "object",
  1363. "properties": {
  1364. "end_time": {
  1365. "type": "string"
  1366. },
  1367. "limit": {
  1368. "type": "string"
  1369. },
  1370. "name": {
  1371. "type": "string"
  1372. },
  1373. "page": {
  1374. "type": "string"
  1375. },
  1376. "platform": {
  1377. "type": "string"
  1378. },
  1379. "start_time": {
  1380. "type": "string"
  1381. },
  1382. "state": {
  1383. "type": "string"
  1384. }
  1385. }
  1386. },
  1387. "md.DataCenterGenerateDataRes": {
  1388. "type": "object",
  1389. "properties": {
  1390. "list": {
  1391. "type": "array",
  1392. "items": {
  1393. "$ref": "#/definitions/md.DataCenterGenerateDataData"
  1394. }
  1395. },
  1396. "platform": {
  1397. "type": "array",
  1398. "items": {
  1399. "$ref": "#/definitions/md.SelectData"
  1400. }
  1401. },
  1402. "state": {
  1403. "type": "array",
  1404. "items": {
  1405. "$ref": "#/definitions/md.SelectData"
  1406. }
  1407. },
  1408. "total": {
  1409. "type": "integer"
  1410. }
  1411. }
  1412. },
  1413. "md.DataCenterIncomeDataData": {
  1414. "type": "object",
  1415. "properties": {
  1416. "adv_name": {
  1417. "type": "string",
  1418. "example": "广告位"
  1419. },
  1420. "agent_revenue": {
  1421. "type": "string",
  1422. "example": "代理收益(元)"
  1423. },
  1424. "agreement_sharing": {
  1425. "type": "string",
  1426. "example": "平台收益(元)"
  1427. },
  1428. "click_count": {
  1429. "type": "string",
  1430. "example": "现-点击量"
  1431. },
  1432. "click_rate": {
  1433. "type": "string",
  1434. "example": "现-点击率"
  1435. },
  1436. "date": {
  1437. "type": "string",
  1438. "example": "日期"
  1439. },
  1440. "ecpm": {
  1441. "type": "string",
  1442. "example": "'现-ecpm(元)"
  1443. },
  1444. "exposure_count": {
  1445. "type": "string",
  1446. "example": "现-曝光量"
  1447. },
  1448. "id": {
  1449. "type": "string",
  1450. "example": "id"
  1451. },
  1452. "media_revenue": {
  1453. "type": "string",
  1454. "example": "媒体收益(元)"
  1455. },
  1456. "name": {
  1457. "type": "string",
  1458. "example": "名称"
  1459. },
  1460. "platform": {
  1461. "type": "string",
  1462. "example": "平台名称"
  1463. },
  1464. "settle_amount": {
  1465. "type": "string",
  1466. "example": "结算收益(元)"
  1467. },
  1468. "state": {
  1469. "type": "string",
  1470. "example": "状态id"
  1471. }
  1472. }
  1473. },
  1474. "md.DataCenterIncomeDataDetail": {
  1475. "type": "object",
  1476. "properties": {
  1477. "agent_revenue": {
  1478. "type": "string",
  1479. "example": "代理收益(元)"
  1480. },
  1481. "agent_revenue_rate": {
  1482. "type": "string",
  1483. "example": "代理收益百分比"
  1484. },
  1485. "agent_reward": {
  1486. "type": "array",
  1487. "items": {
  1488. "$ref": "#/definitions/md.DataCenterGenerateDataDetailAgentRewardSecond"
  1489. }
  1490. },
  1491. "agreement_sharing": {
  1492. "type": "string",
  1493. "example": "平台收益(元)"
  1494. },
  1495. "agreement_sharing_rate": {
  1496. "type": "string",
  1497. "example": "平台收益百分比"
  1498. },
  1499. "create_at": {
  1500. "type": "string"
  1501. },
  1502. "data_source": {
  1503. "type": "string",
  1504. "example": "数据来源"
  1505. },
  1506. "media_revenue": {
  1507. "type": "string",
  1508. "example": "媒体收益(元)"
  1509. },
  1510. "media_revenue_rate": {
  1511. "type": "string",
  1512. "example": "媒体收益百分比"
  1513. },
  1514. "medium_name": {
  1515. "type": "string",
  1516. "example": "媒体名称"
  1517. },
  1518. "platform": {
  1519. "type": "string",
  1520. "example": "填充来源"
  1521. },
  1522. "update_at": {
  1523. "type": "string"
  1524. }
  1525. }
  1526. },
  1527. "md.DataCenterIncomeDataRes": {
  1528. "type": "object",
  1529. "properties": {
  1530. "list": {
  1531. "type": "array",
  1532. "items": {
  1533. "$ref": "#/definitions/md.DataCenterIncomeDataData"
  1534. }
  1535. },
  1536. "platform": {
  1537. "type": "array",
  1538. "items": {
  1539. "$ref": "#/definitions/md.SelectData"
  1540. }
  1541. },
  1542. "state": {
  1543. "type": "array",
  1544. "items": {
  1545. "$ref": "#/definitions/md.SelectData"
  1546. }
  1547. },
  1548. "total": {
  1549. "type": "integer"
  1550. }
  1551. }
  1552. },
  1553. "md.DataCenterOriginalDataCommReq": {
  1554. "type": "object",
  1555. "properties": {
  1556. "id": {
  1557. "type": "string",
  1558. "example": "列表id"
  1559. },
  1560. "now_ecpm": {
  1561. "type": "string",
  1562. "example": "现-广告千次曝光收益(元)"
  1563. },
  1564. "now_exposure_count": {
  1565. "type": "string",
  1566. "example": "现-曝光量"
  1567. }
  1568. }
  1569. },
  1570. "md.DataCenterOriginalDataData": {
  1571. "type": "object",
  1572. "properties": {
  1573. "adv_name": {
  1574. "type": "string",
  1575. "example": "广告位"
  1576. },
  1577. "click_count": {
  1578. "type": "string",
  1579. "example": "点击量"
  1580. },
  1581. "click_rate": {
  1582. "type": "string",
  1583. "example": "点击率"
  1584. },
  1585. "date": {
  1586. "type": "string",
  1587. "example": "日期"
  1588. },
  1589. "ecpm": {
  1590. "type": "string",
  1591. "example": "'ecpm(元)"
  1592. },
  1593. "exposure_count": {
  1594. "type": "string",
  1595. "example": "曝光量"
  1596. },
  1597. "exposure_rate": {
  1598. "type": "string",
  1599. "example": "曝光率"
  1600. },
  1601. "id": {
  1602. "type": "string",
  1603. "example": "id"
  1604. },
  1605. "is_apply": {
  1606. "type": "string",
  1607. "example": "是否已应用"
  1608. },
  1609. "name": {
  1610. "type": "string",
  1611. "example": "名称"
  1612. },
  1613. "platform": {
  1614. "type": "string",
  1615. "example": "平台名称"
  1616. },
  1617. "publisher_income": {
  1618. "type": "string",
  1619. "example": "总收益(元)"
  1620. },
  1621. "req_succ_count": {
  1622. "type": "string",
  1623. "example": "拉取量"
  1624. },
  1625. "state": {
  1626. "type": "string",
  1627. "example": "状态id"
  1628. }
  1629. }
  1630. },
  1631. "md.DataCenterOriginalDataMoreApplicationData": {
  1632. "type": "object",
  1633. "properties": {
  1634. "ad_id": {
  1635. "type": "string",
  1636. "example": "广告位id"
  1637. },
  1638. "adv_name": {
  1639. "type": "string",
  1640. "example": "广告位"
  1641. },
  1642. "app_id": {
  1643. "type": "string",
  1644. "example": "小程序id"
  1645. },
  1646. "id": {
  1647. "type": "string",
  1648. "example": "id"
  1649. },
  1650. "logo": {
  1651. "type": "string"
  1652. },
  1653. "name": {
  1654. "type": "string",
  1655. "example": "名称"
  1656. },
  1657. "state": {
  1658. "type": "string",
  1659. "example": "状态id"
  1660. }
  1661. }
  1662. },
  1663. "md.DataCenterOriginalDataMoreApplicationDoingReq": {
  1664. "type": "object",
  1665. "properties": {
  1666. "date": {
  1667. "type": "string",
  1668. "example": "2024-08-28"
  1669. },
  1670. "ids": {
  1671. "type": "array",
  1672. "items": {
  1673. "$ref": "#/definitions/md.DataCenterOriginalDataOneApplicationDoingReqData"
  1674. }
  1675. }
  1676. }
  1677. },
  1678. "md.DataCenterOriginalDataMoreApplicationReq": {
  1679. "type": "object",
  1680. "properties": {
  1681. "limit": {
  1682. "type": "string"
  1683. },
  1684. "name": {
  1685. "type": "string"
  1686. },
  1687. "page": {
  1688. "type": "string"
  1689. }
  1690. }
  1691. },
  1692. "md.DataCenterOriginalDataMoreApplicationRes": {
  1693. "type": "object",
  1694. "properties": {
  1695. "list": {
  1696. "type": "array",
  1697. "items": {
  1698. "$ref": "#/definitions/md.DataCenterOriginalDataMoreApplicationData"
  1699. }
  1700. },
  1701. "state": {
  1702. "type": "array",
  1703. "items": {
  1704. "$ref": "#/definitions/md.SelectData"
  1705. }
  1706. },
  1707. "total": {
  1708. "type": "integer"
  1709. }
  1710. }
  1711. },
  1712. "md.DataCenterOriginalDataOneApplicationAdListData": {
  1713. "type": "object",
  1714. "properties": {
  1715. "ad_id": {
  1716. "type": "string",
  1717. "example": "广告位id"
  1718. },
  1719. "id": {
  1720. "type": "string",
  1721. "example": "id"
  1722. },
  1723. "name": {
  1724. "type": "string",
  1725. "example": "名称"
  1726. },
  1727. "state": {
  1728. "type": "string",
  1729. "example": "状态id"
  1730. }
  1731. }
  1732. },
  1733. "md.DataCenterOriginalDataOneApplicationAdListReq": {
  1734. "type": "object",
  1735. "properties": {
  1736. "app_id": {
  1737. "type": "string"
  1738. }
  1739. }
  1740. },
  1741. "md.DataCenterOriginalDataOneApplicationAdListRes": {
  1742. "type": "object",
  1743. "properties": {
  1744. "list": {
  1745. "type": "array",
  1746. "items": {
  1747. "$ref": "#/definitions/md.DataCenterOriginalDataOneApplicationAdListData"
  1748. }
  1749. },
  1750. "state": {
  1751. "type": "array",
  1752. "items": {
  1753. "$ref": "#/definitions/md.SelectData"
  1754. }
  1755. }
  1756. }
  1757. },
  1758. "md.DataCenterOriginalDataOneApplicationData": {
  1759. "type": "object",
  1760. "properties": {
  1761. "app_id": {
  1762. "type": "string",
  1763. "example": "小程序id"
  1764. },
  1765. "id": {
  1766. "type": "string",
  1767. "example": "id"
  1768. },
  1769. "logo": {
  1770. "type": "string"
  1771. },
  1772. "name": {
  1773. "type": "string",
  1774. "example": "名称"
  1775. }
  1776. }
  1777. },
  1778. "md.DataCenterOriginalDataOneApplicationDoingReq": {
  1779. "type": "object",
  1780. "properties": {
  1781. "ad_id": {
  1782. "type": "string"
  1783. },
  1784. "app_id": {
  1785. "type": "string"
  1786. },
  1787. "date": {
  1788. "type": "string",
  1789. "example": "2024-08-28"
  1790. }
  1791. }
  1792. },
  1793. "md.DataCenterOriginalDataOneApplicationDoingReqData": {
  1794. "type": "object",
  1795. "properties": {
  1796. "ad_id": {
  1797. "type": "string"
  1798. },
  1799. "app_id": {
  1800. "type": "string"
  1801. }
  1802. }
  1803. },
  1804. "md.DataCenterOriginalDataOneApplicationDoingRes": {
  1805. "type": "object",
  1806. "properties": {
  1807. "ad_id": {
  1808. "type": "string"
  1809. },
  1810. "ad_slot": {
  1811. "type": "string",
  1812. "example": "广告位类型名称"
  1813. },
  1814. "click_count": {
  1815. "type": "string",
  1816. "example": "点击量"
  1817. },
  1818. "click_rate": {
  1819. "type": "string",
  1820. "example": "点击率"
  1821. },
  1822. "ecpm": {
  1823. "type": "string",
  1824. "example": "ecpm(元)"
  1825. },
  1826. "exposure_count": {
  1827. "type": "string",
  1828. "example": "曝光量"
  1829. },
  1830. "exposure_rate": {
  1831. "type": "string",
  1832. "example": "曝光率"
  1833. },
  1834. "publisher_income": {
  1835. "type": "string",
  1836. "example": "总收益(元)"
  1837. },
  1838. "req_succ_count": {
  1839. "type": "string",
  1840. "example": "拉取量"
  1841. }
  1842. }
  1843. },
  1844. "md.DataCenterOriginalDataOneApplicationRes": {
  1845. "type": "object",
  1846. "properties": {
  1847. "list": {
  1848. "type": "array",
  1849. "items": {
  1850. "$ref": "#/definitions/md.DataCenterOriginalDataOneApplicationData"
  1851. }
  1852. }
  1853. }
  1854. },
  1855. "md.DataCenterOriginalDataReq": {
  1856. "type": "object",
  1857. "properties": {
  1858. "end_time": {
  1859. "type": "string"
  1860. },
  1861. "limit": {
  1862. "type": "string"
  1863. },
  1864. "name": {
  1865. "type": "string"
  1866. },
  1867. "page": {
  1868. "type": "string"
  1869. },
  1870. "platform": {
  1871. "type": "string"
  1872. },
  1873. "start_time": {
  1874. "type": "string"
  1875. },
  1876. "state": {
  1877. "type": "string"
  1878. }
  1879. }
  1880. },
  1881. "md.DataCenterOriginalDataRes": {
  1882. "type": "object",
  1883. "properties": {
  1884. "list": {
  1885. "type": "array",
  1886. "items": {
  1887. "$ref": "#/definitions/md.DataCenterOriginalDataData"
  1888. }
  1889. },
  1890. "platform": {
  1891. "type": "array",
  1892. "items": {
  1893. "$ref": "#/definitions/md.SelectData"
  1894. }
  1895. },
  1896. "state": {
  1897. "type": "array",
  1898. "items": {
  1899. "$ref": "#/definitions/md.SelectData"
  1900. }
  1901. },
  1902. "total": {
  1903. "type": "integer"
  1904. }
  1905. }
  1906. },
  1907. "md.DivisionStrategyData": {
  1908. "type": "object",
  1909. "properties": {
  1910. "account": {
  1911. "type": "string",
  1912. "example": "账号"
  1913. },
  1914. "agent_revenue_rate": {
  1915. "type": "string",
  1916. "example": "代理收益百分比"
  1917. },
  1918. "agreement_sharing_rate": {
  1919. "type": "string",
  1920. "example": "协议分成百分比"
  1921. },
  1922. "commission_retention_rate": {
  1923. "type": "string",
  1924. "example": "佣金留存百分比"
  1925. },
  1926. "extra_revenue_rate": {
  1927. "type": "string",
  1928. "example": "额外收益百分比"
  1929. },
  1930. "id": {
  1931. "type": "string",
  1932. "example": "id"
  1933. },
  1934. "media_revenue_rate": {
  1935. "type": "string",
  1936. "example": "媒体收益百分比"
  1937. },
  1938. "medium_id": {
  1939. "type": "string",
  1940. "example": "媒体id"
  1941. },
  1942. "name": {
  1943. "type": "string",
  1944. "example": "名称"
  1945. },
  1946. "platform_retention_rate": {
  1947. "type": "string",
  1948. "example": "平台留存百分比"
  1949. }
  1950. }
  1951. },
  1952. "md.DivisionStrategyDetailByAgent": {
  1953. "type": "object",
  1954. "properties": {
  1955. "account": {
  1956. "type": "string",
  1957. "example": "账号"
  1958. },
  1959. "agent_id": {
  1960. "type": "string",
  1961. "example": "代理id"
  1962. },
  1963. "agent_revenue_rate": {
  1964. "type": "string",
  1965. "example": "佣金比例"
  1966. },
  1967. "extra_revenue_rate": {
  1968. "type": "string",
  1969. "example": "额外奖励"
  1970. },
  1971. "name": {
  1972. "type": "string",
  1973. "example": "名称"
  1974. }
  1975. }
  1976. },
  1977. "md.DivisionStrategyDetailReq": {
  1978. "type": "object",
  1979. "properties": {
  1980. "medium_id": {
  1981. "type": "string"
  1982. }
  1983. }
  1984. },
  1985. "md.DivisionStrategyDetailRes": {
  1986. "type": "object",
  1987. "properties": {
  1988. "account": {
  1989. "type": "string",
  1990. "example": "账号"
  1991. },
  1992. "agent_list": {
  1993. "type": "array",
  1994. "items": {
  1995. "$ref": "#/definitions/md.DivisionStrategyDetailByAgent"
  1996. }
  1997. },
  1998. "agent_revenue_rate": {
  1999. "type": "string",
  2000. "example": "代理收益百分比"
  2001. },
  2002. "agreement_sharing_rate": {
  2003. "type": "string",
  2004. "example": "协议分成百分比"
  2005. },
  2006. "commission_retention_rate": {
  2007. "type": "string",
  2008. "example": "佣金留存百分比"
  2009. },
  2010. "extra_revenue_rate": {
  2011. "type": "string",
  2012. "example": "额外收益百分比"
  2013. },
  2014. "media_revenue_rate": {
  2015. "type": "string",
  2016. "example": "媒体收益百分比"
  2017. },
  2018. "medium_id": {
  2019. "type": "string",
  2020. "example": "媒体id"
  2021. },
  2022. "name": {
  2023. "type": "string",
  2024. "example": "名称"
  2025. },
  2026. "platform_retention_rate": {
  2027. "type": "string",
  2028. "example": "平台留存百分比"
  2029. }
  2030. }
  2031. },
  2032. "md.DivisionStrategyReq": {
  2033. "type": "object",
  2034. "properties": {
  2035. "limit": {
  2036. "type": "string"
  2037. },
  2038. "name": {
  2039. "type": "string"
  2040. },
  2041. "page": {
  2042. "type": "string"
  2043. }
  2044. }
  2045. },
  2046. "md.DivisionStrategyRes": {
  2047. "type": "object",
  2048. "properties": {
  2049. "list": {
  2050. "type": "array",
  2051. "items": {
  2052. "$ref": "#/definitions/md.DivisionStrategyData"
  2053. }
  2054. },
  2055. "total": {
  2056. "type": "integer"
  2057. }
  2058. }
  2059. },
  2060. "md.FinanceCenterDataAgentDetail": {
  2061. "type": "object",
  2062. "properties": {
  2063. "account": {
  2064. "type": "string",
  2065. "example": "媒体账号"
  2066. },
  2067. "all_income": {
  2068. "type": "string",
  2069. "example": "合计收益"
  2070. },
  2071. "income": {
  2072. "type": "string",
  2073. "example": "渠道结算"
  2074. },
  2075. "invoice": {
  2076. "$ref": "#/definitions/md.Invoice"
  2077. },
  2078. "name": {
  2079. "type": "string",
  2080. "example": "媒体名称"
  2081. },
  2082. "other_income": {
  2083. "type": "string",
  2084. "example": "其他调整"
  2085. },
  2086. "pay_state": {
  2087. "type": "string",
  2088. "example": "结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"
  2089. },
  2090. "settle_file": {
  2091. "type": "string",
  2092. "example": "结算单"
  2093. },
  2094. "source": {
  2095. "type": "string",
  2096. "example": "结算标示"
  2097. },
  2098. "state": {
  2099. "type": "string",
  2100. "example": "结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"
  2101. },
  2102. "time_str": {
  2103. "type": "string",
  2104. "example": "业务时间"
  2105. }
  2106. }
  2107. },
  2108. "md.FinanceCenterDataAgentDetailRes": {
  2109. "type": "object",
  2110. "properties": {
  2111. "business_kind": {
  2112. "type": "array",
  2113. "items": {
  2114. "$ref": "#/definitions/md.SelectData"
  2115. }
  2116. },
  2117. "data": {
  2118. "$ref": "#/definitions/md.FinanceCenterDataAgentDetail"
  2119. },
  2120. "invoice_cate": {
  2121. "type": "array",
  2122. "items": {
  2123. "$ref": "#/definitions/md.SelectData"
  2124. }
  2125. },
  2126. "invoice_state": {
  2127. "type": "array",
  2128. "items": {
  2129. "$ref": "#/definitions/md.SelectData"
  2130. }
  2131. },
  2132. "settle_pay_state": {
  2133. "type": "array",
  2134. "items": {
  2135. "$ref": "#/definitions/md.SelectData"
  2136. }
  2137. },
  2138. "settle_state": {
  2139. "type": "array",
  2140. "items": {
  2141. "$ref": "#/definitions/md.SelectData"
  2142. }
  2143. },
  2144. "settle_type": {
  2145. "type": "array",
  2146. "items": {
  2147. "$ref": "#/definitions/md.SelectData"
  2148. }
  2149. }
  2150. }
  2151. },
  2152. "md.FinanceCenterDataData": {
  2153. "type": "object",
  2154. "properties": {
  2155. "all_income": {
  2156. "type": "string",
  2157. "example": "合计收益"
  2158. },
  2159. "change_income": {
  2160. "type": "string",
  2161. "example": "调价留存"
  2162. },
  2163. "commission_income": {
  2164. "type": "string",
  2165. "example": "佣金留存"
  2166. },
  2167. "id": {
  2168. "type": "string"
  2169. },
  2170. "label": {
  2171. "type": "string"
  2172. },
  2173. "medium_income": {
  2174. "type": "string",
  2175. "example": "媒体结算"
  2176. },
  2177. "name": {
  2178. "type": "string",
  2179. "example": "媒体名称"
  2180. },
  2181. "other_income": {
  2182. "type": "string",
  2183. "example": "其他调整"
  2184. },
  2185. "pay_state": {
  2186. "type": "string",
  2187. "example": "结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"
  2188. },
  2189. "platform_income": {
  2190. "type": "string",
  2191. "example": "平台留存"
  2192. },
  2193. "settle_type": {
  2194. "type": "string",
  2195. "example": "结算单类型(1:日结 2:周结 3:月结 4:预付)"
  2196. },
  2197. "state": {
  2198. "type": "string",
  2199. "example": "结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"
  2200. },
  2201. "time_str": {
  2202. "type": "string",
  2203. "example": "业务时间"
  2204. },
  2205. "top_income": {
  2206. "type": "string",
  2207. "example": "上游结算"
  2208. }
  2209. }
  2210. },
  2211. "md.FinanceCenterDataDetail": {
  2212. "type": "object",
  2213. "properties": {
  2214. "account": {
  2215. "type": "string",
  2216. "example": "媒体账号"
  2217. },
  2218. "all_income": {
  2219. "type": "string",
  2220. "example": "合计收益"
  2221. },
  2222. "change_income": {
  2223. "type": "string",
  2224. "example": "调价留存"
  2225. },
  2226. "commission_income": {
  2227. "type": "string",
  2228. "example": "佣金留存"
  2229. },
  2230. "invoice": {
  2231. "$ref": "#/definitions/md.Invoice"
  2232. },
  2233. "medium_income": {
  2234. "type": "string",
  2235. "example": "媒体结算"
  2236. },
  2237. "name": {
  2238. "type": "string",
  2239. "example": "媒体名称"
  2240. },
  2241. "other_income": {
  2242. "type": "string",
  2243. "example": "其他调整"
  2244. },
  2245. "pay_state": {
  2246. "type": "string",
  2247. "example": "结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"
  2248. },
  2249. "platform_income": {
  2250. "type": "string",
  2251. "example": "平台留存"
  2252. },
  2253. "settle_file": {
  2254. "type": "string",
  2255. "example": "结算单"
  2256. },
  2257. "source": {
  2258. "type": "string",
  2259. "example": "结算标示"
  2260. },
  2261. "state": {
  2262. "type": "string",
  2263. "example": "结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"
  2264. },
  2265. "time_str": {
  2266. "type": "string",
  2267. "example": "业务时间"
  2268. },
  2269. "top_income": {
  2270. "type": "string",
  2271. "example": "上游结算"
  2272. }
  2273. }
  2274. },
  2275. "md.FinanceCenterDataDetailRes": {
  2276. "type": "object",
  2277. "properties": {
  2278. "business_kind": {
  2279. "type": "array",
  2280. "items": {
  2281. "$ref": "#/definitions/md.SelectData"
  2282. }
  2283. },
  2284. "data": {
  2285. "$ref": "#/definitions/md.FinanceCenterDataDetail"
  2286. },
  2287. "invoice_cate": {
  2288. "type": "array",
  2289. "items": {
  2290. "$ref": "#/definitions/md.SelectData"
  2291. }
  2292. },
  2293. "invoice_state": {
  2294. "type": "array",
  2295. "items": {
  2296. "$ref": "#/definitions/md.SelectData"
  2297. }
  2298. },
  2299. "settle_pay_state": {
  2300. "type": "array",
  2301. "items": {
  2302. "$ref": "#/definitions/md.SelectData"
  2303. }
  2304. },
  2305. "settle_state": {
  2306. "type": "array",
  2307. "items": {
  2308. "$ref": "#/definitions/md.SelectData"
  2309. }
  2310. },
  2311. "settle_type": {
  2312. "type": "array",
  2313. "items": {
  2314. "$ref": "#/definitions/md.SelectData"
  2315. }
  2316. }
  2317. }
  2318. },
  2319. "md.FinanceCenterDataReq": {
  2320. "type": "object",
  2321. "properties": {
  2322. "end_time": {
  2323. "type": "string"
  2324. },
  2325. "limit": {
  2326. "type": "string"
  2327. },
  2328. "page": {
  2329. "type": "string"
  2330. },
  2331. "pay_state": {
  2332. "type": "string",
  2333. "example": "读 settle_pay_state返回的"
  2334. },
  2335. "start_time": {
  2336. "type": "string",
  2337. "example": "2024-08-29"
  2338. }
  2339. }
  2340. },
  2341. "md.FinanceCenterDataRes": {
  2342. "type": "object",
  2343. "properties": {
  2344. "business_kind": {
  2345. "type": "array",
  2346. "items": {
  2347. "$ref": "#/definitions/md.SelectData"
  2348. }
  2349. },
  2350. "list": {
  2351. "type": "array",
  2352. "items": {
  2353. "$ref": "#/definitions/md.FinanceCenterDataData"
  2354. }
  2355. },
  2356. "settle_pay_state": {
  2357. "type": "array",
  2358. "items": {
  2359. "$ref": "#/definitions/md.SelectData"
  2360. }
  2361. },
  2362. "settle_state": {
  2363. "type": "array",
  2364. "items": {
  2365. "$ref": "#/definitions/md.SelectData"
  2366. }
  2367. },
  2368. "settle_type": {
  2369. "type": "array",
  2370. "items": {
  2371. "$ref": "#/definitions/md.SelectData"
  2372. }
  2373. },
  2374. "total": {
  2375. "type": "integer"
  2376. }
  2377. }
  2378. },
  2379. "md.FinanceCenterPlatformDataData": {
  2380. "type": "object",
  2381. "properties": {
  2382. "agent_income": {
  2383. "type": "string",
  2384. "example": "代理结算"
  2385. },
  2386. "change_income": {
  2387. "type": "string",
  2388. "example": "调价留存"
  2389. },
  2390. "commission_income": {
  2391. "type": "string",
  2392. "example": "佣金留存"
  2393. },
  2394. "id": {
  2395. "type": "string"
  2396. },
  2397. "medium_income": {
  2398. "type": "string",
  2399. "example": "媒体结算"
  2400. },
  2401. "platform_income": {
  2402. "type": "string",
  2403. "example": "平台留存"
  2404. },
  2405. "time_str": {
  2406. "type": "string",
  2407. "example": "业务时间"
  2408. },
  2409. "top_income": {
  2410. "type": "string",
  2411. "example": "上游结算"
  2412. },
  2413. "update_at": {
  2414. "type": "string",
  2415. "example": "更新时间"
  2416. }
  2417. }
  2418. },
  2419. "md.FinanceCenterPlatformDataReq": {
  2420. "type": "object",
  2421. "properties": {
  2422. "date": {
  2423. "type": "string",
  2424. "example": "2024-08-29"
  2425. },
  2426. "end_time": {
  2427. "type": "string"
  2428. },
  2429. "limit": {
  2430. "type": "string"
  2431. },
  2432. "page": {
  2433. "type": "string"
  2434. },
  2435. "start_time": {
  2436. "type": "string",
  2437. "example": "2024-08-29"
  2438. }
  2439. }
  2440. },
  2441. "md.FinanceCenterPlatformDataRes": {
  2442. "type": "object",
  2443. "properties": {
  2444. "list": {
  2445. "type": "array",
  2446. "items": {
  2447. "$ref": "#/definitions/md.FinanceCenterPlatformDataData"
  2448. }
  2449. },
  2450. "total": {
  2451. "type": "integer"
  2452. }
  2453. }
  2454. },
  2455. "md.FinancialDynamicsAgentListData": {
  2456. "type": "object",
  2457. "properties": {
  2458. "amount": {
  2459. "type": "string",
  2460. "example": "支付金额"
  2461. },
  2462. "business_kind": {
  2463. "type": "string",
  2464. "example": "支付类型(1:广告合作)"
  2465. },
  2466. "certificate": {
  2467. "type": "string",
  2468. "example": "支付凭证"
  2469. },
  2470. "id": {
  2471. "type": "string"
  2472. },
  2473. "memo": {
  2474. "type": "string",
  2475. "example": "备注"
  2476. },
  2477. "name": {
  2478. "type": "string"
  2479. },
  2480. "pay_method": {
  2481. "type": "string",
  2482. "example": "支付方式 0对私 1对公"
  2483. },
  2484. "pay_time": {
  2485. "type": "string",
  2486. "example": "支付时间"
  2487. }
  2488. }
  2489. },
  2490. "md.FinancialDynamicsAgentListReq": {
  2491. "type": "object",
  2492. "properties": {
  2493. "end_time": {
  2494. "type": "string"
  2495. },
  2496. "limit": {
  2497. "type": "string"
  2498. },
  2499. "page": {
  2500. "type": "string"
  2501. },
  2502. "start_time": {
  2503. "type": "string",
  2504. "example": "2024-08-29 00:00:00"
  2505. },
  2506. "uid": {
  2507. "type": "string",
  2508. "example": ""
  2509. }
  2510. }
  2511. },
  2512. "md.FinancialDynamicsAgentListRes": {
  2513. "type": "object",
  2514. "properties": {
  2515. "business_kind": {
  2516. "type": "array",
  2517. "items": {
  2518. "$ref": "#/definitions/md.SelectData"
  2519. }
  2520. },
  2521. "list": {
  2522. "type": "array",
  2523. "items": {
  2524. "$ref": "#/definitions/md.FinancialDynamicsAgentListData"
  2525. }
  2526. },
  2527. "pay_method": {
  2528. "type": "array",
  2529. "items": {
  2530. "$ref": "#/definitions/md.SelectData"
  2531. }
  2532. },
  2533. "total": {
  2534. "type": "integer"
  2535. },
  2536. "user": {
  2537. "type": "array",
  2538. "items": {
  2539. "$ref": "#/definitions/md.SelectData"
  2540. }
  2541. }
  2542. }
  2543. },
  2544. "md.FinancialDynamicsAgentSaveReq": {
  2545. "type": "object",
  2546. "properties": {
  2547. "amount": {
  2548. "type": "string",
  2549. "example": "支付金额"
  2550. },
  2551. "business_kind": {
  2552. "type": "string",
  2553. "example": "支付类型(1:广告合作)"
  2554. },
  2555. "certificate": {
  2556. "type": "string",
  2557. "example": "支付凭证"
  2558. },
  2559. "memo": {
  2560. "type": "string",
  2561. "example": "备注"
  2562. },
  2563. "pay_method": {
  2564. "type": "string",
  2565. "example": "支付方式 0对私 1对公"
  2566. },
  2567. "uid": {
  2568. "type": "string"
  2569. }
  2570. }
  2571. },
  2572. "md.FinancialDynamicsAgentTotalReq": {
  2573. "type": "object",
  2574. "properties": {
  2575. "end_time": {
  2576. "type": "string"
  2577. },
  2578. "start_time": {
  2579. "type": "string",
  2580. "example": "2024-08-29 00:00:00"
  2581. },
  2582. "uid": {
  2583. "type": "string",
  2584. "example": ""
  2585. }
  2586. }
  2587. },
  2588. "md.FinancialDynamicsAgentTotalRes": {
  2589. "type": "object",
  2590. "properties": {
  2591. "all_amount": {
  2592. "type": "string",
  2593. "example": "预付总金额"
  2594. },
  2595. "balance_amount": {
  2596. "type": "string",
  2597. "example": "账户余额"
  2598. },
  2599. "pay_count": {
  2600. "type": "string",
  2601. "example": "预付次数"
  2602. },
  2603. "use_amount": {
  2604. "type": "string",
  2605. "example": "已消耗金额"
  2606. }
  2607. }
  2608. },
  2609. "md.FinancialDynamicsMediumListData": {
  2610. "type": "object",
  2611. "properties": {
  2612. "amount": {
  2613. "type": "string",
  2614. "example": "支付金额"
  2615. },
  2616. "business_kind": {
  2617. "type": "string",
  2618. "example": "支付类型(1:广告合作)"
  2619. },
  2620. "certificate": {
  2621. "type": "string",
  2622. "example": "支付凭证"
  2623. },
  2624. "id": {
  2625. "type": "string"
  2626. },
  2627. "memo": {
  2628. "type": "string",
  2629. "example": "备注"
  2630. },
  2631. "name": {
  2632. "type": "string"
  2633. },
  2634. "pay_method": {
  2635. "type": "string",
  2636. "example": "支付方式 0对私 1对公"
  2637. },
  2638. "pay_time": {
  2639. "type": "string",
  2640. "example": "支付时间"
  2641. }
  2642. }
  2643. },
  2644. "md.FinancialDynamicsMediumListReq": {
  2645. "type": "object",
  2646. "properties": {
  2647. "end_time": {
  2648. "type": "string"
  2649. },
  2650. "limit": {
  2651. "type": "string"
  2652. },
  2653. "page": {
  2654. "type": "string"
  2655. },
  2656. "start_time": {
  2657. "type": "string",
  2658. "example": "2024-08-29 00:00:00"
  2659. },
  2660. "uid": {
  2661. "type": "string",
  2662. "example": ""
  2663. }
  2664. }
  2665. },
  2666. "md.FinancialDynamicsMediumListRes": {
  2667. "type": "object",
  2668. "properties": {
  2669. "business_kind": {
  2670. "type": "array",
  2671. "items": {
  2672. "$ref": "#/definitions/md.SelectData"
  2673. }
  2674. },
  2675. "list": {
  2676. "type": "array",
  2677. "items": {
  2678. "$ref": "#/definitions/md.FinancialDynamicsMediumListData"
  2679. }
  2680. },
  2681. "pay_method": {
  2682. "type": "array",
  2683. "items": {
  2684. "$ref": "#/definitions/md.SelectData"
  2685. }
  2686. },
  2687. "total": {
  2688. "type": "integer"
  2689. },
  2690. "user": {
  2691. "type": "array",
  2692. "items": {
  2693. "$ref": "#/definitions/md.SelectData"
  2694. }
  2695. }
  2696. }
  2697. },
  2698. "md.FinancialDynamicsMediumSaveReq": {
  2699. "type": "object",
  2700. "properties": {
  2701. "amount": {
  2702. "type": "string",
  2703. "example": "支付金额"
  2704. },
  2705. "business_kind": {
  2706. "type": "string",
  2707. "example": "支付类型(1:广告合作)"
  2708. },
  2709. "certificate": {
  2710. "type": "string",
  2711. "example": "支付凭证"
  2712. },
  2713. "memo": {
  2714. "type": "string",
  2715. "example": "备注"
  2716. },
  2717. "pay_method": {
  2718. "type": "string",
  2719. "example": "支付方式 0对私 1对公"
  2720. },
  2721. "uid": {
  2722. "type": "string"
  2723. }
  2724. }
  2725. },
  2726. "md.FinancialDynamicsMediumTotalReq": {
  2727. "type": "object",
  2728. "properties": {
  2729. "end_time": {
  2730. "type": "string"
  2731. },
  2732. "start_time": {
  2733. "type": "string",
  2734. "example": "2024-08-29 00:00:00"
  2735. },
  2736. "uid": {
  2737. "type": "string",
  2738. "example": ""
  2739. }
  2740. }
  2741. },
  2742. "md.FinancialDynamicsMediumTotalRes": {
  2743. "type": "object",
  2744. "properties": {
  2745. "all_amount": {
  2746. "type": "string",
  2747. "example": "预付总金额"
  2748. },
  2749. "balance_amount": {
  2750. "type": "string",
  2751. "example": "账户余额"
  2752. },
  2753. "pay_count": {
  2754. "type": "string",
  2755. "example": "预付次数"
  2756. },
  2757. "use_amount": {
  2758. "type": "string",
  2759. "example": "已消耗金额"
  2760. }
  2761. }
  2762. },
  2763. "md.ImgReqUpload": {
  2764. "type": "object",
  2765. "properties": {
  2766. "dir": {
  2767. "type": "string"
  2768. },
  2769. "file_name": {
  2770. "type": "string"
  2771. },
  2772. "file_size": {
  2773. "description": "文件大小, 单位byte",
  2774. "type": "integer"
  2775. }
  2776. }
  2777. },
  2778. "md.IndexAppListData": {
  2779. "type": "object",
  2780. "properties": {
  2781. "list": {
  2782. "type": "array",
  2783. "items": {
  2784. "$ref": "#/definitions/md.IndexAppListDataList"
  2785. }
  2786. },
  2787. "logo": {
  2788. "type": "string"
  2789. },
  2790. "name": {
  2791. "type": "string"
  2792. },
  2793. "table_list": {
  2794. "type": "array",
  2795. "items": {
  2796. "type": "string"
  2797. }
  2798. }
  2799. }
  2800. },
  2801. "md.IndexAppListDataList": {
  2802. "type": "object",
  2803. "properties": {
  2804. "bili": {
  2805. "type": "string"
  2806. },
  2807. "name": {
  2808. "type": "string"
  2809. },
  2810. "type": {
  2811. "type": "string"
  2812. },
  2813. "value": {
  2814. "type": "string"
  2815. }
  2816. }
  2817. },
  2818. "md.IndexAppListReq": {
  2819. "type": "object",
  2820. "properties": {
  2821. "end_date": {
  2822. "type": "string",
  2823. "example": "2024-08-30"
  2824. },
  2825. "name": {
  2826. "type": "string"
  2827. },
  2828. "sort": {
  2829. "type": "string",
  2830. "example": "排序"
  2831. },
  2832. "start_date": {
  2833. "type": "string",
  2834. "example": "2024-08-30"
  2835. }
  2836. }
  2837. },
  2838. "md.IndexAppListRes": {
  2839. "type": "object",
  2840. "properties": {
  2841. "app_id": {
  2842. "type": "array",
  2843. "items": {
  2844. "type": "string"
  2845. }
  2846. },
  2847. "list": {
  2848. "type": "array",
  2849. "items": {
  2850. "$ref": "#/definitions/md.IndexAppListData"
  2851. }
  2852. },
  2853. "sort": {
  2854. "type": "array",
  2855. "items": {
  2856. "$ref": "#/definitions/md.SelectData"
  2857. }
  2858. }
  2859. }
  2860. },
  2861. "md.IndexAppListTableReq": {
  2862. "type": "object",
  2863. "properties": {
  2864. "app_id": {
  2865. "type": "array",
  2866. "items": {
  2867. "type": "string"
  2868. }
  2869. },
  2870. "end_date": {
  2871. "type": "string",
  2872. "example": "2024-08-30"
  2873. },
  2874. "start_date": {
  2875. "type": "string",
  2876. "example": "2024-08-30"
  2877. }
  2878. }
  2879. },
  2880. "md.Invoice": {
  2881. "type": "object",
  2882. "properties": {
  2883. "count": {
  2884. "type": "string"
  2885. },
  2886. "file": {
  2887. "type": "array",
  2888. "items": {
  2889. "$ref": "#/definitions/md.InvoiceFile"
  2890. }
  2891. },
  2892. "time": {
  2893. "type": "string"
  2894. },
  2895. "type": {
  2896. "type": "string"
  2897. }
  2898. }
  2899. },
  2900. "md.InvoiceFile": {
  2901. "type": "object",
  2902. "properties": {
  2903. "state": {
  2904. "type": "string",
  2905. "example": "0待确认 1审核通过 2审核失败"
  2906. },
  2907. "url": {
  2908. "type": "string"
  2909. }
  2910. }
  2911. },
  2912. "md.InvoiceReq": {
  2913. "type": "object",
  2914. "properties": {
  2915. "file": {
  2916. "type": "array",
  2917. "items": {
  2918. "$ref": "#/definitions/md.InvoiceFile"
  2919. }
  2920. },
  2921. "id": {
  2922. "type": "string",
  2923. "example": "列表id"
  2924. },
  2925. "state": {
  2926. "type": "string",
  2927. "example": "1审核通过 2审核失败"
  2928. }
  2929. }
  2930. },
  2931. "md.LoginReq": {
  2932. "type": "object",
  2933. "required": [
  2934. "password",
  2935. "username"
  2936. ],
  2937. "properties": {
  2938. "code": {
  2939. "type": "string",
  2940. "example": "验证码"
  2941. },
  2942. "password": {
  2943. "type": "string",
  2944. "example": "登录密码"
  2945. },
  2946. "username": {
  2947. "type": "string",
  2948. "example": "登录账号"
  2949. }
  2950. }
  2951. },
  2952. "md.LoginResponse": {
  2953. "type": "object",
  2954. "properties": {
  2955. "token": {
  2956. "type": "string"
  2957. }
  2958. }
  2959. },
  2960. "md.MediumDivisionStrategy": {
  2961. "type": "object",
  2962. "properties": {
  2963. "agent_revenue": {
  2964. "type": "string",
  2965. "example": "代理收益"
  2966. },
  2967. "agent_revenue_rate": {
  2968. "type": "string",
  2969. "example": "代理收益百分比"
  2970. },
  2971. "agreement_sharing": {
  2972. "type": "string",
  2973. "example": "协议分成"
  2974. },
  2975. "agreement_sharing_rate": {
  2976. "type": "string",
  2977. "example": "协议分成百分比"
  2978. },
  2979. "commission_retention": {
  2980. "type": "string",
  2981. "example": "佣金留存"
  2982. },
  2983. "commission_retention_rate": {
  2984. "type": "string",
  2985. "example": "佣金留存百分比"
  2986. },
  2987. "ecpm": {
  2988. "type": "string",
  2989. "example": "现-ecpm(元)"
  2990. },
  2991. "exposure_count": {
  2992. "type": "string",
  2993. "example": "曝光量"
  2994. },
  2995. "extra_revenue": {
  2996. "type": "string",
  2997. "example": "额外收益"
  2998. },
  2999. "extra_revenue_rate": {
  3000. "type": "string",
  3001. "example": "额外收益百分比"
  3002. },
  3003. "media_revenue": {
  3004. "type": "string",
  3005. "example": "媒体收益"
  3006. },
  3007. "media_revenue_rate": {
  3008. "type": "string",
  3009. "example": "媒体收益百分比"
  3010. },
  3011. "old_ecpm": {
  3012. "type": "string",
  3013. "example": "原-ecpm(元)"
  3014. },
  3015. "platform_retention": {
  3016. "type": "string",
  3017. "example": "平台留存"
  3018. },
  3019. "platform_retention_rate": {
  3020. "type": "string",
  3021. "example": "平台留存百分比"
  3022. }
  3023. }
  3024. },
  3025. "md.MediumListData": {
  3026. "type": "object",
  3027. "properties": {
  3028. "account": {
  3029. "type": "string",
  3030. "example": "媒体账号"
  3031. },
  3032. "business_license_address": {
  3033. "type": "string",
  3034. "example": "营业执照地址"
  3035. },
  3036. "business_license_img": {
  3037. "type": "string",
  3038. "example": "营业执照图片"
  3039. },
  3040. "company_name": {
  3041. "type": "string",
  3042. "example": "公司名称"
  3043. },
  3044. "id": {
  3045. "type": "string",
  3046. "example": "id"
  3047. },
  3048. "legal_representative": {
  3049. "type": "string",
  3050. "example": "法定代表人"
  3051. },
  3052. "medium_id": {
  3053. "type": "string",
  3054. "example": "媒体id"
  3055. },
  3056. "memo": {
  3057. "type": "string",
  3058. "example": "备注 审核时填写的"
  3059. },
  3060. "state": {
  3061. "type": "string",
  3062. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  3063. },
  3064. "unified_social_credit_code": {
  3065. "type": "string",
  3066. "example": "统一社会信用代码"
  3067. }
  3068. }
  3069. },
  3070. "md.MediumListDelReq": {
  3071. "type": "object",
  3072. "properties": {
  3073. "id": {
  3074. "type": "string",
  3075. "example": "列表id"
  3076. }
  3077. }
  3078. },
  3079. "md.MediumListReq": {
  3080. "type": "object",
  3081. "properties": {
  3082. "id": {
  3083. "type": "string"
  3084. },
  3085. "limit": {
  3086. "type": "string"
  3087. },
  3088. "name": {
  3089. "type": "string"
  3090. },
  3091. "page": {
  3092. "type": "string"
  3093. },
  3094. "state": {
  3095. "type": "string"
  3096. }
  3097. }
  3098. },
  3099. "md.MediumListRes": {
  3100. "type": "object",
  3101. "properties": {
  3102. "list": {
  3103. "type": "array",
  3104. "items": {
  3105. "$ref": "#/definitions/md.MediumListData"
  3106. }
  3107. },
  3108. "state": {
  3109. "type": "array",
  3110. "items": {
  3111. "$ref": "#/definitions/md.SelectData"
  3112. }
  3113. },
  3114. "total": {
  3115. "type": "integer"
  3116. }
  3117. }
  3118. },
  3119. "md.MediumListSaveReq": {
  3120. "type": "object",
  3121. "properties": {
  3122. "medium_id": {
  3123. "type": "string"
  3124. },
  3125. "username": {
  3126. "type": "string"
  3127. }
  3128. }
  3129. },
  3130. "md.MediumQualificationBankData": {
  3131. "type": "object",
  3132. "properties": {
  3133. "account": {
  3134. "type": "string",
  3135. "example": "账号"
  3136. },
  3137. "bank": {
  3138. "type": "string",
  3139. "example": "开户银行"
  3140. },
  3141. "bank_branch": {
  3142. "type": "string",
  3143. "example": "开户银行分行"
  3144. },
  3145. "bank_no": {
  3146. "type": "string",
  3147. "example": "银行卡号"
  3148. },
  3149. "company_name": {
  3150. "type": "string",
  3151. "example": "公司名称"
  3152. },
  3153. "currency_conf": {
  3154. "type": "string",
  3155. "example": "结算币种 0人民币"
  3156. },
  3157. "id": {
  3158. "type": "string",
  3159. "example": "id"
  3160. },
  3161. "kind": {
  3162. "type": "string",
  3163. "example": "类型(1:企业 2:个人)"
  3164. },
  3165. "licence": {
  3166. "type": "string",
  3167. "example": "开户许可证"
  3168. },
  3169. "medium_id": {
  3170. "type": "string",
  3171. "example": "代理id"
  3172. },
  3173. "memo": {
  3174. "type": "string",
  3175. "example": "备注 审核时填写的"
  3176. },
  3177. "state": {
  3178. "type": "string",
  3179. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  3180. },
  3181. "unified_social_credit_code": {
  3182. "type": "string",
  3183. "example": "统一社会信用代码"
  3184. }
  3185. }
  3186. },
  3187. "md.MediumQualificationBankRes": {
  3188. "type": "object",
  3189. "properties": {
  3190. "currency_conf": {
  3191. "type": "array",
  3192. "items": {
  3193. "$ref": "#/definitions/md.SelectData"
  3194. }
  3195. },
  3196. "list": {
  3197. "type": "array",
  3198. "items": {
  3199. "$ref": "#/definitions/md.MediumQualificationBankData"
  3200. }
  3201. },
  3202. "state": {
  3203. "type": "array",
  3204. "items": {
  3205. "$ref": "#/definitions/md.SelectData"
  3206. }
  3207. },
  3208. "total": {
  3209. "type": "integer"
  3210. },
  3211. "type": {
  3212. "type": "array",
  3213. "items": {
  3214. "$ref": "#/definitions/md.SelectData"
  3215. }
  3216. }
  3217. }
  3218. },
  3219. "md.MediumQualificationContactData": {
  3220. "type": "object",
  3221. "properties": {
  3222. "account": {
  3223. "type": "string",
  3224. "example": "账号"
  3225. },
  3226. "address": {
  3227. "type": "string",
  3228. "example": "联系地址"
  3229. },
  3230. "company_name": {
  3231. "type": "string",
  3232. "example": "公司名称"
  3233. },
  3234. "email": {
  3235. "type": "string",
  3236. "example": "邮箱地址"
  3237. },
  3238. "id": {
  3239. "type": "string",
  3240. "example": "id"
  3241. },
  3242. "kind": {
  3243. "type": "string",
  3244. "example": "类型(1:企业 2:个人)"
  3245. },
  3246. "medium_id": {
  3247. "type": "string",
  3248. "example": "代理id"
  3249. },
  3250. "memo": {
  3251. "type": "string",
  3252. "example": "备注 审核时填写的"
  3253. },
  3254. "name": {
  3255. "type": "string",
  3256. "example": "联系人"
  3257. },
  3258. "phone": {
  3259. "type": "string",
  3260. "example": "联系电话"
  3261. },
  3262. "state": {
  3263. "type": "string",
  3264. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  3265. }
  3266. }
  3267. },
  3268. "md.MediumQualificationContactRes": {
  3269. "type": "object",
  3270. "properties": {
  3271. "list": {
  3272. "type": "array",
  3273. "items": {
  3274. "$ref": "#/definitions/md.MediumQualificationContactData"
  3275. }
  3276. },
  3277. "state": {
  3278. "type": "array",
  3279. "items": {
  3280. "$ref": "#/definitions/md.SelectData"
  3281. }
  3282. },
  3283. "total": {
  3284. "type": "integer"
  3285. }
  3286. }
  3287. },
  3288. "md.MediumQualificationEnterpriseAuditReq": {
  3289. "type": "object",
  3290. "properties": {
  3291. "medium_id": {
  3292. "type": "string"
  3293. },
  3294. "memo": {
  3295. "type": "string"
  3296. },
  3297. "state": {
  3298. "type": "string"
  3299. }
  3300. }
  3301. },
  3302. "md.MediumQualificationEnterpriseData": {
  3303. "type": "object",
  3304. "properties": {
  3305. "account": {
  3306. "type": "string",
  3307. "example": "账号"
  3308. },
  3309. "business_license_address": {
  3310. "type": "string",
  3311. "example": "营业执照地址"
  3312. },
  3313. "business_license_img_url": {
  3314. "type": "string",
  3315. "example": "营业执照照片"
  3316. },
  3317. "certificate_first_type": {
  3318. "type": "string",
  3319. "example": "证件类型 1级类目id"
  3320. },
  3321. "certificate_type": {
  3322. "type": "string",
  3323. "example": "证件类型 2级类目id"
  3324. },
  3325. "certificate_validity": {
  3326. "type": "string",
  3327. "example": "证件有效期"
  3328. },
  3329. "company_abbreviation": {
  3330. "type": "string",
  3331. "example": "公司简称"
  3332. },
  3333. "company_name": {
  3334. "type": "string",
  3335. "example": "公司名称"
  3336. },
  3337. "country_region": {
  3338. "type": "string",
  3339. "example": "国家地区"
  3340. },
  3341. "country_region_id": {
  3342. "type": "string",
  3343. "example": "国家地区id"
  3344. },
  3345. "id": {
  3346. "type": "string",
  3347. "example": "状态选择"
  3348. },
  3349. "kind": {
  3350. "type": "string",
  3351. "example": "类型(1:企业 2:个人)"
  3352. },
  3353. "legal_representative": {
  3354. "type": "string",
  3355. "example": "法定代表人"
  3356. },
  3357. "medium_id": {
  3358. "type": "string",
  3359. "example": "代理id"
  3360. },
  3361. "memo": {
  3362. "type": "string",
  3363. "example": "备注 审核时填写的"
  3364. },
  3365. "registered_address": {
  3366. "type": "string",
  3367. "example": "注册地址"
  3368. },
  3369. "registered_address_city_id": {
  3370. "type": "string",
  3371. "example": "注册地址-市id"
  3372. },
  3373. "registered_address_country_id": {
  3374. "type": "string",
  3375. "example": "注册地址-国家id"
  3376. },
  3377. "registered_address_county_id": {
  3378. "type": "string",
  3379. "example": "注册地址-县/区id"
  3380. },
  3381. "registered_address_province_id": {
  3382. "type": "string",
  3383. "example": "册地址-省份id"
  3384. },
  3385. "state": {
  3386. "type": "string",
  3387. "example": "状态(0:待提交 1:待审核 2:审核通过 3:审核拒绝)"
  3388. },
  3389. "unified_social_credit_code": {
  3390. "type": "string",
  3391. "example": "统一社会信用代码"
  3392. },
  3393. "uuid": {
  3394. "type": "string",
  3395. "example": "站长id"
  3396. }
  3397. }
  3398. },
  3399. "md.MediumQualificationEnterpriseReq": {
  3400. "type": "object",
  3401. "properties": {
  3402. "limit": {
  3403. "type": "string"
  3404. },
  3405. "name": {
  3406. "type": "string"
  3407. },
  3408. "page": {
  3409. "type": "string"
  3410. },
  3411. "state": {
  3412. "type": "string"
  3413. }
  3414. }
  3415. },
  3416. "md.MediumQualificationEnterpriseRes": {
  3417. "type": "object",
  3418. "properties": {
  3419. "list": {
  3420. "type": "array",
  3421. "items": {
  3422. "$ref": "#/definitions/md.MediumQualificationEnterpriseData"
  3423. }
  3424. },
  3425. "state": {
  3426. "type": "array",
  3427. "items": {
  3428. "$ref": "#/definitions/md.SelectData"
  3429. }
  3430. },
  3431. "total": {
  3432. "type": "integer"
  3433. },
  3434. "type": {
  3435. "type": "array",
  3436. "items": {
  3437. "$ref": "#/definitions/md.SelectData"
  3438. }
  3439. }
  3440. }
  3441. },
  3442. "md.OtherIncomeReq": {
  3443. "type": "object",
  3444. "properties": {
  3445. "amount": {
  3446. "type": "string",
  3447. "example": "其他收益"
  3448. },
  3449. "id": {
  3450. "type": "string",
  3451. "example": "列表id"
  3452. }
  3453. }
  3454. },
  3455. "md.QiNiuBucketRegion": {
  3456. "type": "object",
  3457. "properties": {
  3458. "region_domain": {
  3459. "type": "string",
  3460. "example": "区域域名"
  3461. },
  3462. "region_id": {
  3463. "type": "string",
  3464. "example": "区域id"
  3465. },
  3466. "region_name": {
  3467. "type": "string",
  3468. "example": "区域名称"
  3469. }
  3470. }
  3471. },
  3472. "md.RegisterForAgentReq": {
  3473. "type": "object",
  3474. "required": [
  3475. "password",
  3476. "phone"
  3477. ],
  3478. "properties": {
  3479. "code": {
  3480. "type": "string",
  3481. "example": "验证码"
  3482. },
  3483. "password": {
  3484. "type": "string",
  3485. "example": "登录密码"
  3486. },
  3487. "phone": {
  3488. "type": "string",
  3489. "example": "登录账号"
  3490. }
  3491. }
  3492. },
  3493. "md.RegisterForMediumReq": {
  3494. "type": "object",
  3495. "required": [
  3496. "password",
  3497. "phone"
  3498. ],
  3499. "properties": {
  3500. "code": {
  3501. "type": "string",
  3502. "example": "验证码"
  3503. },
  3504. "password": {
  3505. "type": "string",
  3506. "example": "登录密码"
  3507. },
  3508. "phone": {
  3509. "type": "string",
  3510. "example": "登录账号"
  3511. }
  3512. }
  3513. },
  3514. "md.Response": {
  3515. "type": "object",
  3516. "properties": {
  3517. "code": {
  3518. "type": "string",
  3519. "example": "响应码"
  3520. },
  3521. "data": {
  3522. "description": "内容"
  3523. },
  3524. "msg": {
  3525. "type": "string",
  3526. "example": "具体错误原因"
  3527. }
  3528. }
  3529. },
  3530. "md.RoleBindPermissionGroupReq": {
  3531. "type": "object",
  3532. "required": [
  3533. "role_id"
  3534. ],
  3535. "properties": {
  3536. "permission_ids": {
  3537. "type": "array",
  3538. "items": {
  3539. "type": "integer"
  3540. }
  3541. },
  3542. "role_id": {
  3543. "type": "integer"
  3544. }
  3545. }
  3546. },
  3547. "md.SelectData": {
  3548. "type": "object",
  3549. "properties": {
  3550. "name": {
  3551. "type": "string",
  3552. "example": "名称"
  3553. },
  3554. "value": {
  3555. "type": "string",
  3556. "example": "值"
  3557. }
  3558. }
  3559. },
  3560. "md.SetLogoReq": {
  3561. "type": "object",
  3562. "properties": {
  3563. "agent_login_logo": {
  3564. "type": "string"
  3565. },
  3566. "agent_logo": {
  3567. "type": "string"
  3568. },
  3569. "medium_login_logo": {
  3570. "type": "string"
  3571. },
  3572. "medium_logo": {
  3573. "type": "string"
  3574. }
  3575. }
  3576. },
  3577. "md.SetLogoResp": {
  3578. "type": "object",
  3579. "properties": {
  3580. "data": {
  3581. "description": "数据内容",
  3582. "allOf": [
  3583. {
  3584. "$ref": "#/definitions/md.SetLogoReq"
  3585. }
  3586. ]
  3587. }
  3588. }
  3589. },
  3590. "md.SetMobReq": {
  3591. "type": "object",
  3592. "properties": {
  3593. "mob_app_key": {
  3594. "type": "string"
  3595. },
  3596. "mob_app_secret": {
  3597. "type": "string"
  3598. }
  3599. }
  3600. },
  3601. "md.SetOssReq": {
  3602. "type": "object",
  3603. "required": [
  3604. "file_access_key",
  3605. "file_bucket",
  3606. "file_bucket_host",
  3607. "file_bucket_region",
  3608. "file_secret_key"
  3609. ],
  3610. "properties": {
  3611. "file_access_key": {
  3612. "type": "string",
  3613. "example": "对象存储AccessToken"
  3614. },
  3615. "file_bucket": {
  3616. "type": "string",
  3617. "example": "对象存储bucket(空间)"
  3618. },
  3619. "file_bucket_host": {
  3620. "type": "string",
  3621. "example": "对象存储域名"
  3622. },
  3623. "file_bucket_region": {
  3624. "type": "string",
  3625. "example": "文件所属区域"
  3626. },
  3627. "file_secret_key": {
  3628. "type": "string",
  3629. "example": "对象存储SecretToken"
  3630. }
  3631. }
  3632. },
  3633. "md.SetOssResp": {
  3634. "type": "object",
  3635. "properties": {
  3636. "data": {
  3637. "description": "数据内容",
  3638. "allOf": [
  3639. {
  3640. "$ref": "#/definitions/md.SetOssReq"
  3641. }
  3642. ]
  3643. },
  3644. "qi_niu_bucket_region_list": {
  3645. "description": "七牛云存储区域列表",
  3646. "type": "array",
  3647. "items": {
  3648. "$ref": "#/definitions/md.QiNiuBucketRegion"
  3649. }
  3650. }
  3651. }
  3652. },
  3653. "md.SetSeoReq": {
  3654. "type": "object",
  3655. "properties": {
  3656. "seo_agent_logo": {
  3657. "type": "string"
  3658. },
  3659. "seo_agent_title": {
  3660. "type": "string"
  3661. },
  3662. "seo_medium_logo": {
  3663. "type": "string"
  3664. },
  3665. "seo_medium_title": {
  3666. "type": "string"
  3667. },
  3668. "seo_platform_logo": {
  3669. "type": "string"
  3670. },
  3671. "seo_platform_title": {
  3672. "type": "string"
  3673. }
  3674. }
  3675. },
  3676. "md.SetSeoResp": {
  3677. "type": "object",
  3678. "properties": {
  3679. "data": {
  3680. "description": "数据内容",
  3681. "allOf": [
  3682. {
  3683. "$ref": "#/definitions/md.SetSeoReq"
  3684. }
  3685. ]
  3686. }
  3687. }
  3688. },
  3689. "md.SettleCenterDataData": {
  3690. "type": "object",
  3691. "properties": {
  3692. "account": {
  3693. "type": "string"
  3694. },
  3695. "id": {
  3696. "type": "string"
  3697. },
  3698. "name": {
  3699. "type": "string"
  3700. },
  3701. "settle_type": {
  3702. "type": "string"
  3703. },
  3704. "update_at": {
  3705. "type": "string"
  3706. }
  3707. }
  3708. },
  3709. "md.SettleCenterDataDetailData": {
  3710. "type": "object",
  3711. "properties": {
  3712. "all_income": {
  3713. "type": "string",
  3714. "example": "总计"
  3715. },
  3716. "basic_income": {
  3717. "type": "string",
  3718. "example": "基础收益"
  3719. },
  3720. "business_kind": {
  3721. "type": "string",
  3722. "example": "业务类型(1:广告合作)"
  3723. },
  3724. "other_income": {
  3725. "type": "string",
  3726. "example": "其他收益"
  3727. },
  3728. "pay_state": {
  3729. "type": "string",
  3730. "example": "结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)"
  3731. },
  3732. "settle_type": {
  3733. "type": "string",
  3734. "example": "结算单类型(1:日结 2:周结 3:月结 4:预付)"
  3735. },
  3736. "state": {
  3737. "type": "string",
  3738. "example": "结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)"
  3739. },
  3740. "time_str": {
  3741. "type": "string",
  3742. "example": "业务时间"
  3743. }
  3744. }
  3745. },
  3746. "md.SettleCenterDataDetailReq": {
  3747. "type": "object",
  3748. "properties": {
  3749. "end_time": {
  3750. "type": "string"
  3751. },
  3752. "id": {
  3753. "type": "string"
  3754. },
  3755. "limit": {
  3756. "type": "string"
  3757. },
  3758. "page": {
  3759. "type": "string"
  3760. },
  3761. "start_time": {
  3762. "type": "string",
  3763. "example": "2024-08-29"
  3764. }
  3765. }
  3766. },
  3767. "md.SettleCenterDataDetailRes": {
  3768. "type": "object",
  3769. "properties": {
  3770. "business_kind": {
  3771. "type": "array",
  3772. "items": {
  3773. "$ref": "#/definitions/md.SelectData"
  3774. }
  3775. },
  3776. "list": {
  3777. "type": "array",
  3778. "items": {
  3779. "$ref": "#/definitions/md.SettleCenterDataDetailData"
  3780. }
  3781. },
  3782. "settle_pay_state": {
  3783. "type": "array",
  3784. "items": {
  3785. "$ref": "#/definitions/md.SelectData"
  3786. }
  3787. },
  3788. "settle_state": {
  3789. "type": "array",
  3790. "items": {
  3791. "$ref": "#/definitions/md.SelectData"
  3792. }
  3793. },
  3794. "settle_type": {
  3795. "type": "array",
  3796. "items": {
  3797. "$ref": "#/definitions/md.SelectData"
  3798. }
  3799. },
  3800. "total": {
  3801. "type": "integer"
  3802. }
  3803. }
  3804. },
  3805. "md.SettleCenterDataReq": {
  3806. "type": "object",
  3807. "properties": {
  3808. "account": {
  3809. "type": "string"
  3810. },
  3811. "limit": {
  3812. "type": "string"
  3813. },
  3814. "name": {
  3815. "type": "string"
  3816. },
  3817. "page": {
  3818. "type": "string"
  3819. },
  3820. "state": {
  3821. "type": "string"
  3822. }
  3823. }
  3824. },
  3825. "md.SettleCenterDataRes": {
  3826. "type": "object",
  3827. "properties": {
  3828. "list": {
  3829. "type": "array",
  3830. "items": {
  3831. "$ref": "#/definitions/md.SettleCenterDataData"
  3832. }
  3833. },
  3834. "state": {
  3835. "type": "array",
  3836. "items": {
  3837. "$ref": "#/definitions/md.SelectData"
  3838. }
  3839. },
  3840. "total": {
  3841. "type": "integer"
  3842. }
  3843. }
  3844. },
  3845. "md.SettleCenterDataSaveReq": {
  3846. "type": "object",
  3847. "properties": {
  3848. "id": {
  3849. "type": "string"
  3850. },
  3851. "settle_type": {
  3852. "type": "string"
  3853. }
  3854. }
  3855. },
  3856. "md.SettleFileReq": {
  3857. "type": "object",
  3858. "properties": {
  3859. "file": {
  3860. "type": "string",
  3861. "example": "七牛云链接 带http"
  3862. },
  3863. "id": {
  3864. "type": "string",
  3865. "example": "列表id"
  3866. }
  3867. }
  3868. },
  3869. "md.ShareIndexResp": {
  3870. "type": "object",
  3871. "properties": {
  3872. "agent_domain": {
  3873. "type": "string",
  3874. "example": "代理分享地址"
  3875. },
  3876. "master_id": {
  3877. "type": "string"
  3878. },
  3879. "medium_domain": {
  3880. "type": "string",
  3881. "example": "媒体分享地址"
  3882. }
  3883. }
  3884. },
  3885. "md.UpdateAdminReq": {
  3886. "type": "object",
  3887. "required": [
  3888. "adm_id",
  3889. "password",
  3890. "username"
  3891. ],
  3892. "properties": {
  3893. "adm_id": {
  3894. "type": "integer"
  3895. },
  3896. "memo": {
  3897. "type": "string"
  3898. },
  3899. "password": {
  3900. "type": "string"
  3901. },
  3902. "username": {
  3903. "type": "string"
  3904. }
  3905. }
  3906. },
  3907. "md.UpdateAdminStateReq": {
  3908. "type": "object",
  3909. "required": [
  3910. "adm_id",
  3911. "state"
  3912. ],
  3913. "properties": {
  3914. "adm_id": {
  3915. "type": "integer"
  3916. },
  3917. "state": {
  3918. "type": "integer"
  3919. }
  3920. }
  3921. },
  3922. "md.UpdateRoleReq": {
  3923. "type": "object",
  3924. "required": [
  3925. "memo",
  3926. "name",
  3927. "role_id"
  3928. ],
  3929. "properties": {
  3930. "label": {
  3931. "type": "string"
  3932. },
  3933. "logo": {
  3934. "type": "string"
  3935. },
  3936. "memo": {
  3937. "type": "string"
  3938. },
  3939. "name": {
  3940. "type": "string"
  3941. },
  3942. "role_id": {
  3943. "type": "integer"
  3944. },
  3945. "seo_logo": {
  3946. "type": "string"
  3947. },
  3948. "seo_title": {
  3949. "type": "string"
  3950. }
  3951. }
  3952. },
  3953. "md.UpdateRoleStateReq": {
  3954. "type": "object",
  3955. "required": [
  3956. "role_id",
  3957. "state"
  3958. ],
  3959. "properties": {
  3960. "role_id": {
  3961. "type": "integer"
  3962. },
  3963. "state": {
  3964. "type": "integer"
  3965. }
  3966. }
  3967. },
  3968. "md.WxOpenGetResp": {
  3969. "type": "object",
  3970. "properties": {
  3971. "aes_key": {
  3972. "type": "string",
  3973. "example": "消息加解密Key"
  3974. },
  3975. "app_secret": {
  3976. "type": "string",
  3977. "example": "appSecret"
  3978. },
  3979. "appid": {
  3980. "type": "string",
  3981. "example": "appid"
  3982. },
  3983. "token": {
  3984. "type": "string",
  3985. "example": "消息校验Token"
  3986. },
  3987. "wx_open_applet_server_domain": {
  3988. "type": "string",
  3989. "example": "微信开放平台-小程序服务器域名"
  3990. },
  3991. "wx_open_authorization_event_receiving_configuration": {
  3992. "type": "string",
  3993. "example": "微信开放平台-授权事件接收配置"
  3994. },
  3995. "wx_open_domain_of_the_initiating_page_for_login_authorization": {
  3996. "type": "string",
  3997. "example": "微信开放平台-登录授权的发起页域名"
  3998. },
  3999. "wx_open_message_and_event_reception_configuration": {
  4000. "type": "string",
  4001. "example": "微信开放平台-消息与事件接收配置"
  4002. },
  4003. "wx_open_white_list_ip": {
  4004. "type": "string",
  4005. "example": "微信开放平台-白名单ip"
  4006. }
  4007. }
  4008. },
  4009. "md.WxOpenSetReq": {
  4010. "type": "object",
  4011. "required": [
  4012. "aes_key",
  4013. "app_secret",
  4014. "appid",
  4015. "token"
  4016. ],
  4017. "properties": {
  4018. "aes_key": {
  4019. "type": "string",
  4020. "example": "消息加解密Key"
  4021. },
  4022. "app_secret": {
  4023. "type": "string",
  4024. "example": "appSecret"
  4025. },
  4026. "appid": {
  4027. "type": "string",
  4028. "example": "appid"
  4029. },
  4030. "token": {
  4031. "type": "string",
  4032. "example": "消息校验Token"
  4033. }
  4034. }
  4035. }
  4036. },
  4037. "securityDefinitions": {
  4038. "MasterID": {
  4039. "type": "apiKey",
  4040. "name": "MasterID",
  4041. "in": "header"
  4042. }
  4043. }
  4044. }