docs.go 157 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package swagger
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "contact": {},
  18. "version": "{{.Version}}"
  19. },
  20. "host": "{{.Host}}",
  21. "basePath": "{{.BasePath}}",
  22. "paths": {
  23. "/system/Auth/userList": {
  24. "get": {
  25. "security": [
  26. {
  27. "": []
  28. }
  29. ],
  30. "description": "分页列表",
  31. "tags": [
  32. "用户管理"
  33. ],
  34. "summary": "用户列表",
  35. "parameters": [
  36. {
  37. "description": "data",
  38. "name": "data",
  39. "in": "body",
  40. "required": true,
  41. "schema": {
  42. "$ref": "#/definitions/user.SearchReq"
  43. }
  44. }
  45. ],
  46. "responses": {
  47. "0": {
  48. "description": "{\"code\": 200, \"data\": [...]}",
  49. "schema": {
  50. "$ref": "#/definitions/response.Response"
  51. }
  52. }
  53. }
  54. }
  55. },
  56. "/system/auth/addMenu": {
  57. "post": {
  58. "security": [
  59. {
  60. "Bearer": []
  61. }
  62. ],
  63. "description": "添加菜单",
  64. "consumes": [
  65. "application/json"
  66. ],
  67. "tags": [
  68. "菜单管理"
  69. ],
  70. "summary": "添加菜单",
  71. "parameters": [
  72. {
  73. "description": "data",
  74. "name": "data",
  75. "in": "body",
  76. "required": true,
  77. "schema": {
  78. "$ref": "#/definitions/auth_rule.MenuReq"
  79. }
  80. }
  81. ],
  82. "responses": {
  83. "200": {
  84. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  85. "schema": {
  86. "$ref": "#/definitions/response.Response"
  87. }
  88. }
  89. }
  90. }
  91. },
  92. "/system/auth/addRole": {
  93. "post": {
  94. "security": [
  95. {
  96. "Bearer": []
  97. }
  98. ],
  99. "description": "添加角色",
  100. "consumes": [
  101. "application/json"
  102. ],
  103. "tags": [
  104. "角色管理"
  105. ],
  106. "summary": "添加角色",
  107. "parameters": [
  108. {
  109. "description": "data",
  110. "name": "data",
  111. "in": "body",
  112. "required": true,
  113. "schema": {
  114. "type": "string"
  115. }
  116. }
  117. ],
  118. "responses": {
  119. "200": {
  120. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  121. "schema": {
  122. "$ref": "#/definitions/response.Response"
  123. }
  124. }
  125. }
  126. }
  127. },
  128. "/system/auth/addUser": {
  129. "post": {
  130. "security": [
  131. {
  132. "Bearer": []
  133. }
  134. ],
  135. "description": "添加用户",
  136. "consumes": [
  137. "application/json"
  138. ],
  139. "tags": [
  140. "用户管理"
  141. ],
  142. "summary": "添加用户",
  143. "parameters": [
  144. {
  145. "description": "data",
  146. "name": "data",
  147. "in": "body",
  148. "required": true,
  149. "schema": {
  150. "$ref": "#/definitions/user.AddUserReq"
  151. }
  152. }
  153. ],
  154. "responses": {
  155. "200": {
  156. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  157. "schema": {
  158. "$ref": "#/definitions/response.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/system/auth/changeUserStatus": {
  165. "post": {
  166. "security": [
  167. {
  168. "Bearer": []
  169. }
  170. ],
  171. "description": "修改用户状态",
  172. "consumes": [
  173. "application/json"
  174. ],
  175. "tags": [
  176. "用户管理"
  177. ],
  178. "summary": "修改用户状态",
  179. "parameters": [
  180. {
  181. "description": "data",
  182. "name": "data",
  183. "in": "body",
  184. "required": true,
  185. "schema": {
  186. "$ref": "#/definitions/user.StatusReq"
  187. }
  188. }
  189. ],
  190. "responses": {
  191. "200": {
  192. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  193. "schema": {
  194. "$ref": "#/definitions/response.Response"
  195. }
  196. }
  197. }
  198. }
  199. },
  200. "/system/auth/deleteAdmin": {
  201. "delete": {
  202. "security": [
  203. {
  204. "Bearer": []
  205. }
  206. ],
  207. "description": "删除管理员",
  208. "consumes": [
  209. "application/json"
  210. ],
  211. "tags": [
  212. "用户管理"
  213. ],
  214. "summary": "删除管理员",
  215. "parameters": [
  216. {
  217. "type": "integer",
  218. "description": "ids[1,2,3...]",
  219. "name": "ids",
  220. "in": "path",
  221. "required": true
  222. }
  223. ],
  224. "responses": {
  225. "200": {
  226. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  227. "schema": {
  228. "$ref": "#/definitions/response.Response"
  229. }
  230. }
  231. }
  232. }
  233. },
  234. "/system/auth/deleteMenu": {
  235. "delete": {
  236. "security": [
  237. {
  238. "Bearer": []
  239. }
  240. ],
  241. "description": "删除菜单",
  242. "consumes": [
  243. "application/json"
  244. ],
  245. "tags": [
  246. "菜单管理"
  247. ],
  248. "summary": "删除菜单",
  249. "parameters": [
  250. {
  251. "description": "ids[1,2,3]",
  252. "name": "ids",
  253. "in": "body",
  254. "required": true,
  255. "schema": {
  256. "type": "integer"
  257. }
  258. }
  259. ],
  260. "responses": {
  261. "200": {
  262. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  263. "schema": {
  264. "$ref": "#/definitions/response.Response"
  265. }
  266. }
  267. }
  268. }
  269. },
  270. "/system/auth/deleteRole": {
  271. "delete": {
  272. "security": [
  273. {
  274. "Bearer": []
  275. }
  276. ],
  277. "description": "删除角色",
  278. "consumes": [
  279. "application/json"
  280. ],
  281. "tags": [
  282. "角色管理"
  283. ],
  284. "summary": "删除角色",
  285. "parameters": [
  286. {
  287. "description": "ids[1,2,3]",
  288. "name": "ids",
  289. "in": "body",
  290. "required": true,
  291. "schema": {
  292. "type": "integer"
  293. }
  294. }
  295. ],
  296. "responses": {
  297. "200": {
  298. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  299. "schema": {
  300. "$ref": "#/definitions/response.Response"
  301. }
  302. }
  303. }
  304. }
  305. },
  306. "/system/auth/editMenu": {
  307. "post": {
  308. "security": [
  309. {
  310. "Bearer": []
  311. }
  312. ],
  313. "description": "修改菜单",
  314. "consumes": [
  315. "application/json"
  316. ],
  317. "tags": [
  318. "菜单管理"
  319. ],
  320. "summary": "修改菜单",
  321. "parameters": [
  322. {
  323. "description": "data",
  324. "name": "data",
  325. "in": "body",
  326. "required": true,
  327. "schema": {
  328. "$ref": "#/definitions/auth_rule.MenuReq"
  329. }
  330. }
  331. ],
  332. "responses": {
  333. "200": {
  334. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  335. "schema": {
  336. "$ref": "#/definitions/response.Response"
  337. }
  338. }
  339. }
  340. }
  341. },
  342. "/system/auth/editRole": {
  343. "post": {
  344. "security": [
  345. {
  346. "Bearer": []
  347. }
  348. ],
  349. "description": "修改角色",
  350. "consumes": [
  351. "application/json"
  352. ],
  353. "tags": [
  354. "角色管理"
  355. ],
  356. "summary": "修改角色",
  357. "parameters": [
  358. {
  359. "description": "data",
  360. "name": "data",
  361. "in": "body",
  362. "required": true,
  363. "schema": {
  364. "type": "string"
  365. }
  366. }
  367. ],
  368. "responses": {
  369. "200": {
  370. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  371. "schema": {
  372. "$ref": "#/definitions/response.Response"
  373. }
  374. }
  375. }
  376. }
  377. },
  378. "/system/auth/editUser": {
  379. "post": {
  380. "security": [
  381. {
  382. "Bearer": []
  383. }
  384. ],
  385. "description": "编辑用户",
  386. "consumes": [
  387. "application/json"
  388. ],
  389. "tags": [
  390. "用户管理"
  391. ],
  392. "summary": "编辑用户",
  393. "parameters": [
  394. {
  395. "description": "data",
  396. "name": "data",
  397. "in": "body",
  398. "required": true,
  399. "schema": {
  400. "$ref": "#/definitions/user.EditUserReq"
  401. }
  402. }
  403. ],
  404. "responses": {
  405. "200": {
  406. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  407. "schema": {
  408. "$ref": "#/definitions/response.Response"
  409. }
  410. }
  411. }
  412. }
  413. },
  414. "/system/auth/menuList": {
  415. "get": {
  416. "security": [
  417. {
  418. "": []
  419. }
  420. ],
  421. "description": "获取菜单列表",
  422. "tags": [
  423. "菜单管理"
  424. ],
  425. "summary": "分页列表",
  426. "parameters": [
  427. {
  428. "description": "data",
  429. "name": "data",
  430. "in": "body",
  431. "required": true,
  432. "schema": {
  433. "$ref": "#/definitions/auth_rule.ReqSearch"
  434. }
  435. }
  436. ],
  437. "responses": {
  438. "0": {
  439. "description": "{\"code\": 200, \"data\": [...]}",
  440. "schema": {
  441. "$ref": "#/definitions/response.Response"
  442. }
  443. }
  444. }
  445. }
  446. },
  447. "/system/auth/resetUserPwd": {
  448. "post": {
  449. "security": [
  450. {
  451. "Bearer": []
  452. }
  453. ],
  454. "description": "重置用户密码",
  455. "consumes": [
  456. "application/json"
  457. ],
  458. "tags": [
  459. "用户管理"
  460. ],
  461. "summary": "重置用户密码",
  462. "parameters": [
  463. {
  464. "description": "data",
  465. "name": "data",
  466. "in": "body",
  467. "required": true,
  468. "schema": {
  469. "$ref": "#/definitions/user.ResetPwdReq"
  470. }
  471. }
  472. ],
  473. "responses": {
  474. "200": {
  475. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  476. "schema": {
  477. "$ref": "#/definitions/response.Response"
  478. }
  479. }
  480. }
  481. }
  482. },
  483. "/system/auth/roleDataScope": {
  484. "post": {
  485. "security": [
  486. {
  487. "Bearer": []
  488. }
  489. ],
  490. "description": "角色数据权限分配",
  491. "consumes": [
  492. "application/json"
  493. ],
  494. "tags": [
  495. "用户管理"
  496. ],
  497. "summary": "角色数据权限分配",
  498. "parameters": [
  499. {
  500. "description": "data",
  501. "name": "data",
  502. "in": "body",
  503. "required": true,
  504. "schema": {
  505. "$ref": "#/definitions/role.DataScopeReq"
  506. }
  507. }
  508. ],
  509. "responses": {
  510. "200": {
  511. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  512. "schema": {
  513. "$ref": "#/definitions/response.Response"
  514. }
  515. }
  516. }
  517. }
  518. },
  519. "/system/auth/roleList": {
  520. "get": {
  521. "security": [
  522. {
  523. "": []
  524. }
  525. ],
  526. "description": "分页列表",
  527. "tags": [
  528. "角色管理"
  529. ],
  530. "summary": "角色列表",
  531. "parameters": [
  532. {
  533. "description": "data",
  534. "name": "data",
  535. "in": "body",
  536. "required": true,
  537. "schema": {
  538. "$ref": "#/definitions/role.SelectPageReq"
  539. }
  540. }
  541. ],
  542. "responses": {
  543. "0": {
  544. "description": "{\"code\": 200, \"data\": [...]}",
  545. "schema": {
  546. "$ref": "#/definitions/response.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/system/auth/statusSetRole": {
  553. "post": {
  554. "security": [
  555. {
  556. "Bearer": []
  557. }
  558. ],
  559. "description": "设置角色状态",
  560. "consumes": [
  561. "application/json"
  562. ],
  563. "tags": [
  564. "用户管理"
  565. ],
  566. "summary": "设置角色状态",
  567. "parameters": [
  568. {
  569. "description": "data",
  570. "name": "data",
  571. "in": "body",
  572. "required": true,
  573. "schema": {
  574. "$ref": "#/definitions/role.StatusSetReq"
  575. }
  576. }
  577. ],
  578. "responses": {
  579. "200": {
  580. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  581. "schema": {
  582. "$ref": "#/definitions/response.Response"
  583. }
  584. }
  585. }
  586. }
  587. },
  588. "/system/cms/menu/add": {
  589. "post": {
  590. "security": [
  591. {
  592. "": []
  593. }
  594. ],
  595. "description": "添加栏目",
  596. "tags": [
  597. "栏目管理"
  598. ],
  599. "summary": "添加栏目",
  600. "parameters": [
  601. {
  602. "description": "data",
  603. "name": "data",
  604. "in": "body",
  605. "required": true,
  606. "schema": {
  607. "$ref": "#/definitions/cms_category.ReqAdd"
  608. }
  609. }
  610. ],
  611. "responses": {
  612. "0": {
  613. "description": "{\"code\": 200, \"data\": [...]}",
  614. "schema": {
  615. "$ref": "#/definitions/response.Response"
  616. }
  617. }
  618. }
  619. }
  620. },
  621. "/system/cms/menu/delete": {
  622. "delete": {
  623. "security": [
  624. {
  625. "": []
  626. }
  627. ],
  628. "description": "删除栏目",
  629. "tags": [
  630. "栏目管理"
  631. ],
  632. "summary": "删除栏目",
  633. "parameters": [
  634. {
  635. "description": "ids",
  636. "name": "ids",
  637. "in": "body",
  638. "required": true,
  639. "schema": {
  640. "type": "integer"
  641. }
  642. }
  643. ],
  644. "responses": {
  645. "0": {
  646. "description": "{\"code\": 200, \"data\": [...]}",
  647. "schema": {
  648. "$ref": "#/definitions/response.Response"
  649. }
  650. }
  651. }
  652. }
  653. },
  654. "/system/cms/menu/edit": {
  655. "post": {
  656. "security": [
  657. {
  658. "": []
  659. }
  660. ],
  661. "description": "修改栏目",
  662. "tags": [
  663. "栏目管理"
  664. ],
  665. "summary": "修改栏目",
  666. "parameters": [
  667. {
  668. "description": "data",
  669. "name": "data",
  670. "in": "body",
  671. "required": true,
  672. "schema": {
  673. "$ref": "#/definitions/cms_category.ReqEdit"
  674. }
  675. }
  676. ],
  677. "responses": {
  678. "0": {
  679. "description": "{\"code\": 200, \"data\": [...]}",
  680. "schema": {
  681. "$ref": "#/definitions/response.Response"
  682. }
  683. }
  684. }
  685. }
  686. },
  687. "/system/cms/menu/list": {
  688. "get": {
  689. "security": [
  690. {
  691. "": []
  692. }
  693. ],
  694. "description": "分页列表",
  695. "tags": [
  696. "栏目管理"
  697. ],
  698. "summary": "栏目列表",
  699. "parameters": [
  700. {
  701. "description": "data",
  702. "name": "data",
  703. "in": "body",
  704. "required": true,
  705. "schema": {
  706. "$ref": "#/definitions/cms_category.ReqSearchList"
  707. }
  708. }
  709. ],
  710. "responses": {
  711. "0": {
  712. "description": "{\"code\": 200, \"data\": [...]}",
  713. "schema": {
  714. "$ref": "#/definitions/response.Response"
  715. }
  716. }
  717. }
  718. }
  719. },
  720. "/system/cms/menu/modelOptions": {
  721. "get": {
  722. "security": [
  723. {
  724. "": []
  725. }
  726. ],
  727. "description": "栏目模型选项",
  728. "tags": [
  729. "栏目管理"
  730. ],
  731. "summary": "栏目模型选项",
  732. "responses": {
  733. "0": {
  734. "description": "{\"code\": 200, \"data\": [...]}",
  735. "schema": {
  736. "$ref": "#/definitions/response.Response"
  737. }
  738. }
  739. }
  740. }
  741. },
  742. "/system/cms/menu/sort": {
  743. "post": {
  744. "security": [
  745. {
  746. "": []
  747. }
  748. ],
  749. "description": "栏目排序",
  750. "tags": [
  751. "栏目管理"
  752. ],
  753. "summary": "栏目排序",
  754. "parameters": [
  755. {
  756. "description": "data",
  757. "name": "data",
  758. "in": "body",
  759. "required": true,
  760. "schema": {
  761. "type": "string"
  762. }
  763. }
  764. ],
  765. "responses": {
  766. "0": {
  767. "description": "{\"code\": 200, \"data\": [...]}",
  768. "schema": {
  769. "$ref": "#/definitions/response.Response"
  770. }
  771. }
  772. }
  773. }
  774. },
  775. "/system/cms/news/add": {
  776. "post": {
  777. "security": [
  778. {
  779. "": []
  780. }
  781. ],
  782. "description": "添加信息",
  783. "tags": [
  784. "文章管理"
  785. ],
  786. "summary": "添加信息",
  787. "parameters": [
  788. {
  789. "description": "data",
  790. "name": "data",
  791. "in": "body",
  792. "required": true,
  793. "schema": {
  794. "$ref": "#/definitions/cms_news.ReqAddParams"
  795. }
  796. }
  797. ],
  798. "responses": {
  799. "0": {
  800. "description": "{\"code\": 200, \"data\": [...]}",
  801. "schema": {
  802. "$ref": "#/definitions/response.Response"
  803. }
  804. }
  805. }
  806. }
  807. },
  808. "/system/cms/news/delete": {
  809. "delete": {
  810. "security": [
  811. {
  812. "": []
  813. }
  814. ],
  815. "description": "删除信息",
  816. "tags": [
  817. "文章管理"
  818. ],
  819. "summary": "删除信息",
  820. "parameters": [
  821. {
  822. "description": "ids[1,2,3..]",
  823. "name": "ids",
  824. "in": "body",
  825. "required": true,
  826. "schema": {
  827. "type": "integer"
  828. }
  829. }
  830. ],
  831. "responses": {
  832. "0": {
  833. "description": "{\"code\": 200, \"data\": [...]}",
  834. "schema": {
  835. "$ref": "#/definitions/response.Response"
  836. }
  837. }
  838. }
  839. }
  840. },
  841. "/system/cms/news/edit": {
  842. "post": {
  843. "security": [
  844. {
  845. "": []
  846. }
  847. ],
  848. "description": "修改信息",
  849. "tags": [
  850. "文章管理"
  851. ],
  852. "summary": "修改信息",
  853. "parameters": [
  854. {
  855. "description": "data",
  856. "name": "data",
  857. "in": "body",
  858. "required": true,
  859. "schema": {
  860. "$ref": "#/definitions/cms_news.ReqEditParams"
  861. }
  862. }
  863. ],
  864. "responses": {
  865. "0": {
  866. "description": "{\"code\": 200, \"data\": [...]}",
  867. "schema": {
  868. "$ref": "#/definitions/response.Response"
  869. }
  870. }
  871. }
  872. }
  873. },
  874. "/system/cms/news/getModelFields": {
  875. "get": {
  876. "security": [
  877. {
  878. "": []
  879. }
  880. ],
  881. "description": "获取模型字段",
  882. "tags": [
  883. "栏目管理"
  884. ],
  885. "summary": "获取模型字段",
  886. "parameters": [
  887. {
  888. "description": "cateIds[1,2,3...]",
  889. "name": "cateIds",
  890. "in": "body",
  891. "required": true,
  892. "schema": {
  893. "type": "integer"
  894. }
  895. },
  896. {
  897. "description": "newsId",
  898. "name": "newsId",
  899. "in": "body",
  900. "required": true,
  901. "schema": {
  902. "type": "integer"
  903. }
  904. }
  905. ],
  906. "responses": {
  907. "0": {
  908. "description": "{\"code\": 200, \"data\": [...]}",
  909. "schema": {
  910. "$ref": "#/definitions/response.Response"
  911. }
  912. }
  913. }
  914. }
  915. },
  916. "/system/cms/news/list": {
  917. "get": {
  918. "security": [
  919. {
  920. "": []
  921. }
  922. ],
  923. "description": "信息列表",
  924. "tags": [
  925. "文章管理"
  926. ],
  927. "summary": "信息列表",
  928. "parameters": [
  929. {
  930. "description": "data",
  931. "name": "data",
  932. "in": "body",
  933. "required": true,
  934. "schema": {
  935. "$ref": "#/definitions/cms_news.ReqListSearchParams"
  936. }
  937. }
  938. ],
  939. "responses": {
  940. "0": {
  941. "description": "{\"code\": 200, \"data\": [...]}",
  942. "schema": {
  943. "$ref": "#/definitions/response.Response"
  944. }
  945. }
  946. }
  947. }
  948. },
  949. "/system/config/dict/add": {
  950. "post": {
  951. "security": [
  952. {
  953. "": []
  954. }
  955. ],
  956. "description": "添加字典",
  957. "tags": [
  958. "字典管理"
  959. ],
  960. "summary": "添加字典",
  961. "parameters": [
  962. {
  963. "description": "data",
  964. "name": "data",
  965. "in": "body",
  966. "required": true,
  967. "schema": {
  968. "$ref": "#/definitions/sys_dict_type.AddReq"
  969. }
  970. }
  971. ],
  972. "responses": {
  973. "0": {
  974. "description": "{\"code\": 200, \"data\": [...]}",
  975. "schema": {
  976. "$ref": "#/definitions/response.Response"
  977. }
  978. }
  979. }
  980. }
  981. },
  982. "/system/config/dict/dataAdd": {
  983. "post": {
  984. "security": [
  985. {
  986. "": []
  987. }
  988. ],
  989. "description": "添加数据字典",
  990. "tags": [
  991. "字典管理"
  992. ],
  993. "summary": "添加数据字典",
  994. "parameters": [
  995. {
  996. "description": "data",
  997. "name": "data",
  998. "in": "body",
  999. "required": true,
  1000. "schema": {
  1001. "$ref": "#/definitions/sys_dict_data.AddDataReq"
  1002. }
  1003. }
  1004. ],
  1005. "responses": {
  1006. "0": {
  1007. "description": "{\"code\": 200, \"data\": [...]}",
  1008. "schema": {
  1009. "$ref": "#/definitions/response.Response"
  1010. }
  1011. }
  1012. }
  1013. }
  1014. },
  1015. "/system/config/dict/dataDelete": {
  1016. "delete": {
  1017. "security": [
  1018. {
  1019. "": []
  1020. }
  1021. ],
  1022. "description": "删除字典数据",
  1023. "tags": [
  1024. "字典管理"
  1025. ],
  1026. "summary": "删除字典数据",
  1027. "parameters": [
  1028. {
  1029. "description": "ids[1,2,3...]",
  1030. "name": "ids",
  1031. "in": "body",
  1032. "required": true,
  1033. "schema": {
  1034. "type": "integer"
  1035. }
  1036. }
  1037. ],
  1038. "responses": {
  1039. "0": {
  1040. "description": "{\"code\": 200, \"data\": [...]}",
  1041. "schema": {
  1042. "$ref": "#/definitions/response.Response"
  1043. }
  1044. }
  1045. }
  1046. }
  1047. },
  1048. "/system/config/dict/dataEdit": {
  1049. "post": {
  1050. "security": [
  1051. {
  1052. "": []
  1053. }
  1054. ],
  1055. "description": "修改字典数据",
  1056. "tags": [
  1057. "字典管理"
  1058. ],
  1059. "summary": "修改字典数据",
  1060. "parameters": [
  1061. {
  1062. "description": "data",
  1063. "name": "data",
  1064. "in": "body",
  1065. "required": true,
  1066. "schema": {
  1067. "$ref": "#/definitions/sys_dict_data.EditDataReq"
  1068. }
  1069. }
  1070. ],
  1071. "responses": {
  1072. "0": {
  1073. "description": "{\"code\": 200, \"data\": [...]}",
  1074. "schema": {
  1075. "$ref": "#/definitions/response.Response"
  1076. }
  1077. }
  1078. }
  1079. }
  1080. },
  1081. "/system/config/dict/dataList": {
  1082. "get": {
  1083. "security": [
  1084. {
  1085. "": []
  1086. }
  1087. ],
  1088. "description": "字典数据列表",
  1089. "tags": [
  1090. "字典管理"
  1091. ],
  1092. "summary": "字典数据列表",
  1093. "parameters": [
  1094. {
  1095. "description": "data",
  1096. "name": "data",
  1097. "in": "body",
  1098. "required": true,
  1099. "schema": {
  1100. "$ref": "#/definitions/sys_dict_data.SelectDataPageReq"
  1101. }
  1102. }
  1103. ],
  1104. "responses": {
  1105. "0": {
  1106. "description": "{\"code\": 200, \"data\": [...]}",
  1107. "schema": {
  1108. "$ref": "#/definitions/response.Response"
  1109. }
  1110. }
  1111. }
  1112. }
  1113. },
  1114. "/system/config/dict/delete": {
  1115. "delete": {
  1116. "security": [
  1117. {
  1118. "": []
  1119. }
  1120. ],
  1121. "description": "删除字典",
  1122. "tags": [
  1123. "字典管理"
  1124. ],
  1125. "summary": "删除字典",
  1126. "parameters": [
  1127. {
  1128. "description": "dictIds[1,2,3]",
  1129. "name": "dictIds",
  1130. "in": "body",
  1131. "required": true,
  1132. "schema": {
  1133. "type": "string"
  1134. }
  1135. }
  1136. ],
  1137. "responses": {
  1138. "0": {
  1139. "description": "{\"code\": 200, \"data\": [...]}",
  1140. "schema": {
  1141. "$ref": "#/definitions/response.Response"
  1142. }
  1143. }
  1144. }
  1145. }
  1146. },
  1147. "/system/config/dict/edit": {
  1148. "post": {
  1149. "security": [
  1150. {
  1151. "": []
  1152. }
  1153. ],
  1154. "description": "修改字典",
  1155. "tags": [
  1156. "字典管理"
  1157. ],
  1158. "summary": "修改字典",
  1159. "parameters": [
  1160. {
  1161. "description": "data",
  1162. "name": "data",
  1163. "in": "body",
  1164. "required": true,
  1165. "schema": {
  1166. "$ref": "#/definitions/sys_dict_type.EditReq"
  1167. }
  1168. }
  1169. ],
  1170. "responses": {
  1171. "0": {
  1172. "description": "{\"code\": 200, \"data\": [...]}",
  1173. "schema": {
  1174. "$ref": "#/definitions/response.Response"
  1175. }
  1176. }
  1177. }
  1178. }
  1179. },
  1180. "/system/config/dict/list": {
  1181. "get": {
  1182. "security": [
  1183. {
  1184. "": []
  1185. }
  1186. ],
  1187. "description": "字典列表",
  1188. "tags": [
  1189. "字典管理"
  1190. ],
  1191. "summary": "字典列表",
  1192. "parameters": [
  1193. {
  1194. "description": "data",
  1195. "name": "data",
  1196. "in": "body",
  1197. "required": true,
  1198. "schema": {
  1199. "$ref": "#/definitions/sys_dict_type.SelectPageReq"
  1200. }
  1201. }
  1202. ],
  1203. "responses": {
  1204. "0": {
  1205. "description": "{\"code\": 200, \"data\": [...]}",
  1206. "schema": {
  1207. "$ref": "#/definitions/response.Response"
  1208. }
  1209. }
  1210. }
  1211. }
  1212. },
  1213. "/system/config/dict/sysNormalDisable": {
  1214. "post": {
  1215. "security": [
  1216. {
  1217. "": []
  1218. }
  1219. ],
  1220. "description": "获取字典对应选项",
  1221. "tags": [
  1222. "字典管理"
  1223. ],
  1224. "summary": "获取字典对应选项",
  1225. "parameters": [
  1226. {
  1227. "type": "string",
  1228. "description": "dictType",
  1229. "name": "dictType",
  1230. "in": "query",
  1231. "required": true
  1232. }
  1233. ],
  1234. "responses": {
  1235. "0": {
  1236. "description": "{\"code\": 200, \"data\": [...]}",
  1237. "schema": {
  1238. "$ref": "#/definitions/response.Response"
  1239. }
  1240. }
  1241. }
  1242. }
  1243. },
  1244. "/system/config/params/add": {
  1245. "post": {
  1246. "security": [
  1247. {
  1248. "": []
  1249. }
  1250. ],
  1251. "description": "添加参数",
  1252. "tags": [
  1253. "参数管理"
  1254. ],
  1255. "summary": "添加参数",
  1256. "parameters": [
  1257. {
  1258. "description": "data",
  1259. "name": "data",
  1260. "in": "body",
  1261. "required": true,
  1262. "schema": {
  1263. "$ref": "#/definitions/sys_config.AddReq"
  1264. }
  1265. }
  1266. ],
  1267. "responses": {
  1268. "0": {
  1269. "description": "{\"code\": 200, \"data\": [...]}",
  1270. "schema": {
  1271. "$ref": "#/definitions/response.Response"
  1272. }
  1273. }
  1274. }
  1275. }
  1276. },
  1277. "/system/config/params/delete": {
  1278. "delete": {
  1279. "security": [
  1280. {
  1281. "": []
  1282. }
  1283. ],
  1284. "description": "删除参数",
  1285. "tags": [
  1286. "参数管理"
  1287. ],
  1288. "summary": "删除参数",
  1289. "parameters": [
  1290. {
  1291. "description": "ids[1,2,3...]",
  1292. "name": "ids",
  1293. "in": "body",
  1294. "required": true,
  1295. "schema": {
  1296. "type": "integer"
  1297. }
  1298. }
  1299. ],
  1300. "responses": {
  1301. "0": {
  1302. "description": "{\"code\": 200, \"data\": [...]}",
  1303. "schema": {
  1304. "$ref": "#/definitions/response.Response"
  1305. }
  1306. }
  1307. }
  1308. }
  1309. },
  1310. "/system/config/params/edit": {
  1311. "post": {
  1312. "security": [
  1313. {
  1314. "": []
  1315. }
  1316. ],
  1317. "description": "修改参数",
  1318. "tags": [
  1319. "参数管理"
  1320. ],
  1321. "summary": "修改参数",
  1322. "parameters": [
  1323. {
  1324. "description": "data",
  1325. "name": "data",
  1326. "in": "body",
  1327. "required": true,
  1328. "schema": {
  1329. "$ref": "#/definitions/sys_config.EditReq"
  1330. }
  1331. }
  1332. ],
  1333. "responses": {
  1334. "0": {
  1335. "description": "{\"code\": 200, \"data\": [...]}",
  1336. "schema": {
  1337. "$ref": "#/definitions/response.Response"
  1338. }
  1339. }
  1340. }
  1341. }
  1342. },
  1343. "/system/config/params/list": {
  1344. "get": {
  1345. "security": [
  1346. {
  1347. "": []
  1348. }
  1349. ],
  1350. "description": "参数列表",
  1351. "tags": [
  1352. "参数管理"
  1353. ],
  1354. "summary": "参数列表",
  1355. "parameters": [
  1356. {
  1357. "description": "data",
  1358. "name": "data",
  1359. "in": "body",
  1360. "required": true,
  1361. "schema": {
  1362. "$ref": "#/definitions/sys_config.SelectPageReq"
  1363. }
  1364. }
  1365. ],
  1366. "responses": {
  1367. "0": {
  1368. "description": "{\"code\": 200, \"data\": [...]}",
  1369. "schema": {
  1370. "$ref": "#/definitions/response.Response"
  1371. }
  1372. }
  1373. }
  1374. }
  1375. },
  1376. "/system/dept/addDept": {
  1377. "post": {
  1378. "security": [
  1379. {
  1380. "Bearer": []
  1381. }
  1382. ],
  1383. "description": "获取JSON",
  1384. "consumes": [
  1385. "application/json"
  1386. ],
  1387. "tags": [
  1388. "部门"
  1389. ],
  1390. "summary": "添加部门",
  1391. "parameters": [
  1392. {
  1393. "description": "data",
  1394. "name": "data",
  1395. "in": "body",
  1396. "required": true,
  1397. "schema": {
  1398. "$ref": "#/definitions/sys_dept.AddParams"
  1399. }
  1400. }
  1401. ],
  1402. "responses": {
  1403. "200": {
  1404. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  1405. "schema": {
  1406. "$ref": "#/definitions/response.Response"
  1407. }
  1408. }
  1409. }
  1410. }
  1411. },
  1412. "/system/dept/delDept/{id}": {
  1413. "delete": {
  1414. "description": "删除数据",
  1415. "tags": [
  1416. "部门"
  1417. ],
  1418. "summary": "删除部门",
  1419. "parameters": [
  1420. {
  1421. "type": "integer",
  1422. "description": "id",
  1423. "name": "id",
  1424. "in": "path",
  1425. "required": true
  1426. }
  1427. ],
  1428. "responses": {
  1429. "200": {
  1430. "description": "{\"code\": 0, \"message\": \"删除成功\"}",
  1431. "schema": {
  1432. "$ref": "#/definitions/response.Response"
  1433. }
  1434. }
  1435. }
  1436. }
  1437. },
  1438. "/system/dept/editDept": {
  1439. "post": {
  1440. "security": [
  1441. {
  1442. "Bearer": []
  1443. }
  1444. ],
  1445. "description": "获取JSON",
  1446. "consumes": [
  1447. "application/json"
  1448. ],
  1449. "tags": [
  1450. "部门"
  1451. ],
  1452. "summary": "修改部门",
  1453. "parameters": [
  1454. {
  1455. "description": "data",
  1456. "name": "data",
  1457. "in": "body",
  1458. "required": true,
  1459. "schema": {
  1460. "$ref": "#/definitions/sys_dept.EditParams"
  1461. }
  1462. }
  1463. ],
  1464. "responses": {
  1465. "200": {
  1466. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  1467. "schema": {
  1468. "$ref": "#/definitions/response.Response"
  1469. }
  1470. }
  1471. }
  1472. }
  1473. },
  1474. "/system/dept/list": {
  1475. "get": {
  1476. "security": [
  1477. {
  1478. "": []
  1479. }
  1480. ],
  1481. "description": "分页列表",
  1482. "tags": [
  1483. "部门"
  1484. ],
  1485. "summary": "分页部门列表数据",
  1486. "parameters": [
  1487. {
  1488. "description": "data",
  1489. "name": "data",
  1490. "in": "body",
  1491. "required": true,
  1492. "schema": {
  1493. "$ref": "#/definitions/sys_dept.SearchParams"
  1494. }
  1495. }
  1496. ],
  1497. "responses": {
  1498. "0": {
  1499. "description": "{\"code\": 200, \"data\": [...]}",
  1500. "schema": {
  1501. "$ref": "#/definitions/response.Response"
  1502. }
  1503. }
  1504. }
  1505. }
  1506. },
  1507. "/system/index/getInfo": {
  1508. "get": {
  1509. "security": [
  1510. {
  1511. "": []
  1512. }
  1513. ],
  1514. "description": "获取登录用户信息",
  1515. "tags": [
  1516. "公共"
  1517. ],
  1518. "summary": "获取登录用户信息",
  1519. "responses": {
  1520. "0": {
  1521. "description": "{\"code\": 200, \"data\": [...]}",
  1522. "schema": {
  1523. "$ref": "#/definitions/response.Response"
  1524. }
  1525. }
  1526. }
  1527. }
  1528. },
  1529. "/system/index/getRouters": {
  1530. "get": {
  1531. "security": [
  1532. {
  1533. "": []
  1534. }
  1535. ],
  1536. "description": "获取后台菜单",
  1537. "tags": [
  1538. "公共"
  1539. ],
  1540. "summary": "获取后台菜单",
  1541. "responses": {
  1542. "0": {
  1543. "description": "{\"code\": 200, \"data\": [...]}",
  1544. "schema": {
  1545. "$ref": "#/definitions/response.Response"
  1546. }
  1547. }
  1548. }
  1549. }
  1550. },
  1551. "/system/model/category/add": {
  1552. "post": {
  1553. "security": [
  1554. {
  1555. "": []
  1556. }
  1557. ],
  1558. "description": "添加模型分类",
  1559. "tags": [
  1560. "模型分类"
  1561. ],
  1562. "summary": "添加模型分类",
  1563. "parameters": [
  1564. {
  1565. "description": "data",
  1566. "name": "data",
  1567. "in": "body",
  1568. "required": true,
  1569. "schema": {
  1570. "$ref": "#/definitions/model_category.AddReq"
  1571. }
  1572. }
  1573. ],
  1574. "responses": {
  1575. "0": {
  1576. "description": "{\"code\": 200, \"data\": [...]}",
  1577. "schema": {
  1578. "$ref": "#/definitions/response.Response"
  1579. }
  1580. }
  1581. }
  1582. }
  1583. },
  1584. "/system/model/category/all": {
  1585. "post": {
  1586. "security": [
  1587. {
  1588. "": []
  1589. }
  1590. ],
  1591. "description": "模型分类",
  1592. "tags": [
  1593. "模型分类"
  1594. ],
  1595. "summary": "模型分类",
  1596. "responses": {
  1597. "0": {
  1598. "description": "{\"code\": 200, \"data\": [...]}",
  1599. "schema": {
  1600. "$ref": "#/definitions/response.Response"
  1601. }
  1602. }
  1603. }
  1604. }
  1605. },
  1606. "/system/model/category/delete": {
  1607. "delete": {
  1608. "security": [
  1609. {
  1610. "": []
  1611. }
  1612. ],
  1613. "description": "删除分类",
  1614. "tags": [
  1615. "模型分类"
  1616. ],
  1617. "summary": "删除分类",
  1618. "parameters": [
  1619. {
  1620. "description": "ids",
  1621. "name": "ids",
  1622. "in": "body",
  1623. "required": true,
  1624. "schema": {
  1625. "type": "integer"
  1626. }
  1627. }
  1628. ],
  1629. "responses": {
  1630. "0": {
  1631. "description": "{\"code\": 200, \"data\": [...]}",
  1632. "schema": {
  1633. "$ref": "#/definitions/response.Response"
  1634. }
  1635. }
  1636. }
  1637. }
  1638. },
  1639. "/system/model/category/edit": {
  1640. "post": {
  1641. "security": [
  1642. {
  1643. "": []
  1644. }
  1645. ],
  1646. "description": "修改模型分类",
  1647. "tags": [
  1648. "模型分类"
  1649. ],
  1650. "summary": "修改模型分类",
  1651. "parameters": [
  1652. {
  1653. "description": "data",
  1654. "name": "data",
  1655. "in": "body",
  1656. "required": true,
  1657. "schema": {
  1658. "$ref": "#/definitions/model_category.EditReq"
  1659. }
  1660. }
  1661. ],
  1662. "responses": {
  1663. "0": {
  1664. "description": "{\"code\": 200, \"data\": [...]}",
  1665. "schema": {
  1666. "$ref": "#/definitions/response.Response"
  1667. }
  1668. }
  1669. }
  1670. }
  1671. },
  1672. "/system/model/category/list": {
  1673. "get": {
  1674. "security": [
  1675. {
  1676. "": []
  1677. }
  1678. ],
  1679. "description": "模型列表",
  1680. "tags": [
  1681. "模型分类"
  1682. ],
  1683. "summary": "模型列表",
  1684. "parameters": [
  1685. {
  1686. "description": "data",
  1687. "name": "data",
  1688. "in": "body",
  1689. "required": true,
  1690. "schema": {
  1691. "$ref": "#/definitions/model_category.SearchReq"
  1692. }
  1693. }
  1694. ],
  1695. "responses": {
  1696. "0": {
  1697. "description": "{\"code\": 200, \"data\": [...]}",
  1698. "schema": {
  1699. "$ref": "#/definitions/response.Response"
  1700. }
  1701. }
  1702. }
  1703. }
  1704. },
  1705. "/system/model/category/sort": {
  1706. "post": {
  1707. "security": [
  1708. {
  1709. "": []
  1710. }
  1711. ],
  1712. "description": "分类排序",
  1713. "tags": [
  1714. "模型分类"
  1715. ],
  1716. "summary": "分类排序",
  1717. "parameters": [
  1718. {
  1719. "description": "sorts",
  1720. "name": "sorts",
  1721. "in": "body",
  1722. "required": true,
  1723. "schema": {
  1724. "type": "string"
  1725. }
  1726. }
  1727. ],
  1728. "responses": {
  1729. "0": {
  1730. "description": "{\"code\": 200, \"data\": [...]}",
  1731. "schema": {
  1732. "$ref": "#/definitions/response.Response"
  1733. }
  1734. }
  1735. }
  1736. }
  1737. },
  1738. "/system/model/info/add": {
  1739. "post": {
  1740. "security": [
  1741. {
  1742. "": []
  1743. }
  1744. ],
  1745. "description": "新增",
  1746. "tags": [
  1747. "模型列表"
  1748. ],
  1749. "summary": "新增",
  1750. "parameters": [
  1751. {
  1752. "description": "data",
  1753. "name": "data",
  1754. "in": "body",
  1755. "required": true,
  1756. "schema": {
  1757. "$ref": "#/definitions/model_info.AddReq"
  1758. }
  1759. }
  1760. ],
  1761. "responses": {
  1762. "0": {
  1763. "description": "{\"code\": 200, \"data\": [...]}",
  1764. "schema": {
  1765. "$ref": "#/definitions/response.Response"
  1766. }
  1767. }
  1768. }
  1769. }
  1770. },
  1771. "/system/model/info/copyModel": {
  1772. "post": {
  1773. "security": [
  1774. {
  1775. "": []
  1776. }
  1777. ],
  1778. "description": "复制模型",
  1779. "tags": [
  1780. "模型列表"
  1781. ],
  1782. "summary": "复制模型",
  1783. "parameters": [
  1784. {
  1785. "type": "integer",
  1786. "description": "int valid",
  1787. "name": "modelId",
  1788. "in": "path",
  1789. "required": true
  1790. }
  1791. ],
  1792. "responses": {
  1793. "0": {
  1794. "description": "{\"code\": 200, \"data\": [...]}",
  1795. "schema": {
  1796. "$ref": "#/definitions/response.Response"
  1797. }
  1798. }
  1799. }
  1800. }
  1801. },
  1802. "/system/model/info/createModel": {
  1803. "post": {
  1804. "security": [
  1805. {
  1806. "": []
  1807. }
  1808. ],
  1809. "description": "模型生成",
  1810. "tags": [
  1811. "模型列表"
  1812. ],
  1813. "summary": "模型生成",
  1814. "parameters": [
  1815. {
  1816. "type": "integer",
  1817. "description": "int valid",
  1818. "name": "modelId",
  1819. "in": "path",
  1820. "required": true
  1821. }
  1822. ],
  1823. "responses": {
  1824. "0": {
  1825. "description": "{\"code\": 200, \"data\": [...]}",
  1826. "schema": {
  1827. "$ref": "#/definitions/response.Response"
  1828. }
  1829. }
  1830. }
  1831. }
  1832. },
  1833. "/system/model/info/delete": {
  1834. "post": {
  1835. "security": [
  1836. {
  1837. "": []
  1838. }
  1839. ],
  1840. "description": "删除",
  1841. "tags": [
  1842. "模型列表"
  1843. ],
  1844. "summary": "删除",
  1845. "parameters": [
  1846. {
  1847. "description": "data",
  1848. "name": "data",
  1849. "in": "body",
  1850. "required": true,
  1851. "schema": {
  1852. "$ref": "#/definitions/model_info.RemoveReq"
  1853. }
  1854. }
  1855. ],
  1856. "responses": {
  1857. "0": {
  1858. "description": "{\"code\": 200, \"data\": [...]}",
  1859. "schema": {
  1860. "$ref": "#/definitions/response.Response"
  1861. }
  1862. }
  1863. }
  1864. }
  1865. },
  1866. "/system/model/info/edit": {
  1867. "post": {
  1868. "security": [
  1869. {
  1870. "": []
  1871. }
  1872. ],
  1873. "description": "修改",
  1874. "tags": [
  1875. "模型列表"
  1876. ],
  1877. "summary": "修改",
  1878. "parameters": [
  1879. {
  1880. "description": "data",
  1881. "name": "data",
  1882. "in": "body",
  1883. "required": true,
  1884. "schema": {
  1885. "$ref": "#/definitions/model_info.EditReq"
  1886. }
  1887. }
  1888. ],
  1889. "responses": {
  1890. "0": {
  1891. "description": "{\"code\": 200, \"data\": [...]}",
  1892. "schema": {
  1893. "$ref": "#/definitions/response.Response"
  1894. }
  1895. }
  1896. }
  1897. }
  1898. },
  1899. "/system/model/info/list": {
  1900. "post": {
  1901. "security": [
  1902. {
  1903. "": []
  1904. }
  1905. ],
  1906. "description": "列表页",
  1907. "tags": [
  1908. "模型列表"
  1909. ],
  1910. "summary": "列表页",
  1911. "parameters": [
  1912. {
  1913. "description": "data",
  1914. "name": "data",
  1915. "in": "body",
  1916. "required": true,
  1917. "schema": {
  1918. "$ref": "#/definitions/model_info.SelectPageReq"
  1919. }
  1920. }
  1921. ],
  1922. "responses": {
  1923. "0": {
  1924. "description": "{\"code\": 200, \"data\": [...]}",
  1925. "schema": {
  1926. "$ref": "#/definitions/response.Response"
  1927. }
  1928. }
  1929. }
  1930. }
  1931. },
  1932. "/system/model/info/setStatus": {
  1933. "post": {
  1934. "security": [
  1935. {
  1936. "": []
  1937. }
  1938. ],
  1939. "description": "设置模型状态",
  1940. "tags": [
  1941. "模型列表"
  1942. ],
  1943. "summary": "设置模型状态",
  1944. "parameters": [
  1945. {
  1946. "description": "data",
  1947. "name": "data",
  1948. "in": "body",
  1949. "required": true,
  1950. "schema": {
  1951. "$ref": "#/definitions/model_info.StatusSetReq"
  1952. }
  1953. }
  1954. ],
  1955. "responses": {
  1956. "0": {
  1957. "description": "{\"code\": 200, \"data\": [...]}",
  1958. "schema": {
  1959. "$ref": "#/definitions/response.Response"
  1960. }
  1961. }
  1962. }
  1963. }
  1964. },
  1965. "/system/monitor/job/add": {
  1966. "post": {
  1967. "security": [
  1968. {
  1969. "": []
  1970. }
  1971. ],
  1972. "description": "添加任务",
  1973. "tags": [
  1974. "定时任务"
  1975. ],
  1976. "summary": "添加任务",
  1977. "parameters": [
  1978. {
  1979. "description": "data",
  1980. "name": "data",
  1981. "in": "body",
  1982. "required": true,
  1983. "schema": {
  1984. "$ref": "#/definitions/sys_job.ReqAdd"
  1985. }
  1986. }
  1987. ],
  1988. "responses": {
  1989. "0": {
  1990. "description": "{\"code\": 200, \"data\": [...]}",
  1991. "schema": {
  1992. "$ref": "#/definitions/response.Response"
  1993. }
  1994. }
  1995. }
  1996. }
  1997. },
  1998. "/system/monitor/job/delete": {
  1999. "delete": {
  2000. "security": [
  2001. {
  2002. "": []
  2003. }
  2004. ],
  2005. "description": "删除计划任务",
  2006. "tags": [
  2007. "定时任务"
  2008. ],
  2009. "summary": "删除计划任务",
  2010. "parameters": [
  2011. {
  2012. "description": "ids[]",
  2013. "name": "ids",
  2014. "in": "body",
  2015. "required": true,
  2016. "schema": {
  2017. "type": "integer"
  2018. }
  2019. }
  2020. ],
  2021. "responses": {
  2022. "0": {
  2023. "description": "{\"code\": 200, \"data\": [...]}",
  2024. "schema": {
  2025. "$ref": "#/definitions/response.Response"
  2026. }
  2027. }
  2028. }
  2029. }
  2030. },
  2031. "/system/monitor/job/details": {
  2032. "post": {
  2033. "security": [
  2034. {
  2035. "": []
  2036. }
  2037. ],
  2038. "description": "详情",
  2039. "tags": [
  2040. "定时任务"
  2041. ],
  2042. "summary": "详情",
  2043. "parameters": [
  2044. {
  2045. "description": "id",
  2046. "name": "id",
  2047. "in": "body",
  2048. "required": true,
  2049. "schema": {
  2050. "type": "integer"
  2051. }
  2052. }
  2053. ],
  2054. "responses": {
  2055. "0": {
  2056. "description": "{\"code\": 200, \"data\": [...]}",
  2057. "schema": {
  2058. "$ref": "#/definitions/response.Response"
  2059. }
  2060. }
  2061. }
  2062. }
  2063. },
  2064. "/system/monitor/job/edit": {
  2065. "post": {
  2066. "security": [
  2067. {
  2068. "": []
  2069. }
  2070. ],
  2071. "description": "修改任务",
  2072. "tags": [
  2073. "定时任务"
  2074. ],
  2075. "summary": "修改任务",
  2076. "parameters": [
  2077. {
  2078. "description": "data",
  2079. "name": "data",
  2080. "in": "body",
  2081. "required": true,
  2082. "schema": {
  2083. "$ref": "#/definitions/sys_job.ReqEdit"
  2084. }
  2085. }
  2086. ],
  2087. "responses": {
  2088. "0": {
  2089. "description": "{\"code\": 200, \"data\": [...]}",
  2090. "schema": {
  2091. "$ref": "#/definitions/response.Response"
  2092. }
  2093. }
  2094. }
  2095. }
  2096. },
  2097. "/system/monitor/job/list": {
  2098. "get": {
  2099. "security": [
  2100. {
  2101. "": []
  2102. }
  2103. ],
  2104. "description": "任务列表",
  2105. "tags": [
  2106. "定时任务"
  2107. ],
  2108. "summary": "任务列表",
  2109. "parameters": [
  2110. {
  2111. "description": "data",
  2112. "name": "data",
  2113. "in": "body",
  2114. "required": true,
  2115. "schema": {
  2116. "$ref": "#/definitions/sys_job.SelectPageReq"
  2117. }
  2118. }
  2119. ],
  2120. "responses": {
  2121. "0": {
  2122. "description": "{\"code\": 200, \"data\": [...]}",
  2123. "schema": {
  2124. "$ref": "#/definitions/response.Response"
  2125. }
  2126. }
  2127. }
  2128. }
  2129. },
  2130. "/system/monitor/job/start": {
  2131. "post": {
  2132. "security": [
  2133. {
  2134. "": []
  2135. }
  2136. ],
  2137. "description": "启动任务",
  2138. "tags": [
  2139. "定时任务"
  2140. ],
  2141. "summary": "启动任务",
  2142. "parameters": [
  2143. {
  2144. "description": "id",
  2145. "name": "id",
  2146. "in": "body",
  2147. "required": true,
  2148. "schema": {
  2149. "type": "integer"
  2150. }
  2151. }
  2152. ],
  2153. "responses": {
  2154. "0": {
  2155. "description": "{\"code\": 200, \"data\": [...]}",
  2156. "schema": {
  2157. "$ref": "#/definitions/response.Response"
  2158. }
  2159. }
  2160. }
  2161. }
  2162. },
  2163. "/system/monitor/job/stop": {
  2164. "post": {
  2165. "security": [
  2166. {
  2167. "": []
  2168. }
  2169. ],
  2170. "description": "停止任务",
  2171. "tags": [
  2172. "定时任务"
  2173. ],
  2174. "summary": "停止任务",
  2175. "parameters": [
  2176. {
  2177. "description": "id",
  2178. "name": "id",
  2179. "in": "body",
  2180. "required": true,
  2181. "schema": {
  2182. "type": "integer"
  2183. }
  2184. }
  2185. ],
  2186. "responses": {
  2187. "0": {
  2188. "description": "{\"code\": 200, \"data\": [...]}",
  2189. "schema": {
  2190. "$ref": "#/definitions/response.Response"
  2191. }
  2192. }
  2193. }
  2194. }
  2195. },
  2196. "/system/monitor/loginlog/clear": {
  2197. "post": {
  2198. "security": [
  2199. {
  2200. "": []
  2201. }
  2202. ],
  2203. "description": "清空登录日志",
  2204. "tags": [
  2205. "登录日志"
  2206. ],
  2207. "summary": "清空登录日志",
  2208. "responses": {
  2209. "0": {
  2210. "description": "{\"code\": 200, \"data\": [...]}",
  2211. "schema": {
  2212. "$ref": "#/definitions/response.Response"
  2213. }
  2214. }
  2215. }
  2216. }
  2217. },
  2218. "/system/monitor/loginlog/delete": {
  2219. "delete": {
  2220. "security": [
  2221. {
  2222. "": []
  2223. }
  2224. ],
  2225. "description": "删除登录日志",
  2226. "tags": [
  2227. "登录日志"
  2228. ],
  2229. "summary": "删除登录日志",
  2230. "parameters": [
  2231. {
  2232. "description": "ids[]",
  2233. "name": "ids",
  2234. "in": "body",
  2235. "required": true,
  2236. "schema": {
  2237. "type": "integer"
  2238. }
  2239. }
  2240. ],
  2241. "responses": {
  2242. "0": {
  2243. "description": "{\"code\": 200, \"data\": [...]}",
  2244. "schema": {
  2245. "$ref": "#/definitions/response.Response"
  2246. }
  2247. }
  2248. }
  2249. }
  2250. },
  2251. "/system/monitor/loginlog/list": {
  2252. "get": {
  2253. "security": [
  2254. {
  2255. "": []
  2256. }
  2257. ],
  2258. "description": "登录日志列表",
  2259. "tags": [
  2260. "登录日志"
  2261. ],
  2262. "summary": "登录日志列表",
  2263. "parameters": [
  2264. {
  2265. "description": "data",
  2266. "name": "data",
  2267. "in": "body",
  2268. "required": true,
  2269. "schema": {
  2270. "$ref": "#/definitions/sys_login_log.SelectPageReq"
  2271. }
  2272. }
  2273. ],
  2274. "responses": {
  2275. "0": {
  2276. "description": "{\"code\": 200, \"data\": [...]}",
  2277. "schema": {
  2278. "$ref": "#/definitions/response.Response"
  2279. }
  2280. }
  2281. }
  2282. }
  2283. },
  2284. "/system/monitor/online/forceLogout": {
  2285. "post": {
  2286. "security": [
  2287. {
  2288. "": []
  2289. }
  2290. ],
  2291. "description": "强制退出",
  2292. "tags": [
  2293. "在线用户"
  2294. ],
  2295. "summary": "强制退出",
  2296. "parameters": [
  2297. {
  2298. "description": "ids[]",
  2299. "name": "ids",
  2300. "in": "body",
  2301. "required": true,
  2302. "schema": {
  2303. "type": "integer"
  2304. }
  2305. }
  2306. ],
  2307. "responses": {
  2308. "0": {
  2309. "description": "{\"code\": 200, \"data\": [...]}",
  2310. "schema": {
  2311. "$ref": "#/definitions/response.Response"
  2312. }
  2313. }
  2314. }
  2315. }
  2316. },
  2317. "/system/monitor/online/list": {
  2318. "get": {
  2319. "security": [
  2320. {
  2321. "": []
  2322. }
  2323. ],
  2324. "description": "用户状态列表",
  2325. "tags": [
  2326. "在线用户"
  2327. ],
  2328. "summary": "用户状态列表",
  2329. "parameters": [
  2330. {
  2331. "description": "data",
  2332. "name": "data",
  2333. "in": "body",
  2334. "required": true,
  2335. "schema": {
  2336. "$ref": "#/definitions/user_online.ReqListSearch"
  2337. }
  2338. }
  2339. ],
  2340. "responses": {
  2341. "0": {
  2342. "description": "{\"code\": 200, \"data\": [...]}",
  2343. "schema": {
  2344. "$ref": "#/definitions/response.Response"
  2345. }
  2346. }
  2347. }
  2348. }
  2349. },
  2350. "/system/monitor/operlog/clear": {
  2351. "post": {
  2352. "security": [
  2353. {
  2354. "": []
  2355. }
  2356. ],
  2357. "description": "清空日志",
  2358. "tags": [
  2359. "操作日志"
  2360. ],
  2361. "summary": "清空日志",
  2362. "parameters": [
  2363. {
  2364. "description": "ids[]",
  2365. "name": "ids",
  2366. "in": "body",
  2367. "required": true,
  2368. "schema": {
  2369. "type": "integer"
  2370. }
  2371. }
  2372. ],
  2373. "responses": {
  2374. "0": {
  2375. "description": "{\"code\": 200, \"data\": [...]}",
  2376. "schema": {
  2377. "$ref": "#/definitions/response.Response"
  2378. }
  2379. }
  2380. }
  2381. }
  2382. },
  2383. "/system/monitor/operlog/delete": {
  2384. "delete": {
  2385. "security": [
  2386. {
  2387. "": []
  2388. }
  2389. ],
  2390. "description": "删除日志",
  2391. "tags": [
  2392. "操作日志"
  2393. ],
  2394. "summary": "删除日志",
  2395. "parameters": [
  2396. {
  2397. "description": "ids[]",
  2398. "name": "ids",
  2399. "in": "body",
  2400. "required": true,
  2401. "schema": {
  2402. "type": "integer"
  2403. }
  2404. }
  2405. ],
  2406. "responses": {
  2407. "0": {
  2408. "description": "{\"code\": 200, \"data\": [...]}",
  2409. "schema": {
  2410. "$ref": "#/definitions/response.Response"
  2411. }
  2412. }
  2413. }
  2414. }
  2415. },
  2416. "/system/monitor/operlog/detail": {
  2417. "post": {
  2418. "security": [
  2419. {
  2420. "": []
  2421. }
  2422. ],
  2423. "description": "操作详细",
  2424. "tags": [
  2425. "操作日志"
  2426. ],
  2427. "summary": "操作详细",
  2428. "parameters": [
  2429. {
  2430. "description": "id",
  2431. "name": "id",
  2432. "in": "body",
  2433. "required": true,
  2434. "schema": {
  2435. "type": "integer"
  2436. }
  2437. }
  2438. ],
  2439. "responses": {
  2440. "0": {
  2441. "description": "{\"code\": 200, \"data\": [...]}",
  2442. "schema": {
  2443. "$ref": "#/definitions/response.Response"
  2444. }
  2445. }
  2446. }
  2447. }
  2448. },
  2449. "/system/monitor/operlog/list": {
  2450. "get": {
  2451. "security": [
  2452. {
  2453. "": []
  2454. }
  2455. ],
  2456. "description": "操作日志列表",
  2457. "tags": [
  2458. "操作日志"
  2459. ],
  2460. "summary": "操作日志列表",
  2461. "parameters": [
  2462. {
  2463. "description": "data",
  2464. "name": "data",
  2465. "in": "body",
  2466. "required": true,
  2467. "schema": {
  2468. "$ref": "#/definitions/sys_oper_log.SelectPageReq"
  2469. }
  2470. }
  2471. ],
  2472. "responses": {
  2473. "0": {
  2474. "description": "{\"code\": 200, \"data\": [...]}",
  2475. "schema": {
  2476. "$ref": "#/definitions/response.Response"
  2477. }
  2478. }
  2479. }
  2480. }
  2481. },
  2482. "/system/monitor/server/info": {
  2483. "get": {
  2484. "security": [
  2485. {
  2486. "": []
  2487. }
  2488. ],
  2489. "description": "服务监控",
  2490. "tags": [
  2491. "服务监控"
  2492. ],
  2493. "summary": "服务监控",
  2494. "responses": {
  2495. "0": {
  2496. "description": "{\"code\": 200, \"data\": [...]}",
  2497. "schema": {
  2498. "$ref": "#/definitions/response.Response"
  2499. }
  2500. }
  2501. }
  2502. }
  2503. },
  2504. "/system/plug/ad/info/add": {
  2505. "post": {
  2506. "security": [
  2507. {
  2508. "": []
  2509. }
  2510. ],
  2511. "description": "添加广告",
  2512. "tags": [
  2513. "广告列表"
  2514. ],
  2515. "summary": "添加广告",
  2516. "parameters": [
  2517. {
  2518. "description": "data",
  2519. "name": "data",
  2520. "in": "body",
  2521. "required": true,
  2522. "schema": {
  2523. "$ref": "#/definitions/plug_ad.AddReq"
  2524. }
  2525. }
  2526. ],
  2527. "responses": {
  2528. "0": {
  2529. "description": "{\"code\": 200, \"data\": [...]}",
  2530. "schema": {
  2531. "$ref": "#/definitions/response.Response"
  2532. }
  2533. }
  2534. }
  2535. }
  2536. },
  2537. "/system/plug/ad/info/delete": {
  2538. "delete": {
  2539. "security": [
  2540. {
  2541. "": []
  2542. }
  2543. ],
  2544. "description": "删除广告",
  2545. "tags": [
  2546. "广告列表"
  2547. ],
  2548. "summary": "删除广告",
  2549. "parameters": [
  2550. {
  2551. "description": "ids",
  2552. "name": "data",
  2553. "in": "body",
  2554. "required": true,
  2555. "schema": {
  2556. "type": "integer"
  2557. }
  2558. }
  2559. ],
  2560. "responses": {
  2561. "0": {
  2562. "description": "{\"code\": 200, \"data\": [...]}",
  2563. "schema": {
  2564. "$ref": "#/definitions/response.Response"
  2565. }
  2566. }
  2567. }
  2568. }
  2569. },
  2570. "/system/plug/ad/info/edit": {
  2571. "post": {
  2572. "security": [
  2573. {
  2574. "": []
  2575. }
  2576. ],
  2577. "description": "修改广告",
  2578. "tags": [
  2579. "广告列表"
  2580. ],
  2581. "summary": "修改广告",
  2582. "parameters": [
  2583. {
  2584. "description": "data",
  2585. "name": "data",
  2586. "in": "body",
  2587. "required": true,
  2588. "schema": {
  2589. "$ref": "#/definitions/plug_ad.EditReq"
  2590. }
  2591. }
  2592. ],
  2593. "responses": {
  2594. "0": {
  2595. "description": "{\"code\": 200, \"data\": [...]}",
  2596. "schema": {
  2597. "$ref": "#/definitions/response.Response"
  2598. }
  2599. }
  2600. }
  2601. }
  2602. },
  2603. "/system/plug/ad/info/list": {
  2604. "get": {
  2605. "security": [
  2606. {
  2607. "": []
  2608. }
  2609. ],
  2610. "description": "广告列表",
  2611. "tags": [
  2612. "广告列表"
  2613. ],
  2614. "summary": "广告列表",
  2615. "parameters": [
  2616. {
  2617. "description": "data",
  2618. "name": "data",
  2619. "in": "body",
  2620. "required": true,
  2621. "schema": {
  2622. "$ref": "#/definitions/plug_ad.SelectPageReq"
  2623. }
  2624. }
  2625. ],
  2626. "responses": {
  2627. "0": {
  2628. "description": "{\"code\": 200, \"data\": [...]}",
  2629. "schema": {
  2630. "$ref": "#/definitions/response.Response"
  2631. }
  2632. }
  2633. }
  2634. }
  2635. },
  2636. "/system/plug/ad/info/sort": {
  2637. "post": {
  2638. "security": [
  2639. {
  2640. "": []
  2641. }
  2642. ],
  2643. "description": "栏目排序",
  2644. "tags": [
  2645. "广告列表"
  2646. ],
  2647. "summary": "栏目排序",
  2648. "parameters": [
  2649. {
  2650. "description": "sorts[]",
  2651. "name": "sorts",
  2652. "in": "body",
  2653. "required": true,
  2654. "schema": {
  2655. "type": "integer"
  2656. }
  2657. }
  2658. ],
  2659. "responses": {
  2660. "0": {
  2661. "description": "{\"code\": 200, \"data\": [...]}",
  2662. "schema": {
  2663. "$ref": "#/definitions/response.Response"
  2664. }
  2665. }
  2666. }
  2667. }
  2668. },
  2669. "/system/plug/ad/type/add": {
  2670. "post": {
  2671. "security": [
  2672. {
  2673. "": []
  2674. }
  2675. ],
  2676. "description": "添加广告位",
  2677. "tags": [
  2678. "广告位管理"
  2679. ],
  2680. "summary": "添加广告位",
  2681. "parameters": [
  2682. {
  2683. "description": "data",
  2684. "name": "data",
  2685. "in": "body",
  2686. "required": true,
  2687. "schema": {
  2688. "$ref": "#/definitions/plug_adtype.AddReq"
  2689. }
  2690. }
  2691. ],
  2692. "responses": {
  2693. "0": {
  2694. "description": "{\"code\": 200, \"data\": [...]}",
  2695. "schema": {
  2696. "$ref": "#/definitions/response.Response"
  2697. }
  2698. }
  2699. }
  2700. }
  2701. },
  2702. "/system/plug/ad/type/delete": {
  2703. "delete": {
  2704. "security": [
  2705. {
  2706. "": []
  2707. }
  2708. ],
  2709. "description": "删除广告位",
  2710. "tags": [
  2711. "广告位管理"
  2712. ],
  2713. "summary": "删除广告位",
  2714. "parameters": [
  2715. {
  2716. "description": "adtypeID[1,2,3...]",
  2717. "name": "adtypeID",
  2718. "in": "body",
  2719. "required": true,
  2720. "schema": {
  2721. "type": "integer"
  2722. }
  2723. }
  2724. ],
  2725. "responses": {
  2726. "0": {
  2727. "description": "{\"code\": 200, \"data\": [...]}",
  2728. "schema": {
  2729. "$ref": "#/definitions/response.Response"
  2730. }
  2731. }
  2732. }
  2733. }
  2734. },
  2735. "/system/plug/ad/type/edit": {
  2736. "post": {
  2737. "security": [
  2738. {
  2739. "": []
  2740. }
  2741. ],
  2742. "description": "修改广告位信息",
  2743. "tags": [
  2744. "广告位管理"
  2745. ],
  2746. "summary": "修改广告位信息",
  2747. "parameters": [
  2748. {
  2749. "description": "data",
  2750. "name": "data",
  2751. "in": "body",
  2752. "required": true,
  2753. "schema": {
  2754. "$ref": "#/definitions/plug_adtype.EditReq"
  2755. }
  2756. }
  2757. ],
  2758. "responses": {
  2759. "0": {
  2760. "description": "{\"code\": 200, \"data\": [...]}",
  2761. "schema": {
  2762. "$ref": "#/definitions/response.Response"
  2763. }
  2764. }
  2765. }
  2766. }
  2767. },
  2768. "/system/plug/ad/type/list": {
  2769. "get": {
  2770. "security": [
  2771. {
  2772. "": []
  2773. }
  2774. ],
  2775. "description": "广告位列表",
  2776. "tags": [
  2777. "广告位管理"
  2778. ],
  2779. "summary": "广告位列表",
  2780. "parameters": [
  2781. {
  2782. "description": "data",
  2783. "name": "data",
  2784. "in": "body",
  2785. "required": true,
  2786. "schema": {
  2787. "$ref": "#/definitions/plug_adtype.SelectPageReq"
  2788. }
  2789. }
  2790. ],
  2791. "responses": {
  2792. "0": {
  2793. "description": "{\"code\": 200, \"data\": [...]}",
  2794. "schema": {
  2795. "$ref": "#/definitions/response.Response"
  2796. }
  2797. }
  2798. }
  2799. }
  2800. },
  2801. "/system/plug/ad/type/sort": {
  2802. "post": {
  2803. "security": [
  2804. {
  2805. "": []
  2806. }
  2807. ],
  2808. "description": "栏目排序",
  2809. "tags": [
  2810. "广告位管理"
  2811. ],
  2812. "summary": "栏目排序",
  2813. "parameters": [
  2814. {
  2815. "description": "sorts",
  2816. "name": "sorts",
  2817. "in": "body",
  2818. "required": true,
  2819. "schema": {
  2820. "type": "integer"
  2821. }
  2822. }
  2823. ],
  2824. "responses": {
  2825. "0": {
  2826. "description": "{\"code\": 200, \"data\": [...]}",
  2827. "schema": {
  2828. "$ref": "#/definitions/response.Response"
  2829. }
  2830. }
  2831. }
  2832. }
  2833. },
  2834. "/system/post/add": {
  2835. "post": {
  2836. "security": [
  2837. {
  2838. "Bearer": []
  2839. }
  2840. ],
  2841. "description": "添加岗位",
  2842. "consumes": [
  2843. "application/json"
  2844. ],
  2845. "tags": [
  2846. "岗位"
  2847. ],
  2848. "summary": "添加岗位",
  2849. "parameters": [
  2850. {
  2851. "description": "data",
  2852. "name": "data",
  2853. "in": "body",
  2854. "required": true,
  2855. "schema": {
  2856. "$ref": "#/definitions/sys_post.AddParams"
  2857. }
  2858. }
  2859. ],
  2860. "responses": {
  2861. "200": {
  2862. "description": "{\"code\": 0, \"message\": \"添加成功\"}",
  2863. "schema": {
  2864. "$ref": "#/definitions/response.Response"
  2865. }
  2866. }
  2867. }
  2868. }
  2869. },
  2870. "/system/post/delete": {
  2871. "get": {
  2872. "description": "删除数据",
  2873. "tags": [
  2874. "岗位"
  2875. ],
  2876. "summary": "删除岗位",
  2877. "parameters": [
  2878. {
  2879. "type": "integer",
  2880. "description": "ids[1,2,3...]",
  2881. "name": "ids",
  2882. "in": "path",
  2883. "required": true
  2884. }
  2885. ],
  2886. "responses": {
  2887. "200": {
  2888. "description": "{\"code\": 0, \"message\": \"删除成功\"}",
  2889. "schema": {
  2890. "$ref": "#/definitions/response.Response"
  2891. }
  2892. }
  2893. }
  2894. }
  2895. },
  2896. "/system/post/edit": {
  2897. "post": {
  2898. "security": [
  2899. {
  2900. "Bearer": []
  2901. }
  2902. ],
  2903. "description": "获取JSON",
  2904. "consumes": [
  2905. "application/json"
  2906. ],
  2907. "tags": [
  2908. "岗位"
  2909. ],
  2910. "summary": "修改岗位",
  2911. "parameters": [
  2912. {
  2913. "description": "data",
  2914. "name": "data",
  2915. "in": "body",
  2916. "required": true,
  2917. "schema": {
  2918. "$ref": "#/definitions/sys_post.EditParams"
  2919. }
  2920. }
  2921. ],
  2922. "responses": {
  2923. "200": {
  2924. "description": "{\"code\": 0, \"message\": \"修改成功\"}",
  2925. "schema": {
  2926. "$ref": "#/definitions/response.Response"
  2927. }
  2928. }
  2929. }
  2930. }
  2931. },
  2932. "/system/post/list": {
  2933. "post": {
  2934. "security": [
  2935. {
  2936. "": []
  2937. }
  2938. ],
  2939. "description": "分页列表",
  2940. "tags": [
  2941. "岗位"
  2942. ],
  2943. "summary": "分页岗位列表数据",
  2944. "parameters": [
  2945. {
  2946. "description": "data",
  2947. "name": "data",
  2948. "in": "body",
  2949. "required": true,
  2950. "schema": {
  2951. "$ref": "#/definitions/sys_post.SearchParams"
  2952. }
  2953. }
  2954. ],
  2955. "responses": {
  2956. "0": {
  2957. "description": "{\"code\": 0, \"data\": [...]}",
  2958. "schema": {
  2959. "$ref": "#/definitions/response.Response"
  2960. }
  2961. }
  2962. }
  2963. }
  2964. },
  2965. "/system/public/verify": {
  2966. "post": {
  2967. "security": [
  2968. {
  2969. "": []
  2970. }
  2971. ],
  2972. "description": "获取验证码图片信息",
  2973. "tags": [
  2974. "公共"
  2975. ],
  2976. "summary": "获取验证码图片信息",
  2977. "responses": {
  2978. "0": {
  2979. "description": "{\"code\": 200, \"data\": [...]}",
  2980. "schema": {
  2981. "$ref": "#/definitions/response.Response"
  2982. }
  2983. }
  2984. }
  2985. }
  2986. },
  2987. "/system/tools/gen/columnList": {
  2988. "post": {
  2989. "security": [
  2990. {
  2991. "": []
  2992. }
  2993. ],
  2994. "description": "根据表格ID获取表格字段列表数据",
  2995. "tags": [
  2996. "系统工具"
  2997. ],
  2998. "summary": "根据表格ID获取表格字段列表数据",
  2999. "parameters": [
  3000. {
  3001. "description": "tableId",
  3002. "name": "tableId",
  3003. "in": "body",
  3004. "required": true,
  3005. "schema": {
  3006. "type": "integer"
  3007. }
  3008. }
  3009. ],
  3010. "responses": {
  3011. "0": {
  3012. "description": "{\"code\": 200, \"data\": [...]}",
  3013. "schema": {
  3014. "$ref": "#/definitions/response.Response"
  3015. }
  3016. }
  3017. }
  3018. }
  3019. },
  3020. "/system/tools/gen/dataList": {
  3021. "get": {
  3022. "security": [
  3023. {
  3024. "": []
  3025. }
  3026. ],
  3027. "description": "查询数据库列表",
  3028. "tags": [
  3029. "系统工具"
  3030. ],
  3031. "summary": "查询数据库列表",
  3032. "parameters": [
  3033. {
  3034. "description": "data",
  3035. "name": "data",
  3036. "in": "body",
  3037. "required": true,
  3038. "schema": {
  3039. "$ref": "#/definitions/gen_table.SelectPageReq"
  3040. }
  3041. }
  3042. ],
  3043. "responses": {
  3044. "0": {
  3045. "description": "{\"code\": 200, \"data\": [...]}",
  3046. "schema": {
  3047. "$ref": "#/definitions/response.Response"
  3048. }
  3049. }
  3050. }
  3051. }
  3052. },
  3053. "/system/tools/gen/delete": {
  3054. "delete": {
  3055. "security": [
  3056. {
  3057. "": []
  3058. }
  3059. ],
  3060. "description": "删除表格数据",
  3061. "tags": [
  3062. "系统工具"
  3063. ],
  3064. "summary": "删除表格数据",
  3065. "parameters": [
  3066. {
  3067. "description": "ids[1,2,3...]",
  3068. "name": "ids",
  3069. "in": "body",
  3070. "required": true,
  3071. "schema": {
  3072. "type": "integer"
  3073. }
  3074. }
  3075. ],
  3076. "responses": {
  3077. "0": {
  3078. "description": "{\"code\": 200, \"data\": [...]}",
  3079. "schema": {
  3080. "$ref": "#/definitions/response.Response"
  3081. }
  3082. }
  3083. }
  3084. }
  3085. },
  3086. "/system/tools/gen/editSave": {
  3087. "post": {
  3088. "security": [
  3089. {
  3090. "": []
  3091. }
  3092. ],
  3093. "description": "编辑表格信息",
  3094. "tags": [
  3095. "系统工具"
  3096. ],
  3097. "summary": "编辑表格信息",
  3098. "parameters": [
  3099. {
  3100. "description": "data",
  3101. "name": "data",
  3102. "in": "body",
  3103. "required": true,
  3104. "schema": {
  3105. "$ref": "#/definitions/gen_table.EditReq"
  3106. }
  3107. }
  3108. ],
  3109. "responses": {
  3110. "0": {
  3111. "description": "{\"code\": 200, \"data\": [...]}",
  3112. "schema": {
  3113. "$ref": "#/definitions/response.Response"
  3114. }
  3115. }
  3116. }
  3117. }
  3118. },
  3119. "/system/tools/gen/importTableSave": {
  3120. "post": {
  3121. "security": [
  3122. {
  3123. "": []
  3124. }
  3125. ],
  3126. "description": "导入表结构操作",
  3127. "tags": [
  3128. "系统工具"
  3129. ],
  3130. "summary": "导入表结构操作",
  3131. "parameters": [
  3132. {
  3133. "description": "tables",
  3134. "name": "tables",
  3135. "in": "body",
  3136. "required": true,
  3137. "schema": {
  3138. "type": "string"
  3139. }
  3140. }
  3141. ],
  3142. "responses": {
  3143. "0": {
  3144. "description": "{\"code\": 200, \"data\": [...]}",
  3145. "schema": {
  3146. "$ref": "#/definitions/response.Response"
  3147. }
  3148. }
  3149. }
  3150. }
  3151. },
  3152. "/system/tools/gen/preview": {
  3153. "post": {
  3154. "security": [
  3155. {
  3156. "": []
  3157. }
  3158. ],
  3159. "description": "代码生成预览",
  3160. "tags": [
  3161. "系统工具"
  3162. ],
  3163. "summary": "代码生成预览",
  3164. "parameters": [
  3165. {
  3166. "description": "tableId",
  3167. "name": "tableId",
  3168. "in": "body",
  3169. "required": true,
  3170. "schema": {
  3171. "type": "integer"
  3172. }
  3173. }
  3174. ],
  3175. "responses": {
  3176. "0": {
  3177. "description": "{\"code\": 200, \"data\": [...]}",
  3178. "schema": {
  3179. "$ref": "#/definitions/response.Response"
  3180. }
  3181. }
  3182. }
  3183. }
  3184. },
  3185. "/system/tools/gen/tableList": {
  3186. "post": {
  3187. "security": [
  3188. {
  3189. "": []
  3190. }
  3191. ],
  3192. "description": "表列表",
  3193. "tags": [
  3194. "系统工具"
  3195. ],
  3196. "summary": "表列表",
  3197. "parameters": [
  3198. {
  3199. "description": "data",
  3200. "name": "data",
  3201. "in": "body",
  3202. "required": true,
  3203. "schema": {
  3204. "$ref": "#/definitions/gen_table.SelectPageReq"
  3205. }
  3206. }
  3207. ],
  3208. "responses": {
  3209. "0": {
  3210. "description": "{\"code\": 200, \"data\": [...]}",
  3211. "schema": {
  3212. "$ref": "#/definitions/response.Response"
  3213. }
  3214. }
  3215. }
  3216. }
  3217. },
  3218. "/system/upload/ckEditorUp": {
  3219. "post": {
  3220. "security": [
  3221. {
  3222. "": []
  3223. }
  3224. ],
  3225. "description": "CkEditor编辑器上传附件",
  3226. "tags": [
  3227. "公共"
  3228. ],
  3229. "summary": "CkEditor编辑器上传附件",
  3230. "parameters": [
  3231. {
  3232. "description": "upFile",
  3233. "name": "upFile",
  3234. "in": "body",
  3235. "required": true,
  3236. "schema": {
  3237. "type": "string"
  3238. }
  3239. }
  3240. ],
  3241. "responses": {
  3242. "0": {
  3243. "description": "{\"code\": 200, \"data\": [...]}",
  3244. "schema": {
  3245. "$ref": "#/definitions/response.Response"
  3246. }
  3247. }
  3248. }
  3249. }
  3250. },
  3251. "/system/upload/upFile": {
  3252. "post": {
  3253. "security": [
  3254. {
  3255. "": []
  3256. }
  3257. ],
  3258. "description": "单文件上传",
  3259. "tags": [
  3260. "公共"
  3261. ],
  3262. "summary": "单文件上传",
  3263. "parameters": [
  3264. {
  3265. "description": "file",
  3266. "name": "file",
  3267. "in": "body",
  3268. "required": true,
  3269. "schema": {
  3270. "type": "string"
  3271. }
  3272. }
  3273. ],
  3274. "responses": {
  3275. "0": {
  3276. "description": "{\"code\": 200, \"data\": [...]}",
  3277. "schema": {
  3278. "$ref": "#/definitions/response.Response"
  3279. }
  3280. }
  3281. }
  3282. }
  3283. },
  3284. "/system/upload/upFiles": {
  3285. "post": {
  3286. "security": [
  3287. {
  3288. "": []
  3289. }
  3290. ],
  3291. "description": "批量上传文件",
  3292. "tags": [
  3293. "公共"
  3294. ],
  3295. "summary": "批量上传文件",
  3296. "parameters": [
  3297. {
  3298. "description": "file",
  3299. "name": "file",
  3300. "in": "body",
  3301. "required": true,
  3302. "schema": {
  3303. "type": "string"
  3304. }
  3305. }
  3306. ],
  3307. "responses": {
  3308. "0": {
  3309. "description": "{\"code\": 200, \"data\": [...]}",
  3310. "schema": {
  3311. "$ref": "#/definitions/response.Response"
  3312. }
  3313. }
  3314. }
  3315. }
  3316. },
  3317. "/system/upload/upImg": {
  3318. "post": {
  3319. "security": [
  3320. {
  3321. "": []
  3322. }
  3323. ],
  3324. "description": "单图片上传",
  3325. "tags": [
  3326. "公共"
  3327. ],
  3328. "summary": "单图片上传",
  3329. "parameters": [
  3330. {
  3331. "description": "file",
  3332. "name": "file",
  3333. "in": "body",
  3334. "required": true,
  3335. "schema": {
  3336. "type": "string"
  3337. }
  3338. }
  3339. ],
  3340. "responses": {
  3341. "0": {
  3342. "description": "{\"code\": 200, \"data\": [...]}",
  3343. "schema": {
  3344. "$ref": "#/definitions/response.Response"
  3345. }
  3346. }
  3347. }
  3348. }
  3349. },
  3350. "/system/upload/upImgs": {
  3351. "post": {
  3352. "security": [
  3353. {
  3354. "": []
  3355. }
  3356. ],
  3357. "description": "批量上传图片",
  3358. "tags": [
  3359. "公共"
  3360. ],
  3361. "summary": "批量上传图片",
  3362. "parameters": [
  3363. {
  3364. "description": "file",
  3365. "name": "file",
  3366. "in": "body",
  3367. "required": true,
  3368. "schema": {
  3369. "type": "string"
  3370. }
  3371. }
  3372. ],
  3373. "responses": {
  3374. "0": {
  3375. "description": "{\"code\": 200, \"data\": [...]}",
  3376. "schema": {
  3377. "$ref": "#/definitions/response.Response"
  3378. }
  3379. }
  3380. }
  3381. }
  3382. },
  3383. "/system/user/avatar": {
  3384. "post": {
  3385. "security": [
  3386. {
  3387. "": []
  3388. }
  3389. ],
  3390. "description": "头像上传上传",
  3391. "tags": [
  3392. "个人中心"
  3393. ],
  3394. "summary": "头像上传上传",
  3395. "parameters": [
  3396. {
  3397. "description": "avatarfile",
  3398. "name": "avatarfile",
  3399. "in": "body",
  3400. "required": true,
  3401. "schema": {
  3402. "type": "string"
  3403. }
  3404. }
  3405. ],
  3406. "responses": {
  3407. "0": {
  3408. "description": "{\"code\": 200, \"data\": [...]}",
  3409. "schema": {
  3410. "$ref": "#/definitions/response.Response"
  3411. }
  3412. }
  3413. }
  3414. }
  3415. },
  3416. "/system/user/edit": {
  3417. "post": {
  3418. "security": [
  3419. {
  3420. "": []
  3421. }
  3422. ],
  3423. "description": "修改用户信息",
  3424. "tags": [
  3425. "个人中心"
  3426. ],
  3427. "summary": "修改用户信息",
  3428. "responses": {
  3429. "0": {
  3430. "description": "{\"code\": 200, \"data\": [...]}",
  3431. "schema": {
  3432. "$ref": "#/definitions/response.Response"
  3433. }
  3434. }
  3435. }
  3436. }
  3437. },
  3438. "/system/user/profile": {
  3439. "post": {
  3440. "security": [
  3441. {
  3442. "": []
  3443. }
  3444. ],
  3445. "description": "获取当前登录用户详情",
  3446. "tags": [
  3447. "个人中心"
  3448. ],
  3449. "summary": "获取当前登录用户详情",
  3450. "responses": {
  3451. "0": {
  3452. "description": "{\"code\": 200, \"data\": [...]}",
  3453. "schema": {
  3454. "$ref": "#/definitions/response.Response"
  3455. }
  3456. }
  3457. }
  3458. }
  3459. },
  3460. "/system/user/updatePwd": {
  3461. "post": {
  3462. "security": [
  3463. {
  3464. "": []
  3465. }
  3466. ],
  3467. "description": "修改密码",
  3468. "tags": [
  3469. "个人中心"
  3470. ],
  3471. "summary": "修改密码",
  3472. "responses": {
  3473. "0": {
  3474. "description": "{\"code\": 200, \"data\": [...]}",
  3475. "schema": {
  3476. "$ref": "#/definitions/response.Response"
  3477. }
  3478. }
  3479. }
  3480. }
  3481. }
  3482. },
  3483. "definitions": {
  3484. "auth_rule.MenuReq": {
  3485. "type": "object",
  3486. "properties": {
  3487. "alwaysShow": {
  3488. "type": "integer"
  3489. },
  3490. "component": {
  3491. "type": "string"
  3492. },
  3493. "condition": {
  3494. "type": "string"
  3495. },
  3496. "icon": {
  3497. "type": "string"
  3498. },
  3499. "isFrame": {
  3500. "type": "integer"
  3501. },
  3502. "menuType": {
  3503. "type": "integer"
  3504. },
  3505. "name": {
  3506. "type": "string"
  3507. },
  3508. "path": {
  3509. "type": "string"
  3510. },
  3511. "pid": {
  3512. "type": "integer"
  3513. },
  3514. "remark": {
  3515. "type": "string"
  3516. },
  3517. "status": {
  3518. "type": "integer"
  3519. },
  3520. "title": {
  3521. "type": "string"
  3522. },
  3523. "weigh": {
  3524. "type": "integer"
  3525. }
  3526. }
  3527. },
  3528. "auth_rule.ReqSearch": {
  3529. "type": "object",
  3530. "properties": {
  3531. "status": {
  3532. "type": "string"
  3533. },
  3534. "title": {
  3535. "type": "string"
  3536. }
  3537. }
  3538. },
  3539. "cms_category.ReqAdd": {
  3540. "type": "object",
  3541. "properties": {
  3542. "alias": {
  3543. "type": "string"
  3544. },
  3545. "cateAddress": {
  3546. "type": "string"
  3547. },
  3548. "cateContent": {
  3549. "type": "string"
  3550. },
  3551. "cateType": {
  3552. "type": "integer"
  3553. },
  3554. "contentTemplate": {
  3555. "type": "string"
  3556. },
  3557. "description": {
  3558. "type": "string"
  3559. },
  3560. "inputSeoDescription": {
  3561. "type": "string"
  3562. },
  3563. "inputSeoKeywords": {
  3564. "type": "string"
  3565. },
  3566. "inputSeoTitle": {
  3567. "type": "string"
  3568. },
  3569. "listTemplate": {
  3570. "type": "string"
  3571. },
  3572. "modelId": {
  3573. "type": "integer"
  3574. },
  3575. "name": {
  3576. "type": "string"
  3577. },
  3578. "parentId": {
  3579. "type": "integer"
  3580. },
  3581. "status": {
  3582. "type": "integer"
  3583. },
  3584. "thumbnail": {
  3585. "type": "string"
  3586. }
  3587. }
  3588. },
  3589. "cms_category.ReqEdit": {
  3590. "type": "object",
  3591. "properties": {
  3592. "alias": {
  3593. "type": "string"
  3594. },
  3595. "cateAddress": {
  3596. "type": "string"
  3597. },
  3598. "cateContent": {
  3599. "type": "string"
  3600. },
  3601. "cateType": {
  3602. "type": "integer"
  3603. },
  3604. "contentTemplate": {
  3605. "type": "string"
  3606. },
  3607. "description": {
  3608. "type": "string"
  3609. },
  3610. "id": {
  3611. "type": "integer"
  3612. },
  3613. "inputSeoDescription": {
  3614. "type": "string"
  3615. },
  3616. "inputSeoKeywords": {
  3617. "type": "string"
  3618. },
  3619. "inputSeoTitle": {
  3620. "type": "string"
  3621. },
  3622. "listTemplate": {
  3623. "type": "string"
  3624. },
  3625. "modelId": {
  3626. "type": "integer"
  3627. },
  3628. "name": {
  3629. "type": "string"
  3630. },
  3631. "parentId": {
  3632. "type": "integer"
  3633. },
  3634. "status": {
  3635. "type": "integer"
  3636. },
  3637. "thumbnail": {
  3638. "type": "string"
  3639. }
  3640. }
  3641. },
  3642. "cms_category.ReqSearchList": {
  3643. "type": "object",
  3644. "properties": {
  3645. "name": {
  3646. "type": "string"
  3647. },
  3648. "status": {
  3649. "type": "string"
  3650. }
  3651. }
  3652. },
  3653. "cms_news.ReqAddParams": {
  3654. "type": "object",
  3655. "properties": {
  3656. "attr": {
  3657. "description": "文章标记 置顶 推荐",
  3658. "type": "array",
  3659. "items": {
  3660. "type": "integer"
  3661. }
  3662. },
  3663. "isJump": {
  3664. "description": "是否跳转地址",
  3665. "type": "integer"
  3666. },
  3667. "jumpUrl": {
  3668. "description": "跳转地址",
  3669. "type": "string"
  3670. },
  3671. "modelForm": {
  3672. "type": "object",
  3673. "additionalProperties": true
  3674. },
  3675. "newsExcerpt": {
  3676. "description": "post摘要",
  3677. "type": "string"
  3678. },
  3679. "newsKeywords": {
  3680. "description": "seo keywords",
  3681. "type": "string"
  3682. },
  3683. "newsSource": {
  3684. "description": "转载文章的来源",
  3685. "type": "string"
  3686. },
  3687. "newsStatus": {
  3688. "description": "状态;1:已发布;0:未发布;",
  3689. "type": "integer"
  3690. },
  3691. "newsTitle": {
  3692. "description": "post标题",
  3693. "type": "string"
  3694. },
  3695. "publishedTime": {
  3696. "description": "发布时间",
  3697. "type": "string"
  3698. },
  3699. "thumbnail": {
  3700. "description": "缩略图",
  3701. "type": "string"
  3702. }
  3703. }
  3704. },
  3705. "cms_news.ReqEditParams": {
  3706. "type": "object",
  3707. "properties": {
  3708. "attr": {
  3709. "description": "文章标记 置顶 推荐",
  3710. "type": "array",
  3711. "items": {
  3712. "type": "integer"
  3713. }
  3714. },
  3715. "id": {
  3716. "type": "integer"
  3717. },
  3718. "isJump": {
  3719. "description": "是否跳转地址",
  3720. "type": "integer"
  3721. },
  3722. "jumpUrl": {
  3723. "description": "跳转地址",
  3724. "type": "string"
  3725. },
  3726. "modelForm": {
  3727. "type": "object",
  3728. "additionalProperties": true
  3729. },
  3730. "newsExcerpt": {
  3731. "description": "post摘要",
  3732. "type": "string"
  3733. },
  3734. "newsKeywords": {
  3735. "description": "seo keywords",
  3736. "type": "string"
  3737. },
  3738. "newsSource": {
  3739. "description": "转载文章的来源",
  3740. "type": "string"
  3741. },
  3742. "newsStatus": {
  3743. "description": "状态;1:已发布;0:未发布;",
  3744. "type": "integer"
  3745. },
  3746. "newsTitle": {
  3747. "description": "post标题",
  3748. "type": "string"
  3749. },
  3750. "publishedTime": {
  3751. "description": "发布时间",
  3752. "type": "string"
  3753. },
  3754. "thumbnail": {
  3755. "description": "缩略图",
  3756. "type": "string"
  3757. }
  3758. }
  3759. },
  3760. "cms_news.ReqListSearchParams": {
  3761. "type": "object",
  3762. "properties": {
  3763. "cateId": {
  3764. "type": "array",
  3765. "items": {
  3766. "type": "integer"
  3767. }
  3768. },
  3769. "keyWords": {
  3770. "type": "string"
  3771. },
  3772. "pageNum": {
  3773. "description": "当前页码",
  3774. "type": "integer"
  3775. },
  3776. "pageSize": {
  3777. "description": "每页数",
  3778. "type": "integer"
  3779. },
  3780. "publishedTimeEnd": {
  3781. "type": "string"
  3782. },
  3783. "publishedTimeStart": {
  3784. "type": "string"
  3785. }
  3786. }
  3787. },
  3788. "gen_table.EditReq": {
  3789. "type": "object",
  3790. "properties": {
  3791. "businessName": {
  3792. "type": "string"
  3793. },
  3794. "className": {
  3795. "type": "string"
  3796. },
  3797. "columns": {
  3798. "type": "string"
  3799. },
  3800. "functionAuthor": {
  3801. "type": "string"
  3802. },
  3803. "functionName": {
  3804. "type": "string"
  3805. },
  3806. "moduleName": {
  3807. "type": "string"
  3808. },
  3809. "packageName": {
  3810. "type": "string"
  3811. },
  3812. "params": {
  3813. "type": "string"
  3814. },
  3815. "remark": {
  3816. "type": "string"
  3817. },
  3818. "tableComment": {
  3819. "type": "string"
  3820. },
  3821. "tableId": {
  3822. "type": "integer"
  3823. },
  3824. "tableName": {
  3825. "type": "string"
  3826. },
  3827. "tplCategory": {
  3828. "type": "string"
  3829. },
  3830. "treeCode": {
  3831. "type": "string"
  3832. },
  3833. "treeName": {
  3834. "type": "string"
  3835. },
  3836. "treeParentCode": {
  3837. "type": "string"
  3838. },
  3839. "userName": {
  3840. "type": "string"
  3841. }
  3842. }
  3843. },
  3844. "gen_table.SelectPageReq": {
  3845. "type": "object",
  3846. "properties": {
  3847. "beginTime": {
  3848. "description": "开始时间",
  3849. "type": "string"
  3850. },
  3851. "endTime": {
  3852. "description": "结束时间",
  3853. "type": "string"
  3854. },
  3855. "pageNum": {
  3856. "description": "当前页码",
  3857. "type": "integer"
  3858. },
  3859. "pageSize": {
  3860. "description": "每页数",
  3861. "type": "integer"
  3862. },
  3863. "tableComment": {
  3864. "description": "表描述",
  3865. "type": "string"
  3866. },
  3867. "tableName": {
  3868. "description": "表名称",
  3869. "type": "string"
  3870. }
  3871. }
  3872. },
  3873. "model_category.AddReq": {
  3874. "type": "object",
  3875. "properties": {
  3876. "cname": {
  3877. "type": "string"
  3878. },
  3879. "createBy": {
  3880. "type": "integer"
  3881. },
  3882. "csort": {
  3883. "type": "integer"
  3884. },
  3885. "cstatus": {
  3886. "type": "integer"
  3887. }
  3888. }
  3889. },
  3890. "model_category.EditReq": {
  3891. "type": "object",
  3892. "properties": {
  3893. "cid": {
  3894. "type": "integer"
  3895. },
  3896. "cname": {
  3897. "type": "string"
  3898. },
  3899. "csort": {
  3900. "type": "integer"
  3901. },
  3902. "cstatus": {
  3903. "type": "integer"
  3904. },
  3905. "updateBy": {
  3906. "type": "integer"
  3907. }
  3908. }
  3909. },
  3910. "model_category.SearchReq": {
  3911. "type": "object",
  3912. "properties": {
  3913. "name": {
  3914. "type": "string"
  3915. },
  3916. "pageNum": {
  3917. "description": "当前页码",
  3918. "type": "integer"
  3919. },
  3920. "pageSize": {
  3921. "description": "每页数",
  3922. "type": "integer"
  3923. },
  3924. "status": {
  3925. "type": "string"
  3926. }
  3927. }
  3928. },
  3929. "model_info.AddReq": {
  3930. "type": "object",
  3931. "properties": {
  3932. "createBy": {
  3933. "description": "添加人",
  3934. "type": "integer"
  3935. },
  3936. "modelCategoryId": {
  3937. "type": "integer"
  3938. },
  3939. "modelEngine": {
  3940. "type": "string"
  3941. },
  3942. "modelName": {
  3943. "type": "string"
  3944. },
  3945. "modelStatus": {
  3946. "type": "integer"
  3947. },
  3948. "modelTitle": {
  3949. "type": "string"
  3950. }
  3951. }
  3952. },
  3953. "model_info.EditReq": {
  3954. "type": "object",
  3955. "properties": {
  3956. "modelCategoryId": {
  3957. "type": "integer"
  3958. },
  3959. "modelEngine": {
  3960. "type": "string"
  3961. },
  3962. "modelId": {
  3963. "type": "integer"
  3964. },
  3965. "modelName": {
  3966. "type": "string"
  3967. },
  3968. "modelStatus": {
  3969. "type": "integer"
  3970. },
  3971. "modelTitle": {
  3972. "type": "string"
  3973. },
  3974. "updateBy": {
  3975. "type": "integer"
  3976. }
  3977. }
  3978. },
  3979. "model_info.RemoveReq": {
  3980. "type": "object",
  3981. "properties": {
  3982. "ids": {
  3983. "description": "删除id",
  3984. "type": "array",
  3985. "items": {
  3986. "type": "integer"
  3987. }
  3988. }
  3989. }
  3990. },
  3991. "model_info.SelectPageReq": {
  3992. "type": "object",
  3993. "properties": {
  3994. "beginTime": {
  3995. "description": "开始时间",
  3996. "type": "string"
  3997. },
  3998. "endTime": {
  3999. "description": "结束时间",
  4000. "type": "string"
  4001. },
  4002. "modelCategoryId": {
  4003. "description": "模型分类",
  4004. "type": "string"
  4005. },
  4006. "modelName": {
  4007. "description": "模型标识",
  4008. "type": "string"
  4009. },
  4010. "modelStatus": {
  4011. "description": "模型状态",
  4012. "type": "string"
  4013. },
  4014. "modelTitle": {
  4015. "description": "模型名称",
  4016. "type": "string"
  4017. },
  4018. "pageNum": {
  4019. "description": "当前页码",
  4020. "type": "integer"
  4021. },
  4022. "pageSize": {
  4023. "description": "每页数",
  4024. "type": "integer"
  4025. }
  4026. }
  4027. },
  4028. "model_info.StatusSetReq": {
  4029. "type": "object",
  4030. "properties": {
  4031. "modelId": {
  4032. "type": "integer"
  4033. },
  4034. "modelStatus": {
  4035. "type": "integer"
  4036. }
  4037. }
  4038. },
  4039. "plug_ad.AddReq": {
  4040. "type": "object",
  4041. "properties": {
  4042. "adAdtypeid": {
  4043. "description": "所属位置",
  4044. "type": "integer"
  4045. },
  4046. "adCheckid": {
  4047. "description": "1=图片 2=JS",
  4048. "type": "integer"
  4049. },
  4050. "adContent": {
  4051. "description": "广告文字内容",
  4052. "type": "string"
  4053. },
  4054. "adJs": {
  4055. "description": "JS代码",
  4056. "type": "string"
  4057. },
  4058. "adName": {
  4059. "description": "广告名称",
  4060. "type": "string"
  4061. },
  4062. "adOpen": {
  4063. "description": "1=审核 0=未审核",
  4064. "type": "integer"
  4065. },
  4066. "adPic": {
  4067. "description": "广告图片URL",
  4068. "type": "string"
  4069. },
  4070. "adSort": {
  4071. "description": "排序",
  4072. "type": "integer"
  4073. },
  4074. "adUrl": {
  4075. "description": "广告链接",
  4076. "type": "string"
  4077. }
  4078. }
  4079. },
  4080. "plug_ad.EditReq": {
  4081. "type": "object",
  4082. "properties": {
  4083. "adAdtypeid": {
  4084. "description": "所属位置",
  4085. "type": "integer"
  4086. },
  4087. "adCheckid": {
  4088. "description": "1=图片 2=JS",
  4089. "type": "integer"
  4090. },
  4091. "adContent": {
  4092. "description": "广告文字内容",
  4093. "type": "string"
  4094. },
  4095. "adJs": {
  4096. "description": "JS代码",
  4097. "type": "string"
  4098. },
  4099. "adName": {
  4100. "description": "广告名称",
  4101. "type": "string"
  4102. },
  4103. "adOpen": {
  4104. "description": "1=审核 0=未审核",
  4105. "type": "integer"
  4106. },
  4107. "adPic": {
  4108. "description": "广告图片URL",
  4109. "type": "string"
  4110. },
  4111. "adSort": {
  4112. "description": "排序",
  4113. "type": "integer"
  4114. },
  4115. "adUrl": {
  4116. "description": "广告链接",
  4117. "type": "string"
  4118. },
  4119. "plugAdID": {
  4120. "type": "integer"
  4121. }
  4122. }
  4123. },
  4124. "plug_ad.SelectPageReq": {
  4125. "type": "object",
  4126. "properties": {
  4127. "adName": {
  4128. "description": "广告名称",
  4129. "type": "string"
  4130. },
  4131. "pageNo": {
  4132. "description": "当前页",
  4133. "type": "integer"
  4134. },
  4135. "pageSize": {
  4136. "description": "每页显示记录数",
  4137. "type": "integer"
  4138. }
  4139. }
  4140. },
  4141. "plug_adtype.AddReq": {
  4142. "type": "object",
  4143. "properties": {
  4144. "adtypeName": {
  4145. "description": "广告位名称",
  4146. "type": "string"
  4147. },
  4148. "adtypeSort": {
  4149. "description": "广告位排序",
  4150. "type": "integer"
  4151. }
  4152. }
  4153. },
  4154. "plug_adtype.EditReq": {
  4155. "type": "object",
  4156. "properties": {
  4157. "adtypeID": {
  4158. "type": "integer"
  4159. },
  4160. "adtypeName": {
  4161. "description": "广告位名称",
  4162. "type": "string"
  4163. },
  4164. "adtypeSort": {
  4165. "description": "广告位排序",
  4166. "type": "integer"
  4167. }
  4168. }
  4169. },
  4170. "plug_adtype.SelectPageReq": {
  4171. "type": "object",
  4172. "properties": {
  4173. "adtypeName": {
  4174. "description": "广告位名称",
  4175. "type": "string"
  4176. },
  4177. "pageNo": {
  4178. "description": "当前页",
  4179. "type": "integer"
  4180. },
  4181. "pageSize": {
  4182. "description": "每页显示记录数",
  4183. "type": "integer"
  4184. }
  4185. }
  4186. },
  4187. "response.Response": {
  4188. "type": "object",
  4189. "properties": {
  4190. "code": {
  4191. "description": "代码",
  4192. "type": "integer",
  4193. "example": 200
  4194. },
  4195. "data": {
  4196. "description": "数据集",
  4197. "type": "object"
  4198. },
  4199. "msg": {
  4200. "description": "消息",
  4201. "type": "string"
  4202. }
  4203. }
  4204. },
  4205. "role.DataScopeReq": {
  4206. "type": "object",
  4207. "properties": {
  4208. "dataScope": {
  4209. "type": "integer"
  4210. },
  4211. "deptIds": {
  4212. "type": "array",
  4213. "items": {
  4214. "type": "integer"
  4215. }
  4216. },
  4217. "roleId": {
  4218. "type": "integer"
  4219. }
  4220. }
  4221. },
  4222. "role.SelectPageReq": {
  4223. "type": "object",
  4224. "properties": {
  4225. "beginTime": {
  4226. "description": "开始时间",
  4227. "type": "string"
  4228. },
  4229. "endTime": {
  4230. "description": "结束时间",
  4231. "type": "string"
  4232. },
  4233. "pageNum": {
  4234. "description": "当前页码",
  4235. "type": "integer"
  4236. },
  4237. "pageSize": {
  4238. "description": "每页数",
  4239. "type": "integer"
  4240. },
  4241. "roleName": {
  4242. "description": "参数名称",
  4243. "type": "string"
  4244. },
  4245. "status": {
  4246. "description": "状态",
  4247. "type": "string"
  4248. }
  4249. }
  4250. },
  4251. "role.StatusSetReq": {
  4252. "type": "object",
  4253. "properties": {
  4254. "roleId": {
  4255. "type": "integer"
  4256. },
  4257. "status": {
  4258. "type": "integer"
  4259. }
  4260. }
  4261. },
  4262. "sys_config.AddReq": {
  4263. "type": "object",
  4264. "properties": {
  4265. "configKey": {
  4266. "type": "string"
  4267. },
  4268. "configName": {
  4269. "type": "string"
  4270. },
  4271. "configType": {
  4272. "type": "integer"
  4273. },
  4274. "configValue": {
  4275. "type": "string"
  4276. },
  4277. "remark": {
  4278. "type": "string"
  4279. }
  4280. }
  4281. },
  4282. "sys_config.EditReq": {
  4283. "type": "object",
  4284. "properties": {
  4285. "configId": {
  4286. "type": "integer"
  4287. },
  4288. "configKey": {
  4289. "type": "string"
  4290. },
  4291. "configName": {
  4292. "type": "string"
  4293. },
  4294. "configType": {
  4295. "type": "integer"
  4296. },
  4297. "configValue": {
  4298. "type": "string"
  4299. },
  4300. "remark": {
  4301. "type": "string"
  4302. }
  4303. }
  4304. },
  4305. "sys_config.SelectPageReq": {
  4306. "type": "object",
  4307. "properties": {
  4308. "beginTime": {
  4309. "description": "开始时间",
  4310. "type": "string"
  4311. },
  4312. "configKey": {
  4313. "description": "参数键名",
  4314. "type": "string"
  4315. },
  4316. "configName": {
  4317. "description": "参数名称",
  4318. "type": "string"
  4319. },
  4320. "configType": {
  4321. "description": "状态",
  4322. "type": "string"
  4323. },
  4324. "endTime": {
  4325. "description": "结束时间",
  4326. "type": "string"
  4327. },
  4328. "pageNum": {
  4329. "description": "当前页码",
  4330. "type": "integer"
  4331. },
  4332. "pageSize": {
  4333. "description": "每页数",
  4334. "type": "integer"
  4335. }
  4336. }
  4337. },
  4338. "sys_dept.AddParams": {
  4339. "type": "object",
  4340. "properties": {
  4341. "ancestors": {
  4342. "type": "string"
  4343. },
  4344. "createBy": {
  4345. "type": "string"
  4346. },
  4347. "createTime": {
  4348. "type": "string"
  4349. },
  4350. "delFlag": {
  4351. "type": "string"
  4352. },
  4353. "deptName": {
  4354. "type": "string"
  4355. },
  4356. "email": {
  4357. "type": "string"
  4358. },
  4359. "leader": {
  4360. "type": "string"
  4361. },
  4362. "orderNum": {
  4363. "type": "integer"
  4364. },
  4365. "parentId": {
  4366. "type": "integer"
  4367. },
  4368. "phone": {
  4369. "type": "string"
  4370. },
  4371. "status": {
  4372. "type": "string"
  4373. },
  4374. "updateBy": {
  4375. "type": "string"
  4376. },
  4377. "updateTime": {
  4378. "type": "string"
  4379. }
  4380. }
  4381. },
  4382. "sys_dept.EditParams": {
  4383. "type": "object",
  4384. "properties": {
  4385. "ancestors": {
  4386. "type": "string"
  4387. },
  4388. "createBy": {
  4389. "type": "string"
  4390. },
  4391. "createTime": {
  4392. "type": "string"
  4393. },
  4394. "delFlag": {
  4395. "type": "string"
  4396. },
  4397. "deptId": {
  4398. "type": "integer"
  4399. },
  4400. "deptName": {
  4401. "type": "string"
  4402. },
  4403. "email": {
  4404. "type": "string"
  4405. },
  4406. "leader": {
  4407. "type": "string"
  4408. },
  4409. "orderNum": {
  4410. "type": "integer"
  4411. },
  4412. "parentId": {
  4413. "type": "integer"
  4414. },
  4415. "phone": {
  4416. "type": "string"
  4417. },
  4418. "status": {
  4419. "type": "string"
  4420. },
  4421. "updateBy": {
  4422. "type": "string"
  4423. },
  4424. "updateTime": {
  4425. "type": "string"
  4426. }
  4427. }
  4428. },
  4429. "sys_dept.SearchParams": {
  4430. "type": "object",
  4431. "properties": {
  4432. "deptName": {
  4433. "type": "string"
  4434. },
  4435. "status": {
  4436. "type": "string"
  4437. }
  4438. }
  4439. },
  4440. "sys_dict_data.AddDataReq": {
  4441. "type": "object",
  4442. "properties": {
  4443. "cssClass": {
  4444. "type": "string"
  4445. },
  4446. "dictLabel": {
  4447. "type": "string"
  4448. },
  4449. "dictSort": {
  4450. "type": "integer"
  4451. },
  4452. "dictType": {
  4453. "type": "string"
  4454. },
  4455. "dictValue": {
  4456. "type": "string"
  4457. },
  4458. "isDefault": {
  4459. "type": "integer"
  4460. },
  4461. "listClass": {
  4462. "type": "string"
  4463. },
  4464. "remark": {
  4465. "type": "string"
  4466. },
  4467. "status": {
  4468. "type": "integer"
  4469. }
  4470. }
  4471. },
  4472. "sys_dict_data.EditDataReq": {
  4473. "type": "object",
  4474. "properties": {
  4475. "cssClass": {
  4476. "type": "string"
  4477. },
  4478. "dictCode": {
  4479. "type": "integer"
  4480. },
  4481. "dictLabel": {
  4482. "type": "string"
  4483. },
  4484. "dictSort": {
  4485. "type": "integer"
  4486. },
  4487. "dictType": {
  4488. "type": "string"
  4489. },
  4490. "dictValue": {
  4491. "type": "string"
  4492. },
  4493. "isDefault": {
  4494. "type": "integer"
  4495. },
  4496. "listClass": {
  4497. "type": "string"
  4498. },
  4499. "remark": {
  4500. "type": "string"
  4501. },
  4502. "status": {
  4503. "type": "integer"
  4504. }
  4505. }
  4506. },
  4507. "sys_dict_data.SelectDataPageReq": {
  4508. "type": "object",
  4509. "properties": {
  4510. "dictLabel": {
  4511. "description": "字典标签",
  4512. "type": "string"
  4513. },
  4514. "dictType": {
  4515. "description": "字典类型",
  4516. "type": "string"
  4517. },
  4518. "pageNum": {
  4519. "description": "当前页码",
  4520. "type": "integer"
  4521. },
  4522. "pageSize": {
  4523. "description": "每页数",
  4524. "type": "integer"
  4525. },
  4526. "status": {
  4527. "description": "状态",
  4528. "type": "string"
  4529. }
  4530. }
  4531. },
  4532. "sys_dict_type.AddReq": {
  4533. "type": "object",
  4534. "properties": {
  4535. "dictName": {
  4536. "type": "string"
  4537. },
  4538. "dictType": {
  4539. "type": "string"
  4540. },
  4541. "remark": {
  4542. "type": "string"
  4543. },
  4544. "status": {
  4545. "type": "integer"
  4546. }
  4547. }
  4548. },
  4549. "sys_dict_type.EditReq": {
  4550. "type": "object",
  4551. "properties": {
  4552. "dictId": {
  4553. "type": "integer"
  4554. },
  4555. "dictName": {
  4556. "type": "string"
  4557. },
  4558. "dictType": {
  4559. "type": "string"
  4560. },
  4561. "remark": {
  4562. "type": "string"
  4563. },
  4564. "status": {
  4565. "type": "integer"
  4566. }
  4567. }
  4568. },
  4569. "sys_dict_type.SelectPageReq": {
  4570. "type": "object",
  4571. "properties": {
  4572. "beginTime": {
  4573. "description": "开始时间",
  4574. "type": "string"
  4575. },
  4576. "dictName": {
  4577. "description": "字典名称",
  4578. "type": "string"
  4579. },
  4580. "dictType": {
  4581. "description": "字典类型",
  4582. "type": "string"
  4583. },
  4584. "endTime": {
  4585. "description": "结束时间",
  4586. "type": "string"
  4587. },
  4588. "pageNum": {
  4589. "description": "当前页码",
  4590. "type": "integer"
  4591. },
  4592. "pageSize": {
  4593. "description": "每页数",
  4594. "type": "integer"
  4595. },
  4596. "status": {
  4597. "description": "字典状态",
  4598. "type": "string"
  4599. }
  4600. }
  4601. },
  4602. "sys_job.ReqAdd": {
  4603. "type": "object",
  4604. "properties": {
  4605. "concurrent": {
  4606. "type": "integer"
  4607. },
  4608. "cronExpression": {
  4609. "type": "string"
  4610. },
  4611. "invokeTarget": {
  4612. "type": "string"
  4613. },
  4614. "jobGroup": {
  4615. "type": "string"
  4616. },
  4617. "jobName": {
  4618. "type": "string"
  4619. },
  4620. "jobParams": {
  4621. "description": "任务参数",
  4622. "type": "string"
  4623. },
  4624. "misfirePolicy": {
  4625. "type": "integer"
  4626. },
  4627. "remark": {
  4628. "type": "string"
  4629. },
  4630. "status": {
  4631. "type": "integer"
  4632. }
  4633. }
  4634. },
  4635. "sys_job.ReqEdit": {
  4636. "type": "object",
  4637. "properties": {
  4638. "concurrent": {
  4639. "type": "integer"
  4640. },
  4641. "cronExpression": {
  4642. "type": "string"
  4643. },
  4644. "invokeTarget": {
  4645. "type": "string"
  4646. },
  4647. "jobGroup": {
  4648. "type": "string"
  4649. },
  4650. "jobId": {
  4651. "type": "integer"
  4652. },
  4653. "jobName": {
  4654. "type": "string"
  4655. },
  4656. "jobParams": {
  4657. "description": "任务参数",
  4658. "type": "string"
  4659. },
  4660. "misfirePolicy": {
  4661. "type": "integer"
  4662. },
  4663. "remark": {
  4664. "type": "string"
  4665. },
  4666. "status": {
  4667. "type": "integer"
  4668. }
  4669. }
  4670. },
  4671. "sys_job.SelectPageReq": {
  4672. "type": "object",
  4673. "properties": {
  4674. "jobGroup": {
  4675. "description": "任务组名",
  4676. "type": "string"
  4677. },
  4678. "jobName": {
  4679. "description": "任务名称",
  4680. "type": "string"
  4681. },
  4682. "pageNum": {
  4683. "description": "当前页码",
  4684. "type": "integer"
  4685. },
  4686. "pageSize": {
  4687. "description": "每页数",
  4688. "type": "integer"
  4689. },
  4690. "status": {
  4691. "description": "状态(0正常 1暂停)",
  4692. "type": "string"
  4693. }
  4694. }
  4695. },
  4696. "sys_login_log.SelectPageReq": {
  4697. "type": "object",
  4698. "properties": {
  4699. "beginTime": {
  4700. "description": "数据范围",
  4701. "type": "string"
  4702. },
  4703. "endTime": {
  4704. "description": "开始时间",
  4705. "type": "string"
  4706. },
  4707. "ipaddr": {
  4708. "description": "登录地址",
  4709. "type": "string"
  4710. },
  4711. "loginName": {
  4712. "description": "登陆名",
  4713. "type": "string"
  4714. },
  4715. "pageNum": {
  4716. "description": "当前页码",
  4717. "type": "integer"
  4718. },
  4719. "pageSize": {
  4720. "description": "每页数",
  4721. "type": "integer"
  4722. },
  4723. "sortName": {
  4724. "description": "排序字段",
  4725. "type": "string"
  4726. },
  4727. "sortOrder": {
  4728. "description": "排序方式",
  4729. "type": "string"
  4730. },
  4731. "status": {
  4732. "description": "状态",
  4733. "type": "string"
  4734. }
  4735. }
  4736. },
  4737. "sys_oper_log.SelectPageReq": {
  4738. "type": "object",
  4739. "properties": {
  4740. "beginTime": {
  4741. "description": "数据范围",
  4742. "type": "string"
  4743. },
  4744. "endTime": {
  4745. "description": "开始时间",
  4746. "type": "string"
  4747. },
  4748. "operName": {
  4749. "description": "操作人员",
  4750. "type": "string"
  4751. },
  4752. "pageNum": {
  4753. "description": "当前页码",
  4754. "type": "integer"
  4755. },
  4756. "pageSize": {
  4757. "description": "每页数",
  4758. "type": "integer"
  4759. },
  4760. "sortName": {
  4761. "description": "排序字段",
  4762. "type": "string"
  4763. },
  4764. "sortOrder": {
  4765. "description": "排序方式",
  4766. "type": "string"
  4767. },
  4768. "status": {
  4769. "description": "操作状态",
  4770. "type": "string"
  4771. },
  4772. "title": {
  4773. "description": "系统模块",
  4774. "type": "string"
  4775. }
  4776. }
  4777. },
  4778. "sys_post.AddParams": {
  4779. "type": "object",
  4780. "properties": {
  4781. "addUser": {
  4782. "type": "integer"
  4783. },
  4784. "postCode": {
  4785. "type": "string"
  4786. },
  4787. "postName": {
  4788. "type": "string"
  4789. },
  4790. "postSort": {
  4791. "type": "integer"
  4792. },
  4793. "remark": {
  4794. "type": "string"
  4795. },
  4796. "status": {
  4797. "type": "string"
  4798. }
  4799. }
  4800. },
  4801. "sys_post.EditParams": {
  4802. "type": "object",
  4803. "properties": {
  4804. "addUser": {
  4805. "type": "integer"
  4806. },
  4807. "postCode": {
  4808. "type": "string"
  4809. },
  4810. "postId": {
  4811. "type": "integer"
  4812. },
  4813. "postName": {
  4814. "type": "string"
  4815. },
  4816. "postSort": {
  4817. "type": "integer"
  4818. },
  4819. "remark": {
  4820. "type": "string"
  4821. },
  4822. "status": {
  4823. "type": "string"
  4824. },
  4825. "upUser": {
  4826. "type": "integer"
  4827. }
  4828. }
  4829. },
  4830. "sys_post.SearchParams": {
  4831. "type": "object",
  4832. "properties": {
  4833. "pageNum": {
  4834. "description": "当前页码",
  4835. "type": "integer"
  4836. },
  4837. "pageSize": {
  4838. "description": "每页数",
  4839. "type": "integer"
  4840. },
  4841. "postCode": {
  4842. "description": "岗位编码",
  4843. "type": "string"
  4844. },
  4845. "postName": {
  4846. "description": "岗位名称",
  4847. "type": "string"
  4848. },
  4849. "status": {
  4850. "description": "状态",
  4851. "type": "string"
  4852. }
  4853. }
  4854. },
  4855. "user.AddUserReq": {
  4856. "type": "object",
  4857. "properties": {
  4858. "deptId": {
  4859. "description": "所属部门",
  4860. "type": "integer"
  4861. },
  4862. "email": {
  4863. "description": "邮箱",
  4864. "type": "string"
  4865. },
  4866. "isAdmin": {
  4867. "description": "是否后台管理员 1 是 0 否",
  4868. "type": "integer"
  4869. },
  4870. "nickName": {
  4871. "type": "string"
  4872. },
  4873. "password": {
  4874. "type": "string"
  4875. },
  4876. "phonenumber": {
  4877. "type": "string"
  4878. },
  4879. "postIds": {
  4880. "type": "array",
  4881. "items": {
  4882. "type": "integer"
  4883. }
  4884. },
  4885. "remark": {
  4886. "type": "string"
  4887. },
  4888. "roleIds": {
  4889. "type": "array",
  4890. "items": {
  4891. "type": "integer"
  4892. }
  4893. },
  4894. "sex": {
  4895. "type": "integer"
  4896. },
  4897. "status": {
  4898. "type": "integer"
  4899. },
  4900. "userName": {
  4901. "type": "string"
  4902. }
  4903. }
  4904. },
  4905. "user.EditUserReq": {
  4906. "type": "object",
  4907. "properties": {
  4908. "deptId": {
  4909. "description": "所属部门",
  4910. "type": "integer"
  4911. },
  4912. "email": {
  4913. "description": "邮箱",
  4914. "type": "string"
  4915. },
  4916. "isAdmin": {
  4917. "description": "是否后台管理员 1 是 0 否",
  4918. "type": "integer"
  4919. },
  4920. "nickName": {
  4921. "type": "string"
  4922. },
  4923. "phonenumber": {
  4924. "type": "string"
  4925. },
  4926. "postIds": {
  4927. "type": "array",
  4928. "items": {
  4929. "type": "integer"
  4930. }
  4931. },
  4932. "remark": {
  4933. "type": "string"
  4934. },
  4935. "roleIds": {
  4936. "type": "array",
  4937. "items": {
  4938. "type": "integer"
  4939. }
  4940. },
  4941. "sex": {
  4942. "type": "integer"
  4943. },
  4944. "status": {
  4945. "type": "integer"
  4946. },
  4947. "userId": {
  4948. "type": "integer"
  4949. }
  4950. }
  4951. },
  4952. "user.ResetPwdReq": {
  4953. "type": "object",
  4954. "properties": {
  4955. "id": {
  4956. "type": "integer"
  4957. },
  4958. "password": {
  4959. "type": "string"
  4960. }
  4961. }
  4962. },
  4963. "user.SearchReq": {
  4964. "type": "object",
  4965. "properties": {
  4966. "beginTime": {
  4967. "type": "string"
  4968. },
  4969. "deptId": {
  4970. "description": "部门id",
  4971. "type": "string"
  4972. },
  4973. "deptIds": {
  4974. "description": "所属部门id数据",
  4975. "type": "array",
  4976. "items": {
  4977. "type": "integer"
  4978. }
  4979. },
  4980. "endTime": {
  4981. "type": "string"
  4982. },
  4983. "keyWords": {
  4984. "type": "string"
  4985. },
  4986. "pageNum": {
  4987. "description": "当前页码",
  4988. "type": "integer"
  4989. },
  4990. "pageSize": {
  4991. "description": "每页数",
  4992. "type": "integer"
  4993. },
  4994. "phonenumber": {
  4995. "type": "string"
  4996. },
  4997. "status": {
  4998. "type": "string"
  4999. }
  5000. }
  5001. },
  5002. "user.StatusReq": {
  5003. "type": "object",
  5004. "properties": {
  5005. "id": {
  5006. "type": "integer"
  5007. },
  5008. "userStatus": {
  5009. "type": "integer"
  5010. }
  5011. }
  5012. },
  5013. "user_online.ReqListSearch": {
  5014. "type": "object",
  5015. "properties": {
  5016. "ip": {
  5017. "type": "string"
  5018. },
  5019. "pageNum": {
  5020. "description": "当前页码",
  5021. "type": "integer"
  5022. },
  5023. "pageSize": {
  5024. "description": "每页数",
  5025. "type": "integer"
  5026. },
  5027. "username": {
  5028. "type": "string"
  5029. }
  5030. }
  5031. }
  5032. }
  5033. }`
  5034. type swaggerInfo struct {
  5035. Version string
  5036. Host string
  5037. BasePath string
  5038. Schemes []string
  5039. Title string
  5040. Description string
  5041. }
  5042. // SwaggerInfo holds exported Swagger Info so clients can modify it
  5043. var SwaggerInfo = swaggerInfo{
  5044. Version: "1.0",
  5045. Host: "localhost",
  5046. BasePath: "/system",
  5047. Schemes: []string{},
  5048. Title: "gfast API文档",
  5049. Description: "gfast 在线API文档",
  5050. }
  5051. type s struct{}
  5052. func (s *s) ReadDoc() string {
  5053. sInfo := SwaggerInfo
  5054. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  5055. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  5056. "marshal": func(v interface{}) string {
  5057. a, _ := json.Marshal(v)
  5058. return string(a)
  5059. },
  5060. }).Parse(doc)
  5061. if err != nil {
  5062. return doc
  5063. }
  5064. var tpl bytes.Buffer
  5065. if err := t.Execute(&tpl, sInfo); err != nil {
  5066. return doc
  5067. }
  5068. return tpl.String()
  5069. }
  5070. func init() {
  5071. swag.Register(swag.Name, &s{})
  5072. }