广告平台(总站长使用)
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 3 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 3 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 3 Monaten
vor 4 Monaten
vor 3 Monaten
vor 4 Monaten
vor 3 Monaten
vor 4 Monaten
vor 3 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 3 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
vor 4 Monaten
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616
  1. // Code generated by swaggo/swag. DO NOT EDIT.
  2. package docs
  3. import "github.com/swaggo/swag"
  4. const docTemplate = `{
  5. "schemes": {{ marshal .Schemes }},
  6. "swagger": "2.0",
  7. "info": {
  8. "description": "{{escape .Description}}",
  9. "title": "{{.Title}}",
  10. "termsOfService": "http://swagger.io/terms/",
  11. "contact": {
  12. "name": "dengbiao",
  13. "url": "http://www.swagger.io/support",
  14. "email": "1239118001@qq.com"
  15. },
  16. "license": {
  17. "name": "Apache 2.0",
  18. "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
  19. },
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {
  25. "/api/dataCenter/generate/data/detail": {
  26. "post": {
  27. "description": "数据中心-分成数据-详情",
  28. "consumes": [
  29. "application/json"
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "数据中心"
  36. ],
  37. "summary": "分成数据-详情",
  38. "parameters": [
  39. {
  40. "type": "string",
  41. "description": "验证参数Bearer和token空格拼接",
  42. "name": "Authorization",
  43. "in": "header",
  44. "required": true
  45. },
  46. {
  47. "description": "请求参数",
  48. "name": "args",
  49. "in": "body",
  50. "required": true,
  51. "schema": {
  52. "$ref": "#/definitions/md.DataCenterGenerateDataCommReq"
  53. }
  54. }
  55. ],
  56. "responses": {
  57. "200": {
  58. "description": "具体看返回内容 ",
  59. "schema": {
  60. "$ref": "#/definitions/md.DataCenterGenerateDataDetailData"
  61. }
  62. },
  63. "400": {
  64. "description": "具体错误",
  65. "schema": {
  66. "$ref": "#/definitions/md.Response"
  67. }
  68. }
  69. }
  70. }
  71. },
  72. "/api/dataCenter/generate/data/list": {
  73. "post": {
  74. "description": "数据中心-分成数据-列表",
  75. "consumes": [
  76. "application/json"
  77. ],
  78. "produces": [
  79. "application/json"
  80. ],
  81. "tags": [
  82. "数据中心"
  83. ],
  84. "summary": "分成数据-列表",
  85. "parameters": [
  86. {
  87. "type": "string",
  88. "description": "验证参数Bearer和token空格拼接",
  89. "name": "Authorization",
  90. "in": "header",
  91. "required": true
  92. },
  93. {
  94. "description": "请求参数",
  95. "name": "args",
  96. "in": "body",
  97. "required": true,
  98. "schema": {
  99. "$ref": "#/definitions/md.DataCenterGenerateDataReq"
  100. }
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "具体看返回内容 这是data里面的数据",
  106. "schema": {
  107. "$ref": "#/definitions/md.DataCenterGenerateDataRes"
  108. }
  109. },
  110. "400": {
  111. "description": "具体错误",
  112. "schema": {
  113. "$ref": "#/definitions/md.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/api/dataCenter/original/data/list": {
  120. "post": {
  121. "description": "数据中心-原始数据-列表",
  122. "consumes": [
  123. "application/json"
  124. ],
  125. "produces": [
  126. "application/json"
  127. ],
  128. "tags": [
  129. "数据中心"
  130. ],
  131. "summary": "原始数据-列表",
  132. "parameters": [
  133. {
  134. "type": "string",
  135. "description": "验证参数Bearer和token空格拼接",
  136. "name": "Authorization",
  137. "in": "header",
  138. "required": true
  139. },
  140. {
  141. "description": "请求参数",
  142. "name": "args",
  143. "in": "body",
  144. "required": true,
  145. "schema": {
  146. "$ref": "#/definitions/md.DataCenterOriginalDataReq"
  147. }
  148. }
  149. ],
  150. "responses": {
  151. "200": {
  152. "description": "具体看返回内容 这是data里面的数据",
  153. "schema": {
  154. "$ref": "#/definitions/md.DataCenterOriginalDataRes"
  155. }
  156. },
  157. "400": {
  158. "description": "具体错误",
  159. "schema": {
  160. "$ref": "#/definitions/md.Response"
  161. }
  162. }
  163. }
  164. }
  165. },
  166. "/api/login": {
  167. "post": {
  168. "description": "登入",
  169. "consumes": [
  170. "application/json"
  171. ],
  172. "produces": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "登录注册"
  177. ],
  178. "summary": "登陆",
  179. "parameters": [
  180. {
  181. "description": "用户名密码",
  182. "name": "req",
  183. "in": "body",
  184. "required": true,
  185. "schema": {
  186. "$ref": "#/definitions/md.LoginReq"
  187. }
  188. }
  189. ],
  190. "responses": {
  191. "200": {
  192. "description": "token",
  193. "schema": {
  194. "$ref": "#/definitions/md.LoginResponse"
  195. }
  196. },
  197. "400": {
  198. "description": "具体错误",
  199. "schema": {
  200. "$ref": "#/definitions/md.Response"
  201. }
  202. }
  203. }
  204. }
  205. },
  206. "/api/role/addAdmin": {
  207. "post": {
  208. "description": "权限管理-新增管理员",
  209. "consumes": [
  210. "application/json"
  211. ],
  212. "produces": [
  213. "application/json"
  214. ],
  215. "tags": [
  216. "权限管理"
  217. ],
  218. "summary": "新增管理员",
  219. "parameters": [
  220. {
  221. "type": "string",
  222. "description": "验证参数Bearer和token空格拼接",
  223. "name": "Authorization",
  224. "in": "header",
  225. "required": true
  226. },
  227. {
  228. "description": "请求参数",
  229. "name": "args",
  230. "in": "body",
  231. "required": true,
  232. "schema": {
  233. "$ref": "#/definitions/md.AddAdminReq"
  234. }
  235. }
  236. ],
  237. "responses": {
  238. "200": {
  239. "description": "success",
  240. "schema": {
  241. "type": "string"
  242. }
  243. },
  244. "400": {
  245. "description": "具体错误",
  246. "schema": {
  247. "$ref": "#/definitions/md.Response"
  248. }
  249. }
  250. }
  251. }
  252. },
  253. "/api/role/addRole": {
  254. "post": {
  255. "description": "权限管理-添加角色",
  256. "consumes": [
  257. "application/json"
  258. ],
  259. "produces": [
  260. "application/json"
  261. ],
  262. "tags": [
  263. "权限管理"
  264. ],
  265. "summary": "添加角色",
  266. "parameters": [
  267. {
  268. "type": "string",
  269. "description": "验证参数Bearer和token空格拼接",
  270. "name": "Authorization",
  271. "in": "header",
  272. "required": true
  273. },
  274. {
  275. "description": "请求参数",
  276. "name": "args",
  277. "in": "body",
  278. "required": true,
  279. "schema": {
  280. "$ref": "#/definitions/md.AddRoleReq"
  281. }
  282. }
  283. ],
  284. "responses": {
  285. "200": {
  286. "description": "success",
  287. "schema": {
  288. "type": "string"
  289. }
  290. },
  291. "400": {
  292. "description": "具体错误",
  293. "schema": {
  294. "$ref": "#/definitions/md.Response"
  295. }
  296. }
  297. }
  298. }
  299. },
  300. "/api/role/adminInfo": {
  301. "get": {
  302. "description": "权限管理-管理员信息",
  303. "consumes": [
  304. "application/json"
  305. ],
  306. "produces": [
  307. "application/json"
  308. ],
  309. "tags": [
  310. "权限管理"
  311. ],
  312. "summary": "管理员信息",
  313. "parameters": [
  314. {
  315. "type": "string",
  316. "description": "验证参数Bearer和token空格拼接",
  317. "name": "Authorization",
  318. "in": "header",
  319. "required": true
  320. },
  321. {
  322. "type": "string",
  323. "description": "管理员id",
  324. "name": "adm_id",
  325. "in": "query",
  326. "required": true
  327. }
  328. ],
  329. "responses": {
  330. "200": {
  331. "description": "具体看返回内容",
  332. "schema": {
  333. "type": "string"
  334. }
  335. },
  336. "400": {
  337. "description": "具体错误",
  338. "schema": {
  339. "$ref": "#/definitions/md.Response"
  340. }
  341. }
  342. }
  343. }
  344. },
  345. "/api/role/adminList": {
  346. "post": {
  347. "description": "权限管理-管理员列表",
  348. "consumes": [
  349. "application/json"
  350. ],
  351. "produces": [
  352. "application/json"
  353. ],
  354. "tags": [
  355. "权限管理"
  356. ],
  357. "summary": "管理员列表",
  358. "parameters": [
  359. {
  360. "type": "string",
  361. "description": "验证参数Bearer和token空格拼接",
  362. "name": "Authorization",
  363. "in": "header",
  364. "required": true
  365. },
  366. {
  367. "description": "请求参数",
  368. "name": "args",
  369. "in": "body",
  370. "required": true,
  371. "schema": {
  372. "$ref": "#/definitions/md.AdminListReq"
  373. }
  374. }
  375. ],
  376. "responses": {
  377. "200": {
  378. "description": "具体看返回内容",
  379. "schema": {
  380. "type": "string"
  381. }
  382. },
  383. "400": {
  384. "description": "具体错误",
  385. "schema": {
  386. "$ref": "#/definitions/md.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/api/role/bindAdminRole/": {
  393. "post": {
  394. "description": "权限管理-管理员绑定角色",
  395. "consumes": [
  396. "application/json"
  397. ],
  398. "produces": [
  399. "application/json"
  400. ],
  401. "tags": [
  402. "权限管理"
  403. ],
  404. "summary": "管理员绑定角色",
  405. "parameters": [
  406. {
  407. "type": "string",
  408. "description": "验证参数Bearer和token空格拼接",
  409. "name": "Authorization",
  410. "in": "header",
  411. "required": true
  412. },
  413. {
  414. "description": "请求参数",
  415. "name": "args",
  416. "in": "body",
  417. "required": true,
  418. "schema": {
  419. "$ref": "#/definitions/md.BindAdminRoleReq"
  420. }
  421. }
  422. ],
  423. "responses": {
  424. "200": {
  425. "description": "success",
  426. "schema": {
  427. "type": "string"
  428. }
  429. },
  430. "400": {
  431. "description": "具体错误",
  432. "schema": {
  433. "$ref": "#/definitions/md.Response"
  434. }
  435. }
  436. }
  437. }
  438. },
  439. "/api/role/deleteAdmin/{$adm_id}": {
  440. "delete": {
  441. "description": "权限管理-删除管理员",
  442. "consumes": [
  443. "application/json"
  444. ],
  445. "produces": [
  446. "application/json"
  447. ],
  448. "tags": [
  449. "权限管理"
  450. ],
  451. "summary": "删除管理员",
  452. "parameters": [
  453. {
  454. "type": "string",
  455. "description": "验证参数Bearer和token空格拼接",
  456. "name": "Authorization",
  457. "in": "header",
  458. "required": true
  459. }
  460. ],
  461. "responses": {
  462. "200": {
  463. "description": "success",
  464. "schema": {
  465. "type": "string"
  466. }
  467. },
  468. "400": {
  469. "description": "具体错误",
  470. "schema": {
  471. "$ref": "#/definitions/md.Response"
  472. }
  473. }
  474. }
  475. }
  476. },
  477. "/api/role/deleteRole/{$id}": {
  478. "delete": {
  479. "description": "权限管理-删除角色",
  480. "consumes": [
  481. "application/json"
  482. ],
  483. "produces": [
  484. "application/json"
  485. ],
  486. "tags": [
  487. "权限管理"
  488. ],
  489. "summary": "删除角色",
  490. "parameters": [
  491. {
  492. "type": "string",
  493. "description": "验证参数Bearer和token空格拼接",
  494. "name": "Authorization",
  495. "in": "header",
  496. "required": true
  497. },
  498. {
  499. "description": "请求参数",
  500. "name": "args",
  501. "in": "body",
  502. "required": true,
  503. "schema": {
  504. "$ref": "#/definitions/md.UpdateRoleStateReq"
  505. }
  506. }
  507. ],
  508. "responses": {
  509. "200": {
  510. "description": "success",
  511. "schema": {
  512. "type": "string"
  513. }
  514. },
  515. "400": {
  516. "description": "具体错误",
  517. "schema": {
  518. "$ref": "#/definitions/md.Response"
  519. }
  520. }
  521. }
  522. }
  523. },
  524. "/api/role/permissionGroupList": {
  525. "get": {
  526. "description": "权限管理-权限组列表",
  527. "consumes": [
  528. "application/json"
  529. ],
  530. "produces": [
  531. "application/json"
  532. ],
  533. "tags": [
  534. "权限管理"
  535. ],
  536. "summary": "权限组列表",
  537. "parameters": [
  538. {
  539. "type": "string",
  540. "description": "验证参数Bearer和token空格拼接",
  541. "name": "Authorization",
  542. "in": "header",
  543. "required": true
  544. },
  545. {
  546. "type": "string",
  547. "description": "管理员id",
  548. "name": "adm_id",
  549. "in": "query",
  550. "required": true
  551. }
  552. ],
  553. "responses": {
  554. "200": {
  555. "description": "具体看返回内容",
  556. "schema": {
  557. "type": "string"
  558. }
  559. },
  560. "400": {
  561. "description": "具体错误",
  562. "schema": {
  563. "$ref": "#/definitions/md.Response"
  564. }
  565. }
  566. }
  567. }
  568. },
  569. "/api/role/roleBindPermissionGroup": {
  570. "post": {
  571. "description": "权限管理-角色绑定权限组",
  572. "consumes": [
  573. "application/json"
  574. ],
  575. "produces": [
  576. "application/json"
  577. ],
  578. "tags": [
  579. "权限管理"
  580. ],
  581. "summary": "角色绑定权限组",
  582. "parameters": [
  583. {
  584. "type": "string",
  585. "description": "验证参数Bearer和token空格拼接",
  586. "name": "Authorization",
  587. "in": "header",
  588. "required": true
  589. },
  590. {
  591. "description": "请求参数",
  592. "name": "args",
  593. "in": "body",
  594. "required": true,
  595. "schema": {
  596. "$ref": "#/definitions/md.RoleBindPermissionGroupReq"
  597. }
  598. }
  599. ],
  600. "responses": {
  601. "200": {
  602. "description": "success",
  603. "schema": {
  604. "type": "string"
  605. }
  606. },
  607. "400": {
  608. "description": "具体错误",
  609. "schema": {
  610. "$ref": "#/definitions/md.Response"
  611. }
  612. }
  613. }
  614. }
  615. },
  616. "/api/role/roleList": {
  617. "get": {
  618. "description": "权限管理-角色列表",
  619. "consumes": [
  620. "application/json"
  621. ],
  622. "produces": [
  623. "application/json"
  624. ],
  625. "tags": [
  626. "权限管理"
  627. ],
  628. "summary": "角色列表",
  629. "parameters": [
  630. {
  631. "type": "string",
  632. "description": "验证参数Bearer和token空格拼接",
  633. "name": "Authorization",
  634. "in": "header",
  635. "required": true
  636. }
  637. ],
  638. "responses": {
  639. "200": {
  640. "description": "具体看返回内容",
  641. "schema": {
  642. "type": "string"
  643. }
  644. },
  645. "400": {
  646. "description": "具体错误",
  647. "schema": {
  648. "$ref": "#/definitions/md.Response"
  649. }
  650. }
  651. }
  652. }
  653. },
  654. "/api/role/updateAdmin": {
  655. "post": {
  656. "description": "权限管理-修改管理员信息",
  657. "consumes": [
  658. "application/json"
  659. ],
  660. "produces": [
  661. "application/json"
  662. ],
  663. "tags": [
  664. "权限管理"
  665. ],
  666. "summary": "修改管理员信息",
  667. "parameters": [
  668. {
  669. "type": "string",
  670. "description": "验证参数Bearer和token空格拼接",
  671. "name": "Authorization",
  672. "in": "header",
  673. "required": true
  674. },
  675. {
  676. "description": "请求参数",
  677. "name": "args",
  678. "in": "body",
  679. "required": true,
  680. "schema": {
  681. "$ref": "#/definitions/md.UpdateAdminReq"
  682. }
  683. }
  684. ],
  685. "responses": {
  686. "200": {
  687. "description": "success",
  688. "schema": {
  689. "type": "string"
  690. }
  691. },
  692. "400": {
  693. "description": "具体错误",
  694. "schema": {
  695. "$ref": "#/definitions/md.Response"
  696. }
  697. }
  698. }
  699. }
  700. },
  701. "/api/role/updateAdminState": {
  702. "post": {
  703. "description": "权限管理-修改管理员状态",
  704. "consumes": [
  705. "application/json"
  706. ],
  707. "produces": [
  708. "application/json"
  709. ],
  710. "tags": [
  711. "权限管理"
  712. ],
  713. "summary": "修改管理员状态",
  714. "parameters": [
  715. {
  716. "type": "string",
  717. "description": "验证参数Bearer和token空格拼接",
  718. "name": "Authorization",
  719. "in": "header",
  720. "required": true
  721. },
  722. {
  723. "description": "请求参数",
  724. "name": "args",
  725. "in": "body",
  726. "required": true,
  727. "schema": {
  728. "$ref": "#/definitions/md.UpdateAdminStateReq"
  729. }
  730. }
  731. ],
  732. "responses": {
  733. "200": {
  734. "description": "success",
  735. "schema": {
  736. "type": "string"
  737. }
  738. },
  739. "400": {
  740. "description": "具体错误",
  741. "schema": {
  742. "$ref": "#/definitions/md.Response"
  743. }
  744. }
  745. }
  746. }
  747. },
  748. "/api/role/updateRole": {
  749. "post": {
  750. "description": "权限管理-修改角色状态",
  751. "consumes": [
  752. "application/json"
  753. ],
  754. "produces": [
  755. "application/json"
  756. ],
  757. "tags": [
  758. "权限管理"
  759. ],
  760. "summary": "修改角色状态",
  761. "parameters": [
  762. {
  763. "type": "string",
  764. "description": "验证参数Bearer和token空格拼接",
  765. "name": "Authorization",
  766. "in": "header",
  767. "required": true
  768. },
  769. {
  770. "description": "请求参数",
  771. "name": "args",
  772. "in": "body",
  773. "required": true,
  774. "schema": {
  775. "$ref": "#/definitions/md.UpdateRoleStateReq"
  776. }
  777. }
  778. ],
  779. "responses": {
  780. "200": {
  781. "description": "success",
  782. "schema": {
  783. "type": "string"
  784. }
  785. },
  786. "400": {
  787. "description": "具体错误",
  788. "schema": {
  789. "$ref": "#/definitions/md.Response"
  790. }
  791. }
  792. }
  793. }
  794. },
  795. "/api/smsCenter/detail": {
  796. "post": {
  797. "description": "短信中心-详情",
  798. "consumes": [
  799. "application/json"
  800. ],
  801. "produces": [
  802. "application/json"
  803. ],
  804. "tags": [
  805. "短信中心"
  806. ],
  807. "summary": "详情",
  808. "parameters": [
  809. {
  810. "type": "string",
  811. "description": "验证参数Bearer和token空格拼接",
  812. "name": "Authorization",
  813. "in": "header",
  814. "required": true
  815. },
  816. {
  817. "description": "请求参数",
  818. "name": "args",
  819. "in": "body",
  820. "required": true,
  821. "schema": {
  822. "$ref": "#/definitions/md.SmsDetailReq"
  823. }
  824. }
  825. ],
  826. "responses": {
  827. "200": {
  828. "description": "具体看返回内容 这是data里面的数据",
  829. "schema": {
  830. "$ref": "#/definitions/md.SmsDetailResp"
  831. }
  832. },
  833. "400": {
  834. "description": "具体错误",
  835. "schema": {
  836. "$ref": "#/definitions/md.Response"
  837. }
  838. }
  839. }
  840. }
  841. },
  842. "/api/smsCenter/list": {
  843. "post": {
  844. "description": "短信中心-列表",
  845. "consumes": [
  846. "application/json"
  847. ],
  848. "produces": [
  849. "application/json"
  850. ],
  851. "tags": [
  852. "短信中心"
  853. ],
  854. "summary": "列表",
  855. "parameters": [
  856. {
  857. "type": "string",
  858. "description": "验证参数Bearer和token空格拼接",
  859. "name": "Authorization",
  860. "in": "header",
  861. "required": true
  862. },
  863. {
  864. "description": "请求参数",
  865. "name": "args",
  866. "in": "body",
  867. "required": true,
  868. "schema": {
  869. "$ref": "#/definitions/md.SmsListReq"
  870. }
  871. }
  872. ],
  873. "responses": {
  874. "200": {
  875. "description": "具体看返回内容 这是data里面的数据",
  876. "schema": {
  877. "$ref": "#/definitions/md.SmsListResp"
  878. }
  879. },
  880. "400": {
  881. "description": "具体错误",
  882. "schema": {
  883. "$ref": "#/definitions/md.Response"
  884. }
  885. }
  886. }
  887. }
  888. },
  889. "/api/smsCenter/update": {
  890. "post": {
  891. "description": "短信中心-修改",
  892. "consumes": [
  893. "application/json"
  894. ],
  895. "produces": [
  896. "application/json"
  897. ],
  898. "tags": [
  899. "短信中心"
  900. ],
  901. "summary": "修改",
  902. "parameters": [
  903. {
  904. "type": "string",
  905. "description": "验证参数Bearer和token空格拼接",
  906. "name": "Authorization",
  907. "in": "header",
  908. "required": true
  909. },
  910. {
  911. "description": "请求参数",
  912. "name": "args",
  913. "in": "body",
  914. "required": true,
  915. "schema": {
  916. "$ref": "#/definitions/md.SmsDetailReq"
  917. }
  918. }
  919. ],
  920. "responses": {
  921. "200": {
  922. "description": "success",
  923. "schema": {
  924. "type": "string"
  925. }
  926. },
  927. "400": {
  928. "description": "具体错误",
  929. "schema": {
  930. "$ref": "#/definitions/md.Response"
  931. }
  932. }
  933. }
  934. }
  935. }
  936. },
  937. "definitions": {
  938. "md.AddAdminReq": {
  939. "type": "object",
  940. "required": [
  941. "password",
  942. "username"
  943. ],
  944. "properties": {
  945. "memo": {
  946. "type": "string"
  947. },
  948. "password": {
  949. "type": "string"
  950. },
  951. "username": {
  952. "type": "string"
  953. }
  954. }
  955. },
  956. "md.AddRoleReq": {
  957. "type": "object",
  958. "required": [
  959. "memo",
  960. "name"
  961. ],
  962. "properties": {
  963. "memo": {
  964. "type": "string"
  965. },
  966. "name": {
  967. "type": "string"
  968. }
  969. }
  970. },
  971. "md.AdminListReq": {
  972. "type": "object",
  973. "properties": {
  974. "limit": {
  975. "type": "integer"
  976. },
  977. "page": {
  978. "type": "integer"
  979. },
  980. "state": {
  981. "type": "integer"
  982. },
  983. "username": {
  984. "type": "string"
  985. }
  986. }
  987. },
  988. "md.BindAdminRoleReq": {
  989. "type": "object",
  990. "required": [
  991. "adm_id"
  992. ],
  993. "properties": {
  994. "adm_id": {
  995. "type": "integer"
  996. },
  997. "role_ids": {
  998. "type": "array",
  999. "items": {
  1000. "type": "integer"
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "md.DataCenterGenerateDataCommReq": {
  1006. "type": "object",
  1007. "properties": {
  1008. "id": {
  1009. "type": "string",
  1010. "example": "列表id"
  1011. }
  1012. }
  1013. },
  1014. "md.DataCenterGenerateDataData": {
  1015. "type": "object",
  1016. "properties": {
  1017. "adv_name": {
  1018. "type": "string",
  1019. "example": "广告位"
  1020. },
  1021. "agent_revenue": {
  1022. "type": "string",
  1023. "example": "代理收益(元)"
  1024. },
  1025. "agreement_sharing": {
  1026. "type": "string",
  1027. "example": "协议分成(元)"
  1028. },
  1029. "agreement_sharing_total": {
  1030. "type": "string",
  1031. "example": "协议总分成(元)"
  1032. },
  1033. "click_count": {
  1034. "type": "string",
  1035. "example": "现-点击量"
  1036. },
  1037. "click_rate": {
  1038. "type": "string",
  1039. "example": "现-点击率"
  1040. },
  1041. "commission_retention": {
  1042. "type": "string",
  1043. "example": "佣金留存(元)"
  1044. },
  1045. "date": {
  1046. "type": "string",
  1047. "example": "日期"
  1048. },
  1049. "ecpm": {
  1050. "type": "string",
  1051. "example": "'现-ecpm(元)"
  1052. },
  1053. "exposure_count": {
  1054. "type": "string",
  1055. "example": "现-曝光量"
  1056. },
  1057. "extra_revenue": {
  1058. "type": "string",
  1059. "example": "额外收益(元)"
  1060. },
  1061. "id": {
  1062. "type": "string",
  1063. "example": "id"
  1064. },
  1065. "is_generate_report": {
  1066. "type": "string",
  1067. "example": "是否已生成报表(0:未 1:已)"
  1068. },
  1069. "media_revenue": {
  1070. "type": "string",
  1071. "example": "媒体收益(元)"
  1072. },
  1073. "name": {
  1074. "type": "string",
  1075. "example": "名称"
  1076. },
  1077. "old_click_count": {
  1078. "type": "string",
  1079. "example": "原-点击量"
  1080. },
  1081. "old_click_rate": {
  1082. "type": "string",
  1083. "example": "原-点击率"
  1084. },
  1085. "old_ecpm": {
  1086. "type": "string",
  1087. "example": "'原-ecpm(元)"
  1088. },
  1089. "old_exposure_count": {
  1090. "type": "string",
  1091. "example": "原-曝光量"
  1092. },
  1093. "platform": {
  1094. "type": "string",
  1095. "example": "平台名称"
  1096. },
  1097. "platform_retention": {
  1098. "type": "string",
  1099. "example": "平台留存(元)"
  1100. },
  1101. "price_adjustment_retention": {
  1102. "type": "string",
  1103. "example": "调价留存(元)"
  1104. },
  1105. "state": {
  1106. "type": "string",
  1107. "example": "状态id"
  1108. }
  1109. }
  1110. },
  1111. "md.DataCenterGenerateDataDetailAgentReward": {
  1112. "type": "object",
  1113. "properties": {
  1114. "account": {
  1115. "type": "string"
  1116. },
  1117. "agent_revenue": {
  1118. "type": "string",
  1119. "example": "代理收益(元)"
  1120. },
  1121. "agent_revenue_rate": {
  1122. "type": "string",
  1123. "example": "代理收益百分比"
  1124. },
  1125. "extra_revenue": {
  1126. "type": "string",
  1127. "example": "额外收益(元)"
  1128. },
  1129. "extra_revenue_rate": {
  1130. "type": "string",
  1131. "example": "'额外收益百分比"
  1132. },
  1133. "name": {
  1134. "type": "string"
  1135. }
  1136. }
  1137. },
  1138. "md.DataCenterGenerateDataDetailData": {
  1139. "type": "object",
  1140. "properties": {
  1141. "agent_revenue_rate": {
  1142. "type": "string",
  1143. "example": "代理收益百分比"
  1144. },
  1145. "agent_reward": {
  1146. "type": "array",
  1147. "items": {
  1148. "$ref": "#/definitions/md.DataCenterGenerateDataDetailAgentReward"
  1149. }
  1150. },
  1151. "agreement_sharing_rate": {
  1152. "type": "string",
  1153. "example": "协议分成百分比"
  1154. },
  1155. "commission_retention_rate": {
  1156. "type": "string",
  1157. "example": "佣金留存百分比"
  1158. },
  1159. "create_at": {
  1160. "type": "string"
  1161. },
  1162. "extra_revenue_rate": {
  1163. "type": "string",
  1164. "example": "额外收益百分比"
  1165. },
  1166. "media_revenue_rate": {
  1167. "type": "string",
  1168. "example": "媒体收益百分比"
  1169. },
  1170. "platform_retention_rate": {
  1171. "type": "string",
  1172. "example": "平台留存百分比"
  1173. },
  1174. "update_at": {
  1175. "type": "string"
  1176. }
  1177. }
  1178. },
  1179. "md.DataCenterGenerateDataReq": {
  1180. "type": "object",
  1181. "properties": {
  1182. "end_time": {
  1183. "type": "string"
  1184. },
  1185. "limit": {
  1186. "type": "string"
  1187. },
  1188. "name": {
  1189. "type": "string"
  1190. },
  1191. "page": {
  1192. "type": "string"
  1193. },
  1194. "platform": {
  1195. "type": "string"
  1196. },
  1197. "start_time": {
  1198. "type": "string"
  1199. },
  1200. "state": {
  1201. "type": "string"
  1202. }
  1203. }
  1204. },
  1205. "md.DataCenterGenerateDataRes": {
  1206. "type": "object",
  1207. "properties": {
  1208. "list": {
  1209. "type": "array",
  1210. "items": {
  1211. "$ref": "#/definitions/md.DataCenterGenerateDataData"
  1212. }
  1213. },
  1214. "platform": {
  1215. "type": "array",
  1216. "items": {
  1217. "$ref": "#/definitions/md.SelectData"
  1218. }
  1219. },
  1220. "state": {
  1221. "type": "array",
  1222. "items": {
  1223. "$ref": "#/definitions/md.SelectData"
  1224. }
  1225. },
  1226. "total": {
  1227. "type": "integer"
  1228. }
  1229. }
  1230. },
  1231. "md.DataCenterOriginalDataData": {
  1232. "type": "object",
  1233. "properties": {
  1234. "adv_name": {
  1235. "type": "string",
  1236. "example": "广告位"
  1237. },
  1238. "click_count": {
  1239. "type": "string",
  1240. "example": "点击量"
  1241. },
  1242. "click_rate": {
  1243. "type": "string",
  1244. "example": "点击率"
  1245. },
  1246. "date": {
  1247. "type": "string",
  1248. "example": "日期"
  1249. },
  1250. "ecpm": {
  1251. "type": "string",
  1252. "example": "'ecpm(元)"
  1253. },
  1254. "exposure_count": {
  1255. "type": "string",
  1256. "example": "曝光量"
  1257. },
  1258. "exposure_rate": {
  1259. "type": "string",
  1260. "example": "曝光率"
  1261. },
  1262. "id": {
  1263. "type": "string",
  1264. "example": "id"
  1265. },
  1266. "is_apply": {
  1267. "type": "string",
  1268. "example": "是否已应用"
  1269. },
  1270. "name": {
  1271. "type": "string",
  1272. "example": "名称"
  1273. },
  1274. "platform": {
  1275. "type": "string",
  1276. "example": "平台名称"
  1277. },
  1278. "publisher_income": {
  1279. "type": "string",
  1280. "example": "总收益(元)"
  1281. },
  1282. "req_succ_count": {
  1283. "type": "string",
  1284. "example": "拉取量"
  1285. },
  1286. "state": {
  1287. "type": "string",
  1288. "example": "状态id"
  1289. }
  1290. }
  1291. },
  1292. "md.DataCenterOriginalDataReq": {
  1293. "type": "object",
  1294. "properties": {
  1295. "end_time": {
  1296. "type": "string"
  1297. },
  1298. "limit": {
  1299. "type": "string"
  1300. },
  1301. "name": {
  1302. "type": "string"
  1303. },
  1304. "page": {
  1305. "type": "string"
  1306. },
  1307. "platform": {
  1308. "type": "string"
  1309. },
  1310. "start_time": {
  1311. "type": "string"
  1312. },
  1313. "state": {
  1314. "type": "string"
  1315. }
  1316. }
  1317. },
  1318. "md.DataCenterOriginalDataRes": {
  1319. "type": "object",
  1320. "properties": {
  1321. "list": {
  1322. "type": "array",
  1323. "items": {
  1324. "$ref": "#/definitions/md.DataCenterOriginalDataData"
  1325. }
  1326. },
  1327. "platform": {
  1328. "type": "array",
  1329. "items": {
  1330. "$ref": "#/definitions/md.SelectData"
  1331. }
  1332. },
  1333. "state": {
  1334. "type": "array",
  1335. "items": {
  1336. "$ref": "#/definitions/md.SelectData"
  1337. }
  1338. },
  1339. "total": {
  1340. "type": "integer"
  1341. }
  1342. }
  1343. },
  1344. "md.LoginReq": {
  1345. "type": "object",
  1346. "required": [
  1347. "password",
  1348. "username"
  1349. ],
  1350. "properties": {
  1351. "code": {
  1352. "type": "string",
  1353. "example": "验证码"
  1354. },
  1355. "password": {
  1356. "type": "string",
  1357. "example": "登录密码"
  1358. },
  1359. "username": {
  1360. "type": "string",
  1361. "example": "登录账号"
  1362. }
  1363. }
  1364. },
  1365. "md.LoginResponse": {
  1366. "type": "object",
  1367. "properties": {
  1368. "token": {
  1369. "type": "string"
  1370. }
  1371. }
  1372. },
  1373. "md.Response": {
  1374. "type": "object",
  1375. "properties": {
  1376. "code": {
  1377. "type": "string",
  1378. "example": "响应码"
  1379. },
  1380. "data": {
  1381. "description": "内容"
  1382. },
  1383. "msg": {
  1384. "type": "string",
  1385. "example": "具体错误原因"
  1386. }
  1387. }
  1388. },
  1389. "md.RoleBindPermissionGroupReq": {
  1390. "type": "object",
  1391. "required": [
  1392. "role_id"
  1393. ],
  1394. "properties": {
  1395. "permission_ids": {
  1396. "type": "array",
  1397. "items": {
  1398. "type": "integer"
  1399. }
  1400. },
  1401. "role_id": {
  1402. "type": "integer"
  1403. }
  1404. }
  1405. },
  1406. "md.SelectData": {
  1407. "type": "object",
  1408. "properties": {
  1409. "name": {
  1410. "type": "string",
  1411. "example": "名称"
  1412. },
  1413. "value": {
  1414. "type": "string",
  1415. "example": "值"
  1416. }
  1417. }
  1418. },
  1419. "md.SmsDetail": {
  1420. "type": "object",
  1421. "properties": {
  1422. "create_at": {
  1423. "type": "string",
  1424. "example": "创建时间"
  1425. },
  1426. "id": {
  1427. "type": "integer"
  1428. },
  1429. "phone": {
  1430. "type": "string",
  1431. "example": "接收号码"
  1432. },
  1433. "state_zh": {
  1434. "type": "string",
  1435. "example": "发送状态"
  1436. }
  1437. }
  1438. },
  1439. "md.SmsDetailReq": {
  1440. "type": "object",
  1441. "properties": {
  1442. "limit": {
  1443. "type": "integer"
  1444. },
  1445. "page": {
  1446. "type": "integer"
  1447. },
  1448. "uuid": {
  1449. "type": "string",
  1450. "example": "站长ID"
  1451. }
  1452. }
  1453. },
  1454. "md.SmsDetailResp": {
  1455. "type": "object",
  1456. "properties": {
  1457. "list": {
  1458. "type": "array",
  1459. "items": {
  1460. "$ref": "#/definitions/md.SmsDetail"
  1461. }
  1462. },
  1463. "total": {
  1464. "type": "integer"
  1465. }
  1466. }
  1467. },
  1468. "md.SmsList": {
  1469. "type": "object",
  1470. "properties": {
  1471. "name": {
  1472. "type": "string",
  1473. "example": "站长名称"
  1474. },
  1475. "num": {
  1476. "description": "短信条数",
  1477. "type": "integer"
  1478. },
  1479. "uuid": {
  1480. "type": "string",
  1481. "example": "站长ID"
  1482. }
  1483. }
  1484. },
  1485. "md.SmsListReq": {
  1486. "type": "object",
  1487. "properties": {
  1488. "limit": {
  1489. "type": "integer"
  1490. },
  1491. "name": {
  1492. "type": "string",
  1493. "example": "站长名称"
  1494. },
  1495. "page": {
  1496. "type": "integer"
  1497. },
  1498. "uuid": {
  1499. "type": "string",
  1500. "example": "站长ID"
  1501. }
  1502. }
  1503. },
  1504. "md.SmsListResp": {
  1505. "type": "object",
  1506. "properties": {
  1507. "list": {
  1508. "type": "array",
  1509. "items": {
  1510. "$ref": "#/definitions/md.SmsList"
  1511. }
  1512. },
  1513. "total": {
  1514. "type": "integer"
  1515. }
  1516. }
  1517. },
  1518. "md.UpdateAdminReq": {
  1519. "type": "object",
  1520. "required": [
  1521. "adm_id",
  1522. "password",
  1523. "username"
  1524. ],
  1525. "properties": {
  1526. "adm_id": {
  1527. "type": "integer"
  1528. },
  1529. "memo": {
  1530. "type": "string"
  1531. },
  1532. "password": {
  1533. "type": "string"
  1534. },
  1535. "username": {
  1536. "type": "string"
  1537. }
  1538. }
  1539. },
  1540. "md.UpdateAdminStateReq": {
  1541. "type": "object",
  1542. "required": [
  1543. "adm_id",
  1544. "state"
  1545. ],
  1546. "properties": {
  1547. "adm_id": {
  1548. "type": "integer"
  1549. },
  1550. "state": {
  1551. "type": "integer"
  1552. }
  1553. }
  1554. },
  1555. "md.UpdateRoleReq": {
  1556. "type": "object",
  1557. "required": [
  1558. "memo",
  1559. "name",
  1560. "role_id"
  1561. ],
  1562. "properties": {
  1563. "memo": {
  1564. "type": "string"
  1565. },
  1566. "name": {
  1567. "type": "string"
  1568. },
  1569. "role_id": {
  1570. "type": "integer"
  1571. }
  1572. }
  1573. },
  1574. "md.UpdateRoleStateReq": {
  1575. "type": "object",
  1576. "required": [
  1577. "role_id",
  1578. "state"
  1579. ],
  1580. "properties": {
  1581. "role_id": {
  1582. "type": "integer"
  1583. },
  1584. "state": {
  1585. "type": "integer"
  1586. }
  1587. }
  1588. }
  1589. },
  1590. "securityDefinitions": {
  1591. "MasterID": {
  1592. "type": "apiKey",
  1593. "name": "MasterID",
  1594. "in": "header"
  1595. }
  1596. }
  1597. }`
  1598. // SwaggerInfo holds exported Swagger Info so clients can modify it
  1599. var SwaggerInfo = &swag.Spec{
  1600. Version: "1.0",
  1601. Host: "localhost:1001 or advertisement.dengbiao.top",
  1602. BasePath: "",
  1603. Schemes: []string{},
  1604. Title: "广告联盟-总站长平台",
  1605. Description: "总站长后台接口",
  1606. InfoInstanceName: "swagger",
  1607. SwaggerTemplate: docTemplate,
  1608. }
  1609. func init() {
  1610. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  1611. }