广告平台(站长使用)
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

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