广告平台(总站长使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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