广告平台(媒体使用)
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

swagger.yaml 48 KiB

1ヶ月前
4週間前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
4週間前
2週間前
4週間前
3週間前
4週間前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
2週間前
4週間前
2週間前
4週間前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
3週間前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
4週間前
2週間前
4週間前
4週間前
4週間前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
4週間前
3週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
4週間前
3週間前
4週間前
4週間前
3週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
3週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
2週間前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
4週間前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
4週間前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
1ヶ月前
2週間前
4週間前
1ヶ月前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040
  1. definitions:
  2. md.AccountBase:
  3. properties:
  4. admin_phone:
  5. example: 管理员手机号
  6. type: string
  7. company_abbreviation:
  8. example: 公司简称
  9. type: string
  10. company_name:
  11. example: 公司名称
  12. type: string
  13. contact_address:
  14. example: 联系地址
  15. type: string
  16. contact_email:
  17. example: 邮箱
  18. type: string
  19. contact_name:
  20. example: 联系人
  21. type: string
  22. contact_phone:
  23. example: 联系电话
  24. type: string
  25. country_region:
  26. example: 国家地区
  27. type: string
  28. currency_conf:
  29. example: 结算币种
  30. type: string
  31. medium_id:
  32. example: 账户ID
  33. type: string
  34. nickname:
  35. example: 昵称
  36. type: string
  37. type: object
  38. md.AccountUpdatePasswordReq:
  39. properties:
  40. captcha:
  41. example: 验证码
  42. type: string
  43. password:
  44. example: 登录密码
  45. type: string
  46. type: object
  47. md.AddAdminReq:
  48. properties:
  49. memo:
  50. type: string
  51. password:
  52. type: string
  53. username:
  54. type: string
  55. required:
  56. - password
  57. - username
  58. type: object
  59. md.AddRoleReq:
  60. properties:
  61. memo:
  62. type: string
  63. name:
  64. type: string
  65. required:
  66. - memo
  67. - name
  68. type: object
  69. md.AdminListReq:
  70. properties:
  71. limit:
  72. type: integer
  73. page:
  74. type: integer
  75. state:
  76. type: integer
  77. username:
  78. type: string
  79. type: object
  80. md.AppletApplicationAdSpaceListData:
  81. properties:
  82. ad_id:
  83. example: 广告位id
  84. type: string
  85. app_id:
  86. example: 小程序appid
  87. type: string
  88. app_name:
  89. type: string
  90. cooperate_state:
  91. example: 合作状态
  92. type: string
  93. id:
  94. example: id
  95. type: string
  96. kind:
  97. example: 广告位类型
  98. type: string
  99. logo:
  100. example: logo
  101. type: string
  102. memo:
  103. example: 备注
  104. type: string
  105. name:
  106. example: 应用名称
  107. type: string
  108. platform:
  109. example: 平台
  110. type: string
  111. state:
  112. example: 应用状态 state=2 才能再次编辑
  113. type: string
  114. type: object
  115. md.AppletApplicationAdSpaceListReq:
  116. properties:
  117. ad_type:
  118. example: 广告位类型
  119. type: string
  120. cooperate_state:
  121. example: 合作状态
  122. type: string
  123. limit:
  124. type: string
  125. name:
  126. type: string
  127. page:
  128. type: string
  129. platform:
  130. type: string
  131. type: object
  132. md.AppletApplicationAdSpaceListRes:
  133. properties:
  134. ad_type:
  135. items:
  136. $ref: '#/definitions/md.SelectData'
  137. type: array
  138. application:
  139. items:
  140. additionalProperties:
  141. type: string
  142. type: object
  143. type: array
  144. cooperate_state:
  145. items:
  146. $ref: '#/definitions/md.SelectData'
  147. type: array
  148. list:
  149. items:
  150. $ref: '#/definitions/md.AppletApplicationAdSpaceListData'
  151. type: array
  152. platform:
  153. items:
  154. $ref: '#/definitions/md.SelectData'
  155. type: array
  156. state:
  157. items:
  158. $ref: '#/definitions/md.SelectData'
  159. type: array
  160. total:
  161. type: integer
  162. type: object
  163. md.AppletApplicationAdSpaceSaveReq:
  164. properties:
  165. app_id:
  166. example: 小程序appid
  167. type: string
  168. kind:
  169. example: 广告类型
  170. type: string
  171. name:
  172. example: 应用名称
  173. type: string
  174. type: object
  175. md.AppletApplicationListData:
  176. properties:
  177. app_id:
  178. example: 小程序appid
  179. type: string
  180. cooperate_state:
  181. example: 合作状态
  182. type: string
  183. id:
  184. example: id
  185. type: string
  186. logo:
  187. example: logo
  188. type: string
  189. memo:
  190. example: 备注
  191. type: string
  192. name:
  193. example: 应用名称
  194. type: string
  195. original_id:
  196. example: 小程序id
  197. type: string
  198. platform:
  199. example: 平台
  200. type: string
  201. state:
  202. example: 应用状态 state=3 才能再次编辑
  203. type: string
  204. type: object
  205. md.AppletApplicationListReq:
  206. properties:
  207. cooperate_state:
  208. example: 合作状态
  209. type: string
  210. limit:
  211. type: string
  212. name:
  213. type: string
  214. page:
  215. type: string
  216. platform:
  217. type: string
  218. type: object
  219. md.AppletApplicationListRes:
  220. properties:
  221. cooperate_state:
  222. items:
  223. $ref: '#/definitions/md.SelectData'
  224. type: array
  225. list:
  226. items:
  227. $ref: '#/definitions/md.AppletApplicationListData'
  228. type: array
  229. platform:
  230. items:
  231. $ref: '#/definitions/md.SelectData'
  232. type: array
  233. state:
  234. items:
  235. $ref: '#/definitions/md.SelectData'
  236. type: array
  237. total:
  238. type: integer
  239. type: object
  240. md.AppletApplicationSaveReq:
  241. properties:
  242. app_id:
  243. example: 小程序appid
  244. type: string
  245. id:
  246. example: id
  247. type: string
  248. logo:
  249. example: logo
  250. type: string
  251. name:
  252. example: 应用名称
  253. type: string
  254. original_id:
  255. example: 小程序id
  256. type: string
  257. platform:
  258. example: 平台 微信小程序:wx_applet
  259. type: string
  260. type: object
  261. md.BindAdminRoleReq:
  262. properties:
  263. id:
  264. type: integer
  265. role_ids:
  266. items:
  267. type: integer
  268. type: array
  269. required:
  270. - id
  271. type: object
  272. md.CommDetailReq:
  273. properties:
  274. id:
  275. example: 列表id
  276. type: string
  277. type: object
  278. md.DataCenterRecordReq:
  279. properties:
  280. ad_type:
  281. example: 广告位类型
  282. type: string
  283. app_id:
  284. example: 应用
  285. type: string
  286. end_date:
  287. example: "2024-08-30"
  288. type: string
  289. limit:
  290. type: string
  291. page:
  292. type: string
  293. platform:
  294. example: 平台
  295. type: string
  296. start_date:
  297. example: "2024-08-30"
  298. type: string
  299. type: object
  300. md.DataCenterRecordRes:
  301. properties:
  302. list:
  303. items:
  304. $ref: '#/definitions/md.DataCenterTotalData'
  305. type: array
  306. total:
  307. type: integer
  308. type: object
  309. md.DataCenterTableData:
  310. properties:
  311. date:
  312. example: 日期
  313. type: string
  314. ecpm:
  315. example: ecpm
  316. type: string
  317. exposure_count:
  318. example: 曝光量
  319. type: string
  320. media_revenue:
  321. example: 预估收益
  322. type: string
  323. type: object
  324. md.DataCenterTableReq:
  325. properties:
  326. ad_type:
  327. example: 广告位类型
  328. type: string
  329. app_id:
  330. example: 应用
  331. type: string
  332. end_date:
  333. example: "2024-08-30"
  334. type: string
  335. platform:
  336. example: 平台
  337. type: string
  338. start_date:
  339. example: "2024-08-30"
  340. type: string
  341. type: object
  342. md.DataCenterTableRes:
  343. properties:
  344. list:
  345. items:
  346. $ref: '#/definitions/md.DataCenterTableData'
  347. type: array
  348. type: object
  349. md.DataCenterTotalData:
  350. properties:
  351. adv_name:
  352. type: string
  353. app_name:
  354. type: string
  355. click_count:
  356. example: 点击量
  357. type: string
  358. click_rate:
  359. example: 点击率
  360. type: string
  361. date:
  362. example: 日期
  363. type: string
  364. ecpm:
  365. example: ecpm
  366. type: string
  367. exposure_count:
  368. example: 曝光量
  369. type: string
  370. media_revenue:
  371. example: 预估收益
  372. type: string
  373. platform_name:
  374. type: string
  375. type: object
  376. md.ImgReqUpload:
  377. properties:
  378. dir:
  379. type: string
  380. file_name:
  381. type: string
  382. file_size:
  383. description: 文件大小, 单位byte
  384. type: integer
  385. type: object
  386. md.Invoice:
  387. properties:
  388. count:
  389. type: string
  390. file:
  391. items:
  392. $ref: '#/definitions/md.InvoiceFile'
  393. type: array
  394. time:
  395. type: string
  396. type:
  397. type: string
  398. type: object
  399. md.InvoiceCenterDataData:
  400. properties:
  401. amount:
  402. example: 结算金额
  403. type: string
  404. count:
  405. example: 数量
  406. type: string
  407. id:
  408. type: string
  409. month:
  410. example: 订单月份
  411. type: string
  412. state:
  413. example: 结算单状态(0:待审核 1:审核通过 2:审核拒绝)
  414. type: string
  415. time_str:
  416. example: 上传时间
  417. type: string
  418. type: object
  419. md.InvoiceCenterDataDetailData:
  420. properties:
  421. count:
  422. example: 数量
  423. type: string
  424. file:
  425. items:
  426. $ref: '#/definitions/md.InvoiceFile'
  427. type: array
  428. state:
  429. example: 结算单状态(0:待审核 1:审核通过 2:审核拒绝)
  430. type: string
  431. time_str:
  432. example: 上传时间
  433. type: string
  434. type: object
  435. md.InvoiceCenterDataDetailRes:
  436. properties:
  437. data:
  438. $ref: '#/definitions/md.InvoiceCenterDataDetailData'
  439. state:
  440. items:
  441. $ref: '#/definitions/md.SelectData'
  442. type: array
  443. type: object
  444. md.InvoiceCenterDataReq:
  445. properties:
  446. limit:
  447. type: string
  448. page:
  449. type: string
  450. type:
  451. example: 0电子发票 1纸质发票
  452. type: string
  453. type: object
  454. md.InvoiceCenterDataRes:
  455. properties:
  456. list:
  457. items:
  458. $ref: '#/definitions/md.InvoiceCenterDataData'
  459. type: array
  460. state:
  461. items:
  462. $ref: '#/definitions/md.SelectData'
  463. type: array
  464. total:
  465. type: integer
  466. type: object
  467. md.InvoiceFile:
  468. properties:
  469. state:
  470. example: 0待确认 1审核通过 2审核失败
  471. type: string
  472. url:
  473. type: string
  474. type: object
  475. md.InvoiceReq:
  476. properties:
  477. file:
  478. items:
  479. $ref: '#/definitions/md.InvoiceFile'
  480. type: array
  481. id:
  482. example: 列表id
  483. type: string
  484. type:
  485. example: 0电子发票 1纸质发票
  486. type: string
  487. type: object
  488. md.LoginPhoneReq:
  489. properties:
  490. captcha:
  491. example: 验证码
  492. type: string
  493. username:
  494. example: 登录账号
  495. type: string
  496. required:
  497. - captcha
  498. - username
  499. type: object
  500. md.LoginReq:
  501. properties:
  502. code:
  503. example: 验证码
  504. type: string
  505. password:
  506. example: 登录密码
  507. type: string
  508. username:
  509. example: 登录账号
  510. type: string
  511. required:
  512. - password
  513. - username
  514. type: object
  515. md.LoginResponse:
  516. properties:
  517. token:
  518. type: string
  519. type: object
  520. md.MediumBankInfo:
  521. properties:
  522. bank:
  523. type: string
  524. bank_branch:
  525. type: string
  526. bank_no:
  527. type: string
  528. currency_conf:
  529. type: string
  530. id:
  531. type: string
  532. licence:
  533. type: string
  534. medium_id:
  535. type: string
  536. memo:
  537. type: string
  538. state:
  539. type: string
  540. uuid:
  541. type: string
  542. type: object
  543. md.MediumContactInfo:
  544. properties:
  545. address:
  546. type: string
  547. email:
  548. type: string
  549. id:
  550. type: string
  551. medium_id:
  552. type: string
  553. memo:
  554. type: string
  555. name:
  556. type: string
  557. phone:
  558. type: string
  559. state:
  560. type: string
  561. uuid:
  562. type: string
  563. type: object
  564. md.MediumList:
  565. properties:
  566. business_license_address:
  567. type: string
  568. business_license_img_url:
  569. type: string
  570. certificate_first_type:
  571. type: string
  572. certificate_type:
  573. type: string
  574. certificate_validity:
  575. type: string
  576. company_abbreviation:
  577. type: string
  578. company_name:
  579. type: string
  580. country_region:
  581. type: string
  582. country_region_id:
  583. type: string
  584. id:
  585. type: string
  586. kind:
  587. type: string
  588. legal_representative:
  589. type: string
  590. medium_id:
  591. type: string
  592. memo:
  593. type: string
  594. registered_address:
  595. type: string
  596. registered_address_city_id:
  597. type: string
  598. registered_address_country_id:
  599. type: string
  600. registered_address_county_id:
  601. type: string
  602. registered_address_province_id:
  603. type: string
  604. state:
  605. type: string
  606. unified_social_credit_code:
  607. type: string
  608. uuid:
  609. type: string
  610. type: object
  611. md.Response:
  612. properties:
  613. code:
  614. example: 响应码
  615. type: string
  616. data:
  617. description: 内容
  618. msg:
  619. example: 具体错误原因
  620. type: string
  621. type: object
  622. md.RoleBindPermissionGroupReq:
  623. properties:
  624. permission_ids:
  625. items:
  626. type: integer
  627. type: array
  628. role_id:
  629. type: integer
  630. required:
  631. - role_id
  632. type: object
  633. md.SelectData:
  634. properties:
  635. name:
  636. example: 名称
  637. type: string
  638. value:
  639. example: 值
  640. type: string
  641. type: object
  642. md.SettleCenterDataData:
  643. properties:
  644. all_income:
  645. example: 合计收益
  646. type: string
  647. business_kind:
  648. example: 业务类型(1:广告合作)
  649. type: string
  650. id:
  651. type: string
  652. label:
  653. type: string
  654. medium_income:
  655. example: 媒体结算
  656. type: string
  657. other_income:
  658. example: 其他调整
  659. type: string
  660. pay_state:
  661. example: 结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)
  662. type: string
  663. settle_file:
  664. example: 结算单
  665. type: string
  666. settle_type:
  667. example: 结算单类型(1:日结 2:周结 3:月结 4:预付)
  668. type: string
  669. state:
  670. example: 结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)
  671. type: string
  672. time_str:
  673. example: 业务时间
  674. type: string
  675. type: object
  676. md.SettleCenterDataDetail:
  677. properties:
  678. all_income:
  679. example: 合计收益
  680. type: string
  681. business_kind:
  682. example: 业务类型(1:广告合作)
  683. type: string
  684. invoice:
  685. $ref: '#/definitions/md.Invoice'
  686. medium_income:
  687. example: 媒体结算
  688. type: string
  689. other_income:
  690. example: 其他调整
  691. type: string
  692. pay_state:
  693. example: 结算单支付状态(0:未开始 1:待审核发票 2:发票审核中 3:发票审核拒绝 4:付款中 5:已付款)
  694. type: string
  695. settle_file:
  696. example: 结算单
  697. type: string
  698. state:
  699. example: 结算单状态(0:未开始 1:核算中 2:待签订 3:完成签订)
  700. type: string
  701. time_str:
  702. example: 业务时间
  703. type: string
  704. type: object
  705. md.SettleCenterDataDetailRes:
  706. properties:
  707. business_kind:
  708. items:
  709. $ref: '#/definitions/md.SelectData'
  710. type: array
  711. data:
  712. $ref: '#/definitions/md.SettleCenterDataDetail'
  713. invoice_cate:
  714. items:
  715. $ref: '#/definitions/md.SelectData'
  716. type: array
  717. invoice_state:
  718. items:
  719. $ref: '#/definitions/md.SelectData'
  720. type: array
  721. settle_pay_state:
  722. items:
  723. $ref: '#/definitions/md.SelectData'
  724. type: array
  725. settle_state:
  726. items:
  727. $ref: '#/definitions/md.SelectData'
  728. type: array
  729. settle_type:
  730. items:
  731. $ref: '#/definitions/md.SelectData'
  732. type: array
  733. type: object
  734. md.SettleCenterDataReq:
  735. properties:
  736. end_time:
  737. type: string
  738. limit:
  739. type: string
  740. page:
  741. type: string
  742. start_time:
  743. example: "2024-08-29"
  744. type: string
  745. type: object
  746. md.SettleCenterDataRes:
  747. properties:
  748. business_kind:
  749. items:
  750. $ref: '#/definitions/md.SelectData'
  751. type: array
  752. list:
  753. items:
  754. $ref: '#/definitions/md.SettleCenterDataData'
  755. type: array
  756. settle_pay_state:
  757. items:
  758. $ref: '#/definitions/md.SelectData'
  759. type: array
  760. settle_state:
  761. items:
  762. $ref: '#/definitions/md.SelectData'
  763. type: array
  764. settle_type:
  765. items:
  766. $ref: '#/definitions/md.SelectData'
  767. type: array
  768. total:
  769. type: integer
  770. type: object
  771. md.SettleFileReq:
  772. properties:
  773. file:
  774. example: 七牛云链接 带http
  775. type: string
  776. id:
  777. example: 列表id
  778. type: string
  779. type: object
  780. md.SmsReq:
  781. properties:
  782. phone:
  783. type: string
  784. type:
  785. example: 手机号登陆:fast_login 注册:register 修改密码(不用传手机号):update_password
  786. type: string
  787. type: object
  788. md.UpdateAdminReq:
  789. properties:
  790. id:
  791. type: integer
  792. memo:
  793. type: string
  794. password:
  795. type: string
  796. username:
  797. type: string
  798. required:
  799. - id
  800. - password
  801. - username
  802. type: object
  803. md.UpdateAdminStateReq:
  804. properties:
  805. id:
  806. type: integer
  807. state:
  808. type: integer
  809. required:
  810. - id
  811. - state
  812. type: object
  813. md.UpdateRoleReq:
  814. properties:
  815. memo:
  816. type: string
  817. name:
  818. type: string
  819. role_id:
  820. type: integer
  821. required:
  822. - memo
  823. - name
  824. - role_id
  825. type: object
  826. md.UpdateRoleStateReq:
  827. properties:
  828. role_id:
  829. type: integer
  830. state:
  831. type: integer
  832. required:
  833. - role_id
  834. - state
  835. type: object
  836. host: localhost:1004 or xxxxx.medium.dengbiao.top
  837. info:
  838. contact:
  839. email: 1239118001@qq.com
  840. name: dengbiao
  841. url: http://www.swagger.io/support
  842. description: 媒体后台接口
  843. license:
  844. name: Apache 2.0
  845. url: http://www.apache.org/licenses/LICENSE-2.0.html
  846. termsOfService: http://swagger.io/terms/
  847. title: 广告联盟-媒体平台
  848. version: "1.0"
  849. paths:
  850. /api/account/base:
  851. get:
  852. consumes:
  853. - application/json
  854. description: 账号信息
  855. parameters:
  856. - description: 验证参数Bearer和token空格拼接
  857. in: header
  858. name: Authorization
  859. required: true
  860. type: string
  861. produces:
  862. - application/json
  863. responses:
  864. "200":
  865. description: 具体看返回内容
  866. schema:
  867. $ref: '#/definitions/md.AccountBase'
  868. "400":
  869. description: 具体错误
  870. schema:
  871. $ref: '#/definitions/md.Response'
  872. summary: 账号信息
  873. tags:
  874. - 账号中心------嘉俊
  875. /api/account/qualification/bank/save:
  876. post:
  877. consumes:
  878. - application/json
  879. description: 资质认证-银行资质保存
  880. parameters:
  881. - description: 验证参数Bearer和token空格拼接
  882. in: header
  883. name: Authorization
  884. required: true
  885. type: string
  886. - description: 请求参数
  887. in: body
  888. name: args
  889. required: true
  890. schema:
  891. $ref: '#/definitions/md.MediumBankInfo'
  892. produces:
  893. - application/json
  894. responses:
  895. "200":
  896. description: 具体看返回内容
  897. schema:
  898. type: string
  899. "400":
  900. description: 具体错误
  901. schema:
  902. $ref: '#/definitions/md.Response'
  903. summary: 银行资质保存
  904. tags:
  905. - 账号中心------嘉俊
  906. /api/account/qualification/contact/save:
  907. post:
  908. consumes:
  909. - application/json
  910. description: 资质认证-联系方式保存
  911. parameters:
  912. - description: 验证参数Bearer和token空格拼接
  913. in: header
  914. name: Authorization
  915. required: true
  916. type: string
  917. - description: 请求参数
  918. in: body
  919. name: args
  920. required: true
  921. schema:
  922. $ref: '#/definitions/md.MediumContactInfo'
  923. produces:
  924. - application/json
  925. responses:
  926. "200":
  927. description: 具体看返回内容
  928. schema:
  929. type: string
  930. "400":
  931. description: 具体错误
  932. schema:
  933. $ref: '#/definitions/md.Response'
  934. summary: 联系方式保存
  935. tags:
  936. - 账号中心------嘉俊
  937. /api/account/qualification/enterprise/save:
  938. post:
  939. consumes:
  940. - application/json
  941. description: 资质认证-企业认证保存
  942. parameters:
  943. - description: 验证参数Bearer和token空格拼接
  944. in: header
  945. name: Authorization
  946. required: true
  947. type: string
  948. - description: 请求参数
  949. in: body
  950. name: args
  951. required: true
  952. schema:
  953. $ref: '#/definitions/md.MediumList'
  954. produces:
  955. - application/json
  956. responses:
  957. "200":
  958. description: 具体看返回内容
  959. schema:
  960. type: string
  961. "400":
  962. description: 具体错误
  963. schema:
  964. $ref: '#/definitions/md.Response'
  965. summary: 企业认证保存
  966. tags:
  967. - 账号中心------嘉俊
  968. /api/account/qualification/info:
  969. get:
  970. consumes:
  971. - application/json
  972. description: 资质认证-基本信息
  973. parameters:
  974. - description: 验证参数Bearer和token空格拼接
  975. in: header
  976. name: Authorization
  977. required: true
  978. type: string
  979. produces:
  980. - application/json
  981. responses:
  982. "200":
  983. description: 具体看返回内容
  984. schema:
  985. type: string
  986. "400":
  987. description: 具体错误
  988. schema:
  989. $ref: '#/definitions/md.Response'
  990. summary: 基本信息
  991. tags:
  992. - 账号中心------嘉俊
  993. /api/account/qualification/select/base:
  994. get:
  995. consumes:
  996. - application/json
  997. description: 资质认证-认证下拉框选择内容
  998. parameters:
  999. - description: 验证参数Bearer和token空格拼接
  1000. in: header
  1001. name: Authorization
  1002. required: true
  1003. type: string
  1004. produces:
  1005. - application/json
  1006. responses:
  1007. "200":
  1008. description: 具体看返回内容
  1009. schema:
  1010. type: string
  1011. "400":
  1012. description: 具体错误
  1013. schema:
  1014. $ref: '#/definitions/md.Response'
  1015. summary: 认证下拉框选择内容
  1016. tags:
  1017. - 账号中心------嘉俊
  1018. /api/account/update/password:
  1019. post:
  1020. consumes:
  1021. - application/json
  1022. description: 资质认证-修改密码保存
  1023. parameters:
  1024. - description: 验证参数Bearer和token空格拼接
  1025. in: header
  1026. name: Authorization
  1027. required: true
  1028. type: string
  1029. - description: 请求参数
  1030. in: body
  1031. name: args
  1032. required: true
  1033. schema:
  1034. $ref: '#/definitions/md.AccountUpdatePasswordReq'
  1035. produces:
  1036. - application/json
  1037. responses:
  1038. "200":
  1039. description: 具体看返回内容
  1040. schema:
  1041. type: string
  1042. "400":
  1043. description: 具体错误
  1044. schema:
  1045. $ref: '#/definitions/md.Response'
  1046. summary: 修改密码保存
  1047. tags:
  1048. - 账号中心------嘉俊
  1049. /api/application/applet/ad/space/list:
  1050. post:
  1051. consumes:
  1052. - application/json
  1053. description: 小程序应用-广告位列表
  1054. parameters:
  1055. - description: 验证参数Bearer和token空格拼接
  1056. in: header
  1057. name: Authorization
  1058. required: true
  1059. type: string
  1060. - description: 请求参数
  1061. in: body
  1062. name: args
  1063. required: true
  1064. schema:
  1065. $ref: '#/definitions/md.AppletApplicationAdSpaceListReq'
  1066. produces:
  1067. - application/json
  1068. responses:
  1069. "200":
  1070. description: 具体看返回内容---这是data里面的数据
  1071. schema:
  1072. $ref: '#/definitions/md.AppletApplicationAdSpaceListRes'
  1073. "400":
  1074. description: 具体错误
  1075. schema:
  1076. $ref: '#/definitions/md.Response'
  1077. summary: 广告位列表
  1078. tags:
  1079. - 小程序应用------嘉俊
  1080. /api/application/applet/ad/space/save:
  1081. post:
  1082. consumes:
  1083. - application/json
  1084. description: 小程序应用-广告位新增
  1085. parameters:
  1086. - description: 验证参数Bearer和token空格拼接
  1087. in: header
  1088. name: Authorization
  1089. required: true
  1090. type: string
  1091. - description: 请求参数
  1092. in: body
  1093. name: args
  1094. required: true
  1095. schema:
  1096. $ref: '#/definitions/md.AppletApplicationAdSpaceSaveReq'
  1097. produces:
  1098. - application/json
  1099. responses:
  1100. "200":
  1101. description: 具体看返回内容
  1102. schema:
  1103. type: string
  1104. "400":
  1105. description: 具体错误
  1106. schema:
  1107. $ref: '#/definitions/md.Response'
  1108. summary: 广告位新增
  1109. tags:
  1110. - 小程序应用------嘉俊
  1111. /api/application/applet/list:
  1112. post:
  1113. consumes:
  1114. - application/json
  1115. description: 小程序应用-列表数据
  1116. parameters:
  1117. - description: 验证参数Bearer和token空格拼接
  1118. in: header
  1119. name: Authorization
  1120. required: true
  1121. type: string
  1122. - description: 请求参数
  1123. in: body
  1124. name: args
  1125. required: true
  1126. schema:
  1127. $ref: '#/definitions/md.AppletApplicationListReq'
  1128. produces:
  1129. - application/json
  1130. responses:
  1131. "200":
  1132. description: 具体看返回内容---这是data里面的数据
  1133. schema:
  1134. $ref: '#/definitions/md.AppletApplicationListRes'
  1135. "400":
  1136. description: 具体错误
  1137. schema:
  1138. $ref: '#/definitions/md.Response'
  1139. summary: 列表数据
  1140. tags:
  1141. - 小程序应用------嘉俊
  1142. /api/application/applet/save:
  1143. post:
  1144. consumes:
  1145. - application/json
  1146. description: 小程序应用-新增或保存
  1147. parameters:
  1148. - description: 验证参数Bearer和token空格拼接
  1149. in: header
  1150. name: Authorization
  1151. required: true
  1152. type: string
  1153. - description: 请求参数
  1154. in: body
  1155. name: args
  1156. required: true
  1157. schema:
  1158. $ref: '#/definitions/md.AppletApplicationSaveReq'
  1159. produces:
  1160. - application/json
  1161. responses:
  1162. "200":
  1163. description: 具体看返回内容
  1164. schema:
  1165. type: string
  1166. "400":
  1167. description: 具体错误
  1168. schema:
  1169. $ref: '#/definitions/md.Response'
  1170. summary: 新增或保存
  1171. tags:
  1172. - 小程序应用------嘉俊
  1173. /api/dataCenter/record/list:
  1174. post:
  1175. consumes:
  1176. - application/json
  1177. description: 数据中心-数据明细
  1178. parameters:
  1179. - description: 验证参数Bearer和token空格拼接
  1180. in: header
  1181. name: Authorization
  1182. required: true
  1183. type: string
  1184. - description: 请求参数
  1185. in: body
  1186. name: args
  1187. required: true
  1188. schema:
  1189. $ref: '#/definitions/md.DataCenterRecordReq'
  1190. produces:
  1191. - application/json
  1192. responses:
  1193. "200":
  1194. description: 具体看返回内容 这是data里面的数据
  1195. schema:
  1196. $ref: '#/definitions/md.DataCenterRecordRes'
  1197. "400":
  1198. description: 具体错误
  1199. schema:
  1200. $ref: '#/definitions/md.Response'
  1201. summary: 数据明细
  1202. tags:
  1203. - 数据中心------嘉俊
  1204. /api/dataCenter/record/total:
  1205. post:
  1206. consumes:
  1207. - application/json
  1208. description: 数据中心-数据明细合计
  1209. parameters:
  1210. - description: 验证参数Bearer和token空格拼接
  1211. in: header
  1212. name: Authorization
  1213. required: true
  1214. type: string
  1215. - description: 请求参数
  1216. in: body
  1217. name: args
  1218. required: true
  1219. schema:
  1220. $ref: '#/definitions/md.DataCenterTableReq'
  1221. produces:
  1222. - application/json
  1223. responses:
  1224. "200":
  1225. description: 具体看返回内容 这是data里面的数据
  1226. schema:
  1227. $ref: '#/definitions/md.DataCenterTotalData'
  1228. "400":
  1229. description: 具体错误
  1230. schema:
  1231. $ref: '#/definitions/md.Response'
  1232. summary: 数据明细合计
  1233. tags:
  1234. - 数据中心------嘉俊
  1235. /api/dataCenter/select/data:
  1236. get:
  1237. consumes:
  1238. - application/json
  1239. description: 数据中心-筛选条件
  1240. parameters:
  1241. - description: 验证参数Bearer和token空格拼接
  1242. in: header
  1243. name: Authorization
  1244. required: true
  1245. type: string
  1246. produces:
  1247. - application/json
  1248. responses:
  1249. "200":
  1250. description: 具体看返回内容 这是data里面的数据
  1251. schema:
  1252. type: string
  1253. "400":
  1254. description: 具体错误
  1255. schema:
  1256. $ref: '#/definitions/md.Response'
  1257. summary: 筛选条件
  1258. tags:
  1259. - 数据中心------嘉俊
  1260. /api/dataCenter/table:
  1261. post:
  1262. consumes:
  1263. - application/json
  1264. description: 数据中心-数据图表
  1265. parameters:
  1266. - description: 验证参数Bearer和token空格拼接
  1267. in: header
  1268. name: Authorization
  1269. required: true
  1270. type: string
  1271. - description: 请求参数
  1272. in: body
  1273. name: args
  1274. required: true
  1275. schema:
  1276. $ref: '#/definitions/md.DataCenterTableReq'
  1277. produces:
  1278. - application/json
  1279. responses:
  1280. "200":
  1281. description: 具体看返回内容 这是data里面的数据
  1282. schema:
  1283. $ref: '#/definitions/md.DataCenterTableRes'
  1284. "400":
  1285. description: 具体错误
  1286. schema:
  1287. $ref: '#/definitions/md.Response'
  1288. summary: 数据图表
  1289. tags:
  1290. - 数据中心------嘉俊
  1291. /api/invoiceCenter/detail:
  1292. post:
  1293. consumes:
  1294. - application/json
  1295. description: 发票中心-发票详情
  1296. parameters:
  1297. - description: 验证参数Bearer和token空格拼接
  1298. in: header
  1299. name: Authorization
  1300. required: true
  1301. type: string
  1302. - description: 请求参数
  1303. in: body
  1304. name: args
  1305. required: true
  1306. schema:
  1307. $ref: '#/definitions/md.CommDetailReq'
  1308. produces:
  1309. - application/json
  1310. responses:
  1311. "200":
  1312. description: 具体看返回内容 这是data里面的数据
  1313. schema:
  1314. $ref: '#/definitions/md.InvoiceCenterDataDetailRes'
  1315. "400":
  1316. description: 具体错误
  1317. schema:
  1318. $ref: '#/definitions/md.Response'
  1319. summary: 发票详情
  1320. tags:
  1321. - 发票中心------嘉俊
  1322. /api/invoiceCenter/list:
  1323. post:
  1324. consumes:
  1325. - application/json
  1326. description: 发票中心-发票列表
  1327. parameters:
  1328. - description: 验证参数Bearer和token空格拼接
  1329. in: header
  1330. name: Authorization
  1331. required: true
  1332. type: string
  1333. - description: 请求参数
  1334. in: body
  1335. name: args
  1336. required: true
  1337. schema:
  1338. $ref: '#/definitions/md.InvoiceCenterDataReq'
  1339. produces:
  1340. - application/json
  1341. responses:
  1342. "200":
  1343. description: 具体看返回内容 这是data里面的数据
  1344. schema:
  1345. $ref: '#/definitions/md.InvoiceCenterDataRes'
  1346. "400":
  1347. description: 具体错误
  1348. schema:
  1349. $ref: '#/definitions/md.Response'
  1350. summary: 发票列表
  1351. tags:
  1352. - 发票中心------嘉俊
  1353. /api/login:
  1354. post:
  1355. consumes:
  1356. - application/json
  1357. description: 登入
  1358. parameters:
  1359. - description: 用户名、密码
  1360. in: body
  1361. name: req
  1362. required: true
  1363. schema:
  1364. $ref: '#/definitions/md.LoginReq'
  1365. produces:
  1366. - application/json
  1367. responses:
  1368. "200":
  1369. description: token
  1370. schema:
  1371. $ref: '#/definitions/md.LoginResponse'
  1372. "400":
  1373. description: 具体错误
  1374. schema:
  1375. $ref: '#/definitions/md.Response'
  1376. summary: 登陆
  1377. tags:
  1378. - ADMIN
  1379. /api/login/phone:
  1380. post:
  1381. consumes:
  1382. - application/json
  1383. description: 手机号登入
  1384. parameters:
  1385. - description: 用户名、验证码
  1386. in: body
  1387. name: req
  1388. required: true
  1389. schema:
  1390. $ref: '#/definitions/md.LoginPhoneReq'
  1391. produces:
  1392. - application/json
  1393. responses:
  1394. "200":
  1395. description: token
  1396. schema:
  1397. $ref: '#/definitions/md.LoginResponse'
  1398. "400":
  1399. description: 具体错误
  1400. schema:
  1401. $ref: '#/definitions/md.Response'
  1402. summary: 手机号登陆
  1403. tags:
  1404. - ADMIN
  1405. /api/qiniuyun/upload:
  1406. post:
  1407. consumes:
  1408. - application/json
  1409. description: 七牛云-七牛云上传
  1410. parameters:
  1411. - description: 验证参数Bearer和token空格拼接
  1412. in: header
  1413. name: Authorization
  1414. type: string
  1415. - description: 请求参数
  1416. in: body
  1417. name: args
  1418. required: true
  1419. schema:
  1420. $ref: '#/definitions/md.ImgReqUpload'
  1421. produces:
  1422. - application/json
  1423. responses:
  1424. "200":
  1425. description: success
  1426. schema:
  1427. type: string
  1428. "400":
  1429. description: 具体错误
  1430. schema:
  1431. $ref: '#/definitions/md.Response'
  1432. summary: 七牛云上传
  1433. tags:
  1434. - 七牛云
  1435. /api/register:
  1436. post:
  1437. consumes:
  1438. - application/json
  1439. description: 手机号注册
  1440. parameters:
  1441. - description: 用户名、验证码
  1442. in: body
  1443. name: req
  1444. required: true
  1445. schema:
  1446. $ref: '#/definitions/md.LoginReq'
  1447. produces:
  1448. - application/json
  1449. responses:
  1450. "200":
  1451. description: token
  1452. schema:
  1453. $ref: '#/definitions/md.LoginResponse'
  1454. "400":
  1455. description: 具体错误
  1456. schema:
  1457. $ref: '#/definitions/md.Response'
  1458. summary: 手机号注册
  1459. tags:
  1460. - ADMIN
  1461. /api/role/addAdmin:
  1462. post:
  1463. consumes:
  1464. - application/json
  1465. description: 新增管理员
  1466. parameters:
  1467. - description: 验证参数Bearer和token空格拼接
  1468. in: header
  1469. name: Authorization
  1470. required: true
  1471. type: string
  1472. - description: 请求参数
  1473. in: body
  1474. name: args
  1475. required: true
  1476. schema:
  1477. $ref: '#/definitions/md.AddAdminReq'
  1478. produces:
  1479. - application/json
  1480. responses:
  1481. "200":
  1482. description: success
  1483. schema:
  1484. type: string
  1485. "400":
  1486. description: 具体错误
  1487. schema:
  1488. $ref: '#/definitions/md.Response'
  1489. summary: 新增管理员
  1490. tags:
  1491. - ADMIN-权限管理
  1492. /api/role/addRole:
  1493. post:
  1494. consumes:
  1495. - application/json
  1496. description: 添加角色
  1497. parameters:
  1498. - description: 验证参数Bearer和token空格拼接
  1499. in: header
  1500. name: Authorization
  1501. required: true
  1502. type: string
  1503. - description: 请求参数
  1504. in: body
  1505. name: args
  1506. required: true
  1507. schema:
  1508. $ref: '#/definitions/md.AddRoleReq'
  1509. produces:
  1510. - application/json
  1511. responses:
  1512. "200":
  1513. description: success
  1514. schema:
  1515. type: string
  1516. "400":
  1517. description: 具体错误
  1518. schema:
  1519. $ref: '#/definitions/md.Response'
  1520. summary: 添加角色
  1521. tags:
  1522. - ADMIN-权限管理
  1523. /api/role/adminInfo:
  1524. get:
  1525. consumes:
  1526. - application/json
  1527. description: 管理员信息
  1528. parameters:
  1529. - description: 验证参数Bearer和token空格拼接
  1530. in: header
  1531. name: Authorization
  1532. required: true
  1533. type: string
  1534. - description: 管理员id
  1535. in: query
  1536. name: adm_id
  1537. required: true
  1538. type: string
  1539. produces:
  1540. - application/json
  1541. responses:
  1542. "200":
  1543. description: 具体看返回内容
  1544. schema:
  1545. type: string
  1546. "400":
  1547. description: 具体错误
  1548. schema:
  1549. $ref: '#/definitions/md.Response'
  1550. summary: 管理员信息
  1551. tags:
  1552. - ADMIN-权限管理
  1553. /api/role/adminList:
  1554. post:
  1555. consumes:
  1556. - application/json
  1557. description: 管理员列表
  1558. parameters:
  1559. - description: 验证参数Bearer和token空格拼接
  1560. in: header
  1561. name: Authorization
  1562. required: true
  1563. type: string
  1564. - description: 请求参数
  1565. in: body
  1566. name: args
  1567. required: true
  1568. schema:
  1569. $ref: '#/definitions/md.AdminListReq'
  1570. produces:
  1571. - application/json
  1572. responses:
  1573. "200":
  1574. description: 具体看返回内容
  1575. schema:
  1576. type: string
  1577. "400":
  1578. description: 具体错误
  1579. schema:
  1580. $ref: '#/definitions/md.Response'
  1581. summary: 管理员列表
  1582. tags:
  1583. - ADMIN-权限管理
  1584. /api/role/bindAdminRole/:
  1585. post:
  1586. consumes:
  1587. - application/json
  1588. description: 管理员绑定角色
  1589. parameters:
  1590. - description: 验证参数Bearer和token空格拼接
  1591. in: header
  1592. name: Authorization
  1593. required: true
  1594. type: string
  1595. - description: 请求参数
  1596. in: body
  1597. name: args
  1598. required: true
  1599. schema:
  1600. $ref: '#/definitions/md.BindAdminRoleReq'
  1601. produces:
  1602. - application/json
  1603. responses:
  1604. "200":
  1605. description: success
  1606. schema:
  1607. type: string
  1608. "400":
  1609. description: 具体错误
  1610. schema:
  1611. $ref: '#/definitions/md.Response'
  1612. summary: 管理员绑定角色
  1613. tags:
  1614. - ADMIN-权限管理
  1615. /api/role/deleteAdmin/{$adm_id}:
  1616. delete:
  1617. consumes:
  1618. - application/json
  1619. description: 删除管理员
  1620. parameters:
  1621. - description: 验证参数Bearer和token空格拼接
  1622. in: header
  1623. name: Authorization
  1624. required: true
  1625. type: string
  1626. produces:
  1627. - application/json
  1628. responses:
  1629. "200":
  1630. description: success
  1631. schema:
  1632. type: string
  1633. "400":
  1634. description: 具体错误
  1635. schema:
  1636. $ref: '#/definitions/md.Response'
  1637. summary: 删除管理员
  1638. tags:
  1639. - ADMIN-权限管理
  1640. /api/role/deleteRole/{$id}:
  1641. delete:
  1642. consumes:
  1643. - application/json
  1644. description: 删除角色
  1645. parameters:
  1646. - description: 验证参数Bearer和token空格拼接
  1647. in: header
  1648. name: Authorization
  1649. required: true
  1650. type: string
  1651. - description: 请求参数
  1652. in: body
  1653. name: args
  1654. required: true
  1655. schema:
  1656. $ref: '#/definitions/md.UpdateRoleStateReq'
  1657. produces:
  1658. - application/json
  1659. responses:
  1660. "200":
  1661. description: success
  1662. schema:
  1663. type: string
  1664. "400":
  1665. description: 具体错误
  1666. schema:
  1667. $ref: '#/definitions/md.Response'
  1668. summary: 删除角色
  1669. tags:
  1670. - ADMIN-权限管理
  1671. /api/role/permissionGroupList:
  1672. get:
  1673. consumes:
  1674. - application/json
  1675. description: 权限组列表
  1676. parameters:
  1677. - description: 验证参数Bearer和token空格拼接
  1678. in: header
  1679. name: Authorization
  1680. required: true
  1681. type: string
  1682. - description: 管理员id
  1683. in: query
  1684. name: adm_id
  1685. required: true
  1686. type: string
  1687. produces:
  1688. - application/json
  1689. responses:
  1690. "200":
  1691. description: 具体看返回内容
  1692. schema:
  1693. type: string
  1694. "400":
  1695. description: 具体错误
  1696. schema:
  1697. $ref: '#/definitions/md.Response'
  1698. summary: 权限组列表
  1699. tags:
  1700. - ADMIN-权限管理
  1701. /api/role/roleBindPermissionGroup:
  1702. post:
  1703. consumes:
  1704. - application/json
  1705. description: 角色绑定权限组
  1706. parameters:
  1707. - description: 验证参数Bearer和token空格拼接
  1708. in: header
  1709. name: Authorization
  1710. required: true
  1711. type: string
  1712. - description: 请求参数
  1713. in: body
  1714. name: args
  1715. required: true
  1716. schema:
  1717. $ref: '#/definitions/md.RoleBindPermissionGroupReq'
  1718. produces:
  1719. - application/json
  1720. responses:
  1721. "200":
  1722. description: success
  1723. schema:
  1724. type: string
  1725. "400":
  1726. description: 具体错误
  1727. schema:
  1728. $ref: '#/definitions/md.Response'
  1729. summary: 角色绑定权限组
  1730. tags:
  1731. - ADMIN-权限管理
  1732. /api/role/roleList:
  1733. get:
  1734. consumes:
  1735. - application/json
  1736. description: 角色列表
  1737. parameters:
  1738. - description: 验证参数Bearer和token空格拼接
  1739. in: header
  1740. name: Authorization
  1741. required: true
  1742. type: string
  1743. produces:
  1744. - application/json
  1745. responses:
  1746. "200":
  1747. description: 具体看返回内容
  1748. schema:
  1749. type: string
  1750. "400":
  1751. description: 具体错误
  1752. schema:
  1753. $ref: '#/definitions/md.Response'
  1754. summary: 角色列表
  1755. tags:
  1756. - ADMIN-权限管理
  1757. /api/role/updateAdmin:
  1758. post:
  1759. consumes:
  1760. - application/json
  1761. description: 修改管理员信息
  1762. parameters:
  1763. - description: 验证参数Bearer和token空格拼接
  1764. in: header
  1765. name: Authorization
  1766. required: true
  1767. type: string
  1768. - description: 请求参数
  1769. in: body
  1770. name: args
  1771. required: true
  1772. schema:
  1773. $ref: '#/definitions/md.UpdateAdminReq'
  1774. produces:
  1775. - application/json
  1776. responses:
  1777. "200":
  1778. description: success
  1779. schema:
  1780. type: string
  1781. "400":
  1782. description: 具体错误
  1783. schema:
  1784. $ref: '#/definitions/md.Response'
  1785. summary: 修改管理员信息
  1786. tags:
  1787. - ADMIN-权限管理
  1788. /api/role/updateAdminState:
  1789. post:
  1790. consumes:
  1791. - application/json
  1792. description: 修改管理员状态
  1793. parameters:
  1794. - description: 验证参数Bearer和token空格拼接
  1795. in: header
  1796. name: Authorization
  1797. required: true
  1798. type: string
  1799. - description: 请求参数
  1800. in: body
  1801. name: args
  1802. required: true
  1803. schema:
  1804. $ref: '#/definitions/md.UpdateAdminStateReq'
  1805. produces:
  1806. - application/json
  1807. responses:
  1808. "200":
  1809. description: success
  1810. schema:
  1811. type: string
  1812. "400":
  1813. description: 具体错误
  1814. schema:
  1815. $ref: '#/definitions/md.Response'
  1816. summary: 修改管理员状态
  1817. tags:
  1818. - ADMIN-权限管理
  1819. /api/role/updateRole:
  1820. post:
  1821. consumes:
  1822. - application/json
  1823. description: 修改角色
  1824. parameters:
  1825. - description: 验证参数Bearer和token空格拼接
  1826. in: header
  1827. name: Authorization
  1828. required: true
  1829. type: string
  1830. - description: 请求参数
  1831. in: body
  1832. name: args
  1833. required: true
  1834. schema:
  1835. $ref: '#/definitions/md.UpdateRoleReq'
  1836. produces:
  1837. - application/json
  1838. responses:
  1839. "200":
  1840. description: success
  1841. schema:
  1842. type: string
  1843. "400":
  1844. description: 具体错误
  1845. schema:
  1846. $ref: '#/definitions/md.Response'
  1847. summary: 修改角色
  1848. tags:
  1849. - ADMIN-权限管理
  1850. /api/role/updateRoleState:
  1851. post:
  1852. consumes:
  1853. - application/json
  1854. description: 修改角色状态
  1855. parameters:
  1856. - description: 验证参数Bearer和token空格拼接
  1857. in: header
  1858. name: Authorization
  1859. required: true
  1860. type: string
  1861. - description: 请求参数
  1862. in: body
  1863. name: args
  1864. required: true
  1865. schema:
  1866. $ref: '#/definitions/md.UpdateRoleStateReq'
  1867. produces:
  1868. - application/json
  1869. responses:
  1870. "200":
  1871. description: success
  1872. schema:
  1873. type: string
  1874. "400":
  1875. description: 具体错误
  1876. schema:
  1877. $ref: '#/definitions/md.Response'
  1878. summary: 修改角色状态
  1879. tags:
  1880. - ADMIN-权限管理
  1881. /api/settleCenter/detail:
  1882. post:
  1883. consumes:
  1884. - application/json
  1885. description: 结算中心-结算报表-详情
  1886. parameters:
  1887. - description: 验证参数Bearer和token空格拼接
  1888. in: header
  1889. name: Authorization
  1890. required: true
  1891. type: string
  1892. - description: 请求参数
  1893. in: body
  1894. name: args
  1895. required: true
  1896. schema:
  1897. $ref: '#/definitions/md.CommDetailReq'
  1898. produces:
  1899. - application/json
  1900. responses:
  1901. "200":
  1902. description: 具体看返回内容 这是data里面的数据
  1903. schema:
  1904. $ref: '#/definitions/md.SettleCenterDataDetailRes'
  1905. "400":
  1906. description: 具体错误
  1907. schema:
  1908. $ref: '#/definitions/md.Response'
  1909. summary: 结算报表-详情
  1910. tags:
  1911. - 结算中心------嘉俊
  1912. /api/settleCenter/invoice/save:
  1913. post:
  1914. consumes:
  1915. - application/json
  1916. description: 财务中心-媒体详情-发票上传
  1917. parameters:
  1918. - description: 验证参数Bearer和token空格拼接
  1919. in: header
  1920. name: Authorization
  1921. required: true
  1922. type: string
  1923. - description: 请求参数
  1924. in: body
  1925. name: args
  1926. required: true
  1927. schema:
  1928. $ref: '#/definitions/md.InvoiceReq'
  1929. produces:
  1930. - application/json
  1931. responses:
  1932. "200":
  1933. description: 具体看返回内容 这是data里面的数据
  1934. schema:
  1935. type: string
  1936. "400":
  1937. description: 具体错误
  1938. schema:
  1939. $ref: '#/definitions/md.Response'
  1940. summary: 媒体详情-发票上传
  1941. tags:
  1942. - 财务中心------嘉俊
  1943. /api/settleCenter/list:
  1944. post:
  1945. consumes:
  1946. - application/json
  1947. description: 结算中心-结算报表
  1948. parameters:
  1949. - description: 验证参数Bearer和token空格拼接
  1950. in: header
  1951. name: Authorization
  1952. required: true
  1953. type: string
  1954. - description: 请求参数
  1955. in: body
  1956. name: args
  1957. required: true
  1958. schema:
  1959. $ref: '#/definitions/md.SettleCenterDataReq'
  1960. produces:
  1961. - application/json
  1962. responses:
  1963. "200":
  1964. description: 具体看返回内容 这是data里面的数据
  1965. schema:
  1966. $ref: '#/definitions/md.SettleCenterDataRes'
  1967. "400":
  1968. description: 具体错误
  1969. schema:
  1970. $ref: '#/definitions/md.Response'
  1971. summary: 结算报表
  1972. tags:
  1973. - 结算中心------嘉俊
  1974. /api/settleCenter/settle/file/save:
  1975. post:
  1976. consumes:
  1977. - application/json
  1978. description: 财务中心-媒体详情-结算单保存
  1979. parameters:
  1980. - description: 验证参数Bearer和token空格拼接
  1981. in: header
  1982. name: Authorization
  1983. required: true
  1984. type: string
  1985. - description: 请求参数
  1986. in: body
  1987. name: args
  1988. required: true
  1989. schema:
  1990. $ref: '#/definitions/md.SettleFileReq'
  1991. produces:
  1992. - application/json
  1993. responses:
  1994. "200":
  1995. description: 具体看返回内容 这是data里面的数据
  1996. schema:
  1997. type: string
  1998. "400":
  1999. description: 具体错误
  2000. schema:
  2001. $ref: '#/definitions/md.Response'
  2002. summary: 媒体详情-结算单保存
  2003. tags:
  2004. - 财务中心------嘉俊
  2005. /api/sms:
  2006. post:
  2007. consumes:
  2008. - application/json
  2009. description: 短信-短信发送
  2010. parameters:
  2011. - description: 验证参数Bearer和token空格拼接
  2012. in: header
  2013. name: Authorization
  2014. type: string
  2015. - description: 请求参数
  2016. in: body
  2017. name: args
  2018. required: true
  2019. schema:
  2020. $ref: '#/definitions/md.SmsReq'
  2021. produces:
  2022. - application/json
  2023. responses:
  2024. "200":
  2025. description: success
  2026. schema:
  2027. type: string
  2028. "400":
  2029. description: 具体错误
  2030. schema:
  2031. $ref: '#/definitions/md.Response'
  2032. summary: 短信发送
  2033. tags:
  2034. - 短信
  2035. securityDefinitions:
  2036. MasterID:
  2037. in: header
  2038. name: MasterID
  2039. type: apiKey
  2040. swagger: "2.0"