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

swagger.json 67 KiB

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