swagger.yaml 111 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657
  1. definitions:
  2. config.AliyunOSS:
  3. properties:
  4. access-key-id:
  5. type: string
  6. access-key-secret:
  7. type: string
  8. base-path:
  9. type: string
  10. bucket-name:
  11. type: string
  12. bucket-url:
  13. type: string
  14. endpoint:
  15. type: string
  16. type: object
  17. config.Autocode:
  18. properties:
  19. root:
  20. type: string
  21. server:
  22. type: string
  23. server-api:
  24. type: string
  25. server-initialize:
  26. type: string
  27. server-model:
  28. type: string
  29. server-plug:
  30. type: string
  31. server-request:
  32. type: string
  33. server-router:
  34. type: string
  35. server-service:
  36. type: string
  37. transfer-restart:
  38. type: boolean
  39. web:
  40. type: string
  41. web-api:
  42. type: string
  43. web-form:
  44. type: string
  45. web-table:
  46. type: string
  47. type: object
  48. config.AwsS3:
  49. properties:
  50. base-url:
  51. type: string
  52. bucket:
  53. type: string
  54. disable-ssl:
  55. type: boolean
  56. endpoint:
  57. type: string
  58. path-prefix:
  59. type: string
  60. region:
  61. type: string
  62. s3-force-path-style:
  63. type: boolean
  64. secret-id:
  65. type: string
  66. secret-key:
  67. type: string
  68. type: object
  69. config.CORS:
  70. properties:
  71. mode:
  72. type: string
  73. whitelist:
  74. items:
  75. $ref: '#/definitions/config.CORSWhitelist'
  76. type: array
  77. type: object
  78. config.CORSWhitelist:
  79. properties:
  80. allow-credentials:
  81. type: boolean
  82. allow-headers:
  83. type: string
  84. allow-methods:
  85. type: string
  86. allow-origin:
  87. type: string
  88. expose-headers:
  89. type: string
  90. type: object
  91. config.Captcha:
  92. properties:
  93. img-height:
  94. description: 验证码高度
  95. type: integer
  96. img-width:
  97. description: 验证码宽度
  98. type: integer
  99. key-long:
  100. description: 验证码长度
  101. type: integer
  102. type: object
  103. config.Detail:
  104. properties:
  105. compareField:
  106. description: 需要比较时间的字段
  107. type: string
  108. interval:
  109. description: 时间间隔
  110. type: string
  111. tableName:
  112. description: 需要清理的表名
  113. type: string
  114. type: object
  115. config.Email:
  116. properties:
  117. from:
  118. description: 收件人
  119. type: string
  120. host:
  121. description: 服务器地址
  122. type: string
  123. is-ssl:
  124. description: 是否SSL
  125. type: boolean
  126. nickname:
  127. description: 昵称
  128. type: string
  129. port:
  130. description: 端口
  131. type: integer
  132. secret:
  133. description: 密钥
  134. type: string
  135. to:
  136. description: 收件人:多个以英文逗号分隔
  137. type: string
  138. type: object
  139. config.Excel:
  140. properties:
  141. dir:
  142. type: string
  143. type: object
  144. config.HuaWeiObs:
  145. properties:
  146. access-key:
  147. type: string
  148. bucket:
  149. type: string
  150. endpoint:
  151. type: string
  152. path:
  153. type: string
  154. secret-key:
  155. type: string
  156. type: object
  157. config.JWT:
  158. properties:
  159. buffer-time:
  160. description: 缓冲时间
  161. type: integer
  162. expires-time:
  163. description: 过期时间
  164. type: integer
  165. issuer:
  166. description: 签发者
  167. type: string
  168. signing-key:
  169. description: jwt签名
  170. type: string
  171. type: object
  172. config.Local:
  173. properties:
  174. path:
  175. description: 本地文件访问路径
  176. type: string
  177. store-path:
  178. description: 本地文件存储路径
  179. type: string
  180. type: object
  181. config.Mysql:
  182. properties:
  183. config:
  184. description: 高级配置
  185. type: string
  186. db-name:
  187. description: 数据库名
  188. type: string
  189. log-mode:
  190. description: 是否开启Gorm全局日志
  191. type: string
  192. log-zap:
  193. description: 是否通过zap写入日志文件
  194. type: boolean
  195. max-idle-conns:
  196. description: 空闲中的最大连接数
  197. type: integer
  198. max-open-conns:
  199. description: 打开到数据库的最大连接数
  200. type: integer
  201. password:
  202. description: 数据库密码
  203. type: string
  204. path:
  205. description: 服务器地址:端口
  206. type: string
  207. port:
  208. description: :端口
  209. type: string
  210. username:
  211. description: 数据库用户名
  212. type: string
  213. type: object
  214. config.Pgsql:
  215. properties:
  216. config:
  217. description: 高级配置
  218. type: string
  219. db-name:
  220. description: 数据库名
  221. type: string
  222. log-mode:
  223. description: 是否开启Gorm全局日志
  224. type: string
  225. log-zap:
  226. description: 是否通过zap写入日志文件
  227. type: boolean
  228. max-idle-conns:
  229. description: 空闲中的最大连接数
  230. type: integer
  231. max-open-conns:
  232. description: 打开到数据库的最大连接数
  233. type: integer
  234. password:
  235. description: 数据库密码
  236. type: string
  237. path:
  238. description: 服务器地址:端口
  239. type: string
  240. port:
  241. description: :端口
  242. type: string
  243. username:
  244. description: 数据库用户名
  245. type: string
  246. type: object
  247. config.Qiniu:
  248. properties:
  249. access-key:
  250. description: 秘钥AK
  251. type: string
  252. bucket:
  253. description: 空间名称
  254. type: string
  255. img-path:
  256. description: CDN加速域名
  257. type: string
  258. secret-key:
  259. description: 秘钥SK
  260. type: string
  261. use-cdn-domains:
  262. description: 上传是否使用CDN上传加速
  263. type: boolean
  264. use-https:
  265. description: 是否使用https
  266. type: boolean
  267. zone:
  268. description: 存储区域
  269. type: string
  270. type: object
  271. config.Redis:
  272. properties:
  273. addr:
  274. description: 服务器地址:端口
  275. type: string
  276. db:
  277. description: redis的哪个数据库
  278. type: integer
  279. password:
  280. description: 密码
  281. type: string
  282. type: object
  283. config.Server:
  284. properties:
  285. aliyun-oss:
  286. $ref: '#/definitions/config.AliyunOSS'
  287. autocode:
  288. $ref: '#/definitions/config.Autocode'
  289. description: auto
  290. aws-s3:
  291. $ref: '#/definitions/config.AwsS3'
  292. captcha:
  293. $ref: '#/definitions/config.Captcha'
  294. cors:
  295. $ref: '#/definitions/config.CORS'
  296. description: 跨域配置
  297. db-list:
  298. items:
  299. $ref: '#/definitions/config.SpecializedDB'
  300. type: array
  301. email:
  302. $ref: '#/definitions/config.Email'
  303. excel:
  304. $ref: '#/definitions/config.Excel'
  305. hua-wei-obs:
  306. $ref: '#/definitions/config.HuaWeiObs'
  307. jwt:
  308. $ref: '#/definitions/config.JWT'
  309. local:
  310. $ref: '#/definitions/config.Local'
  311. description: oss
  312. mysql:
  313. $ref: '#/definitions/config.Mysql'
  314. description: gorm
  315. pgsql:
  316. $ref: '#/definitions/config.Pgsql'
  317. qiniu:
  318. $ref: '#/definitions/config.Qiniu'
  319. redis:
  320. $ref: '#/definitions/config.Redis'
  321. system:
  322. $ref: '#/definitions/config.System'
  323. tencent-cos:
  324. $ref: '#/definitions/config.TencentCOS'
  325. timer:
  326. $ref: '#/definitions/config.Timer'
  327. zap:
  328. $ref: '#/definitions/config.Zap'
  329. type: object
  330. config.SpecializedDB:
  331. properties:
  332. alias-name:
  333. type: string
  334. config:
  335. description: 高级配置
  336. type: string
  337. db-name:
  338. description: 数据库名
  339. type: string
  340. disable:
  341. type: boolean
  342. log-mode:
  343. description: 是否开启Gorm全局日志
  344. type: string
  345. log-zap:
  346. description: 是否通过zap写入日志文件
  347. type: boolean
  348. max-idle-conns:
  349. description: 空闲中的最大连接数
  350. type: integer
  351. max-open-conns:
  352. description: 打开到数据库的最大连接数
  353. type: integer
  354. password:
  355. description: 数据库密码
  356. type: string
  357. path:
  358. description: 服务器地址:端口
  359. type: string
  360. port:
  361. description: :端口
  362. type: string
  363. type:
  364. type: string
  365. username:
  366. description: 数据库用户名
  367. type: string
  368. type: object
  369. config.System:
  370. properties:
  371. addr:
  372. description: 端口值
  373. type: integer
  374. db-type:
  375. description: 数据库类型:mysql(默认)|sqlite|sqlserver|postgresql
  376. type: string
  377. env:
  378. description: 环境值
  379. type: string
  380. iplimit-count:
  381. type: integer
  382. iplimit-time:
  383. type: integer
  384. oss-type:
  385. description: Oss类型
  386. type: string
  387. use-multipoint:
  388. description: 多点登录拦截
  389. type: boolean
  390. use-redis:
  391. description: 使用redis
  392. type: boolean
  393. type: object
  394. config.TencentCOS:
  395. properties:
  396. base-url:
  397. type: string
  398. bucket:
  399. type: string
  400. path-prefix:
  401. type: string
  402. region:
  403. type: string
  404. secret-id:
  405. type: string
  406. secret-key:
  407. type: string
  408. type: object
  409. config.Timer:
  410. properties:
  411. detail:
  412. items:
  413. $ref: '#/definitions/config.Detail'
  414. type: array
  415. spec:
  416. description: CRON表达式
  417. type: string
  418. start:
  419. description: 是否启用
  420. type: boolean
  421. type: object
  422. config.Zap:
  423. properties:
  424. director:
  425. description: 日志文件夹
  426. type: string
  427. encode-level:
  428. description: 编码级
  429. type: string
  430. format:
  431. description: 输出
  432. type: string
  433. level:
  434. description: 级别
  435. type: string
  436. log-in-console:
  437. description: 输出控制台
  438. type: boolean
  439. max-age:
  440. description: 日志留存时间
  441. type: integer
  442. prefix:
  443. description: 日志前缀
  444. type: string
  445. show-line:
  446. description: 显示行
  447. type: boolean
  448. stacktrace-key:
  449. description: 栈名
  450. type: string
  451. type: object
  452. example.ExaCustomer:
  453. properties:
  454. createdAt:
  455. description: 创建时间
  456. type: string
  457. customerName:
  458. description: 客户名
  459. type: string
  460. customerPhoneData:
  461. description: 客户手机号
  462. type: string
  463. id:
  464. description: 主键ID
  465. type: integer
  466. sysUser:
  467. $ref: '#/definitions/system.SysUser'
  468. description: 管理详情
  469. sysUserAuthorityID:
  470. description: 管理角色ID
  471. type: integer
  472. sysUserId:
  473. description: 管理ID
  474. type: integer
  475. updatedAt:
  476. description: 更新时间
  477. type: string
  478. type: object
  479. example.ExaFile:
  480. properties:
  481. chunkTotal:
  482. type: integer
  483. createdAt:
  484. description: 创建时间
  485. type: string
  486. exaFileChunk:
  487. items:
  488. $ref: '#/definitions/example.ExaFileChunk'
  489. type: array
  490. fileMd5:
  491. type: string
  492. fileName:
  493. type: string
  494. filePath:
  495. type: string
  496. id:
  497. description: 主键ID
  498. type: integer
  499. isFinish:
  500. type: boolean
  501. updatedAt:
  502. description: 更新时间
  503. type: string
  504. type: object
  505. example.ExaFileChunk:
  506. properties:
  507. createdAt:
  508. description: 创建时间
  509. type: string
  510. exaFileID:
  511. type: integer
  512. fileChunkNumber:
  513. type: integer
  514. fileChunkPath:
  515. type: string
  516. id:
  517. description: 主键ID
  518. type: integer
  519. updatedAt:
  520. description: 更新时间
  521. type: string
  522. type: object
  523. example.ExaFileUploadAndDownload:
  524. properties:
  525. createdAt:
  526. description: 创建时间
  527. type: string
  528. id:
  529. description: 主键ID
  530. type: integer
  531. key:
  532. description: 编号
  533. type: string
  534. name:
  535. description: 文件名
  536. type: string
  537. tag:
  538. description: 文件标签
  539. type: string
  540. updatedAt:
  541. description: 更新时间
  542. type: string
  543. url:
  544. description: 文件地址
  545. type: string
  546. type: object
  547. example.ExcelInfo:
  548. properties:
  549. fileName:
  550. description: 文件名
  551. type: string
  552. infoList:
  553. items:
  554. $ref: '#/definitions/system.SysBaseMenu'
  555. type: array
  556. type: object
  557. log-server_model_common_request.GetById:
  558. properties:
  559. id:
  560. description: 主键ID
  561. type: integer
  562. type: object
  563. log-server_model_log_request.GetById:
  564. properties:
  565. id:
  566. description: 主键ID
  567. type: integer
  568. type: object
  569. request.AddLogRequest:
  570. properties:
  571. account:
  572. type: string
  573. account_type:
  574. type: integer
  575. coding:
  576. type: integer
  577. computer_type:
  578. type: integer
  579. device_id:
  580. type: string
  581. env_code:
  582. type: integer
  583. game_id:
  584. type: integer
  585. log_uuid:
  586. type: string
  587. operator:
  588. type: string
  589. pc_code:
  590. type: string
  591. pc_ip:
  592. type: string
  593. pc_mac:
  594. type: string
  595. remarks:
  596. type: string
  597. report_points_data:
  598. type: string
  599. script_type:
  600. description: 中控1,脚本2
  601. type: integer
  602. simulator_ip:
  603. type: string
  604. simulator_mac:
  605. type: string
  606. task_type:
  607. description: 新增1,活跃2
  608. type: integer
  609. type: object
  610. request.AddMenuAuthorityInfo:
  611. properties:
  612. authorityId:
  613. description: 角色ID
  614. type: integer
  615. menus:
  616. items:
  617. $ref: '#/definitions/system.SysBaseMenu'
  618. type: array
  619. type: object
  620. request.CasbinInReceive:
  621. properties:
  622. authorityId:
  623. description: 权限id
  624. type: integer
  625. casbinInfos:
  626. items:
  627. $ref: '#/definitions/request.CasbinInfo'
  628. type: array
  629. type: object
  630. request.CasbinInfo:
  631. properties:
  632. method:
  633. description: 方法
  634. type: string
  635. path:
  636. description: 路径
  637. type: string
  638. type: object
  639. request.ChangePasswordStruct:
  640. properties:
  641. newPassword:
  642. description: 新密码
  643. type: string
  644. password:
  645. description: 密码
  646. type: string
  647. username:
  648. description: 用户名
  649. type: string
  650. type: object
  651. request.CodingLogRequest:
  652. properties:
  653. coding:
  654. type: integer
  655. describe:
  656. type: string
  657. id:
  658. type: integer
  659. parent_id:
  660. type: integer
  661. type: object
  662. request.Empty:
  663. type: object
  664. request.EnvLogRequest:
  665. properties:
  666. coding:
  667. type: integer
  668. describe:
  669. type: string
  670. id:
  671. type: integer
  672. type: object
  673. request.GetAuthorityId:
  674. properties:
  675. authorityId:
  676. description: 角色ID
  677. type: integer
  678. type: object
  679. request.GetLogListRequest:
  680. properties:
  681. account:
  682. type: string
  683. account_type:
  684. type: integer
  685. code:
  686. type: integer
  687. coding:
  688. type: integer
  689. computer_type:
  690. type: integer
  691. create_date:
  692. type: string
  693. create_time:
  694. description: 创建时间
  695. type: string
  696. desc:
  697. description: 排序方式:升序false(默认)|降序true
  698. type: boolean
  699. device_id:
  700. type: string
  701. env_code:
  702. type: integer
  703. game_id:
  704. type: integer
  705. id:
  706. type: integer
  707. keyword:
  708. description: 关键字
  709. type: string
  710. log_uuid:
  711. type: string
  712. node_coding:
  713. type: integer
  714. operator:
  715. type: string
  716. orderKey:
  717. description: 排序
  718. type: string
  719. page:
  720. description: 页码
  721. type: integer
  722. pageSize:
  723. description: 每页大小
  724. type: integer
  725. pc_code:
  726. type: string
  727. pc_ip:
  728. type: string
  729. pc_mac:
  730. type: string
  731. remarks:
  732. type: string
  733. script_type:
  734. type: integer
  735. simulator_ip:
  736. type: string
  737. simulator_mac:
  738. type: string
  739. status:
  740. description: 1成功2失败
  741. type: integer
  742. task_type:
  743. type: integer
  744. type_coding:
  745. type: integer
  746. type: object
  747. request.IdsReq:
  748. properties:
  749. ids:
  750. items:
  751. type: integer
  752. type: array
  753. type: object
  754. request.InitDB:
  755. properties:
  756. dbName:
  757. description: 数据库名
  758. type: string
  759. dbType:
  760. description: 数据库类型
  761. type: string
  762. host:
  763. description: 服务器地址
  764. type: string
  765. password:
  766. description: 数据库密码
  767. type: string
  768. port:
  769. description: 数据库连接端口
  770. type: string
  771. userName:
  772. description: 数据库用户名
  773. type: string
  774. required:
  775. - dbName
  776. - userName
  777. type: object
  778. request.Login:
  779. properties:
  780. captcha:
  781. description: 验证码
  782. type: string
  783. captchaId:
  784. description: 验证码ID
  785. type: string
  786. password:
  787. description: 密码
  788. type: string
  789. username:
  790. description: 用户名
  791. type: string
  792. type: object
  793. request.PageInfo:
  794. properties:
  795. keyword:
  796. description: 关键字
  797. type: string
  798. page:
  799. description: 页码
  800. type: integer
  801. pageSize:
  802. description: 每页大小
  803. type: integer
  804. type: object
  805. request.Register:
  806. properties:
  807. authorityId:
  808. type: integer
  809. authorityIds:
  810. items:
  811. type: integer
  812. type: array
  813. enable:
  814. type: integer
  815. headerImg:
  816. type: string
  817. nickName:
  818. type: string
  819. passWord:
  820. type: string
  821. userName:
  822. type: string
  823. type: object
  824. request.RollBack:
  825. properties:
  826. deleteTable:
  827. description: 是否删除表
  828. type: boolean
  829. id:
  830. description: 主键ID
  831. type: integer
  832. type: object
  833. request.SearchApiParams:
  834. properties:
  835. apiGroup:
  836. description: api组
  837. type: string
  838. createdAt:
  839. description: 创建时间
  840. type: string
  841. desc:
  842. description: 排序方式:升序false(默认)|降序true
  843. type: boolean
  844. description:
  845. description: api中文描述
  846. type: string
  847. id:
  848. description: 主键ID
  849. type: integer
  850. keyword:
  851. description: 关键字
  852. type: string
  853. method:
  854. description: 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
  855. type: string
  856. orderKey:
  857. description: 排序
  858. type: string
  859. page:
  860. description: 页码
  861. type: integer
  862. pageSize:
  863. description: 每页大小
  864. type: integer
  865. path:
  866. description: api路径
  867. type: string
  868. updatedAt:
  869. description: 更新时间
  870. type: string
  871. type: object
  872. request.SetUserAuth:
  873. properties:
  874. authorityId:
  875. description: 角色ID
  876. type: integer
  877. type: object
  878. request.SetUserAuthorities:
  879. properties:
  880. authorityIds:
  881. description: 角色ID
  882. items:
  883. type: integer
  884. type: array
  885. id:
  886. type: integer
  887. type: object
  888. request.SysAuthorityBtnReq:
  889. properties:
  890. authorityId:
  891. type: integer
  892. menuID:
  893. type: integer
  894. selected:
  895. items:
  896. type: integer
  897. type: array
  898. type: object
  899. request.SysAutoHistory:
  900. properties:
  901. keyword:
  902. description: 关键字
  903. type: string
  904. page:
  905. description: 页码
  906. type: integer
  907. pageSize:
  908. description: 每页大小
  909. type: integer
  910. type: object
  911. response.Email:
  912. properties:
  913. body:
  914. description: 邮件内容
  915. type: string
  916. subject:
  917. description: 邮件标题
  918. type: string
  919. to:
  920. description: 邮件发送给谁
  921. type: string
  922. type: object
  923. response.EnvLogReply:
  924. properties:
  925. coding:
  926. type: integer
  927. create_time:
  928. description: 创建时间
  929. type: string
  930. describe:
  931. type: string
  932. id:
  933. type: integer
  934. update_time:
  935. description: 更新时间
  936. type: string
  937. type: object
  938. response.ExaCustomerResponse:
  939. properties:
  940. customer:
  941. $ref: '#/definitions/example.ExaCustomer'
  942. type: object
  943. response.ExaFileResponse:
  944. properties:
  945. file:
  946. $ref: '#/definitions/example.ExaFileUploadAndDownload'
  947. type: object
  948. response.FilePathResponse:
  949. properties:
  950. filePath:
  951. type: string
  952. type: object
  953. response.FileResponse:
  954. properties:
  955. file:
  956. $ref: '#/definitions/example.ExaFile'
  957. type: object
  958. response.GetLogCodingReply:
  959. properties:
  960. coding:
  961. type: integer
  962. create_time:
  963. description: 创建时间
  964. type: string
  965. describe:
  966. type: string
  967. id:
  968. type: integer
  969. level:
  970. type: integer
  971. parent_id:
  972. type: integer
  973. update_time:
  974. description: 更新时间
  975. type: string
  976. type: object
  977. response.LoginResponse:
  978. properties:
  979. expiresAt:
  980. type: integer
  981. token:
  982. type: string
  983. user:
  984. $ref: '#/definitions/system.SysUser'
  985. type: object
  986. response.PageResult:
  987. properties:
  988. list: {}
  989. page:
  990. type: integer
  991. pageSize:
  992. type: integer
  993. total:
  994. type: integer
  995. type: object
  996. response.PolicyPathResponse:
  997. properties:
  998. paths:
  999. items:
  1000. $ref: '#/definitions/request.CasbinInfo'
  1001. type: array
  1002. type: object
  1003. response.Response:
  1004. properties:
  1005. code:
  1006. type: integer
  1007. data: {}
  1008. msg:
  1009. type: string
  1010. type: object
  1011. response.SysAPIListResponse:
  1012. properties:
  1013. apis:
  1014. items:
  1015. $ref: '#/definitions/system.SysApi'
  1016. type: array
  1017. type: object
  1018. response.SysAPIResponse:
  1019. properties:
  1020. api:
  1021. $ref: '#/definitions/system.SysApi'
  1022. type: object
  1023. response.SysAuthorityBtnRes:
  1024. properties:
  1025. selected:
  1026. items:
  1027. type: integer
  1028. type: array
  1029. type: object
  1030. response.SysAuthorityCopyResponse:
  1031. properties:
  1032. authority:
  1033. $ref: '#/definitions/system.SysAuthority'
  1034. oldAuthorityId:
  1035. description: 旧角色ID
  1036. type: integer
  1037. type: object
  1038. response.SysAuthorityResponse:
  1039. properties:
  1040. authority:
  1041. $ref: '#/definitions/system.SysAuthority'
  1042. type: object
  1043. response.SysBaseMenuResponse:
  1044. properties:
  1045. menu:
  1046. $ref: '#/definitions/system.SysBaseMenu'
  1047. type: object
  1048. response.SysBaseMenusResponse:
  1049. properties:
  1050. menus:
  1051. items:
  1052. $ref: '#/definitions/system.SysBaseMenu'
  1053. type: array
  1054. type: object
  1055. response.SysCaptchaResponse:
  1056. properties:
  1057. captchaId:
  1058. type: string
  1059. captchaLength:
  1060. type: integer
  1061. picPath:
  1062. type: string
  1063. type: object
  1064. response.SysConfigResponse:
  1065. properties:
  1066. config:
  1067. $ref: '#/definitions/config.Server'
  1068. type: object
  1069. response.SysMenusResponse:
  1070. properties:
  1071. menus:
  1072. items:
  1073. $ref: '#/definitions/system.SysMenu'
  1074. type: array
  1075. type: object
  1076. response.SysUserResponse:
  1077. properties:
  1078. user:
  1079. $ref: '#/definitions/system.SysUser'
  1080. type: object
  1081. system.AutoCodeStruct:
  1082. properties:
  1083. abbreviation:
  1084. description: Struct简称
  1085. type: string
  1086. autoCreateApiToSql:
  1087. description: 是否自动创建api
  1088. type: boolean
  1089. autoMoveFile:
  1090. description: 是否自动移动文件
  1091. type: boolean
  1092. description:
  1093. description: Struct中文名称
  1094. type: string
  1095. fields:
  1096. items:
  1097. $ref: '#/definitions/system.Field'
  1098. type: array
  1099. hasTimer:
  1100. type: boolean
  1101. humpPackageName:
  1102. description: go文件名称
  1103. type: string
  1104. package:
  1105. type: string
  1106. packageName:
  1107. description: 文件名称
  1108. type: string
  1109. structName:
  1110. description: Struct名称
  1111. type: string
  1112. tableName:
  1113. description: 表名
  1114. type: string
  1115. type: object
  1116. system.Field:
  1117. properties:
  1118. columnName:
  1119. description: 数据库字段
  1120. type: string
  1121. comment:
  1122. description: 数据库字段描述
  1123. type: string
  1124. dataTypeLong:
  1125. description: 数据库字段长度
  1126. type: string
  1127. dictType:
  1128. description: 字典
  1129. type: string
  1130. fieldDesc:
  1131. description: 中文名
  1132. type: string
  1133. fieldJson:
  1134. description: FieldJson
  1135. type: string
  1136. fieldName:
  1137. description: Field名
  1138. type: string
  1139. fieldSearchType:
  1140. description: 搜索条件
  1141. type: string
  1142. fieldType:
  1143. description: Field数据类型
  1144. type: string
  1145. type: object
  1146. system.SysApi:
  1147. properties:
  1148. apiGroup:
  1149. description: api组
  1150. type: string
  1151. createdAt:
  1152. description: 创建时间
  1153. type: string
  1154. description:
  1155. description: api中文描述
  1156. type: string
  1157. id:
  1158. description: 主键ID
  1159. type: integer
  1160. method:
  1161. description: 方法:创建POST(默认)|查看GET|更新PUT|删除DELETE
  1162. type: string
  1163. path:
  1164. description: api路径
  1165. type: string
  1166. updatedAt:
  1167. description: 更新时间
  1168. type: string
  1169. type: object
  1170. system.SysAuthority:
  1171. properties:
  1172. authorityId:
  1173. description: 角色ID
  1174. type: integer
  1175. authorityName:
  1176. description: 角色名
  1177. type: string
  1178. children:
  1179. items:
  1180. $ref: '#/definitions/system.SysAuthority'
  1181. type: array
  1182. createdAt:
  1183. description: 创建时间
  1184. type: string
  1185. dataAuthorityId:
  1186. items:
  1187. $ref: '#/definitions/system.SysAuthority'
  1188. type: array
  1189. defaultRouter:
  1190. description: 默认菜单(默认dashboard)
  1191. type: string
  1192. deletedAt:
  1193. type: string
  1194. menus:
  1195. items:
  1196. $ref: '#/definitions/system.SysBaseMenu'
  1197. type: array
  1198. parentId:
  1199. description: 父角色ID
  1200. type: integer
  1201. updatedAt:
  1202. description: 更新时间
  1203. type: string
  1204. type: object
  1205. system.SysAutoCode:
  1206. properties:
  1207. createdAt:
  1208. description: 创建时间
  1209. type: string
  1210. desc:
  1211. type: string
  1212. id:
  1213. description: 主键ID
  1214. type: integer
  1215. label:
  1216. type: string
  1217. packageName:
  1218. type: string
  1219. updatedAt:
  1220. description: 更新时间
  1221. type: string
  1222. type: object
  1223. system.SysBaseMenu:
  1224. properties:
  1225. authoritys:
  1226. items:
  1227. $ref: '#/definitions/system.SysAuthority'
  1228. type: array
  1229. children:
  1230. items:
  1231. $ref: '#/definitions/system.SysBaseMenu'
  1232. type: array
  1233. closeTab:
  1234. description: 自动关闭tab
  1235. type: boolean
  1236. component:
  1237. description: 对应前端文件路径
  1238. type: string
  1239. createdAt:
  1240. description: 创建时间
  1241. type: string
  1242. defaultMenu:
  1243. description: 是否是基础路由(开发中)
  1244. type: boolean
  1245. hidden:
  1246. description: 是否在列表隐藏
  1247. type: boolean
  1248. icon:
  1249. description: 菜单图标
  1250. type: string
  1251. id:
  1252. description: 主键ID
  1253. type: integer
  1254. keepAlive:
  1255. description: 是否缓存
  1256. type: boolean
  1257. menuBtn:
  1258. items:
  1259. $ref: '#/definitions/system.SysBaseMenuBtn'
  1260. type: array
  1261. name:
  1262. description: 路由name
  1263. type: string
  1264. parameters:
  1265. items:
  1266. $ref: '#/definitions/system.SysBaseMenuParameter'
  1267. type: array
  1268. parentId:
  1269. description: 父菜单ID
  1270. type: string
  1271. path:
  1272. description: 路由path
  1273. type: string
  1274. sort:
  1275. description: 排序标记
  1276. type: integer
  1277. title:
  1278. description: 菜单名
  1279. type: string
  1280. updatedAt:
  1281. description: 更新时间
  1282. type: string
  1283. type: object
  1284. system.SysBaseMenuBtn:
  1285. properties:
  1286. createdAt:
  1287. description: 创建时间
  1288. type: string
  1289. desc:
  1290. type: string
  1291. id:
  1292. description: 主键ID
  1293. type: integer
  1294. name:
  1295. type: string
  1296. sysBaseMenuID:
  1297. type: integer
  1298. updatedAt:
  1299. description: 更新时间
  1300. type: string
  1301. type: object
  1302. system.SysBaseMenuParameter:
  1303. properties:
  1304. createdAt:
  1305. description: 创建时间
  1306. type: string
  1307. id:
  1308. description: 主键ID
  1309. type: integer
  1310. key:
  1311. description: 地址栏携带参数的key
  1312. type: string
  1313. sysBaseMenuID:
  1314. type: integer
  1315. type:
  1316. description: 地址栏携带参数为params还是query
  1317. type: string
  1318. updatedAt:
  1319. description: 更新时间
  1320. type: string
  1321. value:
  1322. description: 地址栏携带参数的值
  1323. type: string
  1324. type: object
  1325. system.SysDictionary:
  1326. properties:
  1327. createdAt:
  1328. description: 创建时间
  1329. type: string
  1330. desc:
  1331. description: 描述
  1332. type: string
  1333. id:
  1334. description: 主键ID
  1335. type: integer
  1336. name:
  1337. description: 字典名(中)
  1338. type: string
  1339. status:
  1340. description: 状态
  1341. type: boolean
  1342. sysDictionaryDetails:
  1343. items:
  1344. $ref: '#/definitions/system.SysDictionaryDetail'
  1345. type: array
  1346. type:
  1347. description: 字典名(英)
  1348. type: string
  1349. updatedAt:
  1350. description: 更新时间
  1351. type: string
  1352. type: object
  1353. system.SysDictionaryDetail:
  1354. properties:
  1355. createdAt:
  1356. description: 创建时间
  1357. type: string
  1358. id:
  1359. description: 主键ID
  1360. type: integer
  1361. label:
  1362. description: 展示值
  1363. type: string
  1364. sort:
  1365. description: 排序标记
  1366. type: integer
  1367. status:
  1368. description: 启用状态
  1369. type: boolean
  1370. sysDictionaryID:
  1371. description: 关联标记
  1372. type: integer
  1373. updatedAt:
  1374. description: 更新时间
  1375. type: string
  1376. value:
  1377. description: 字典值
  1378. type: integer
  1379. type: object
  1380. system.SysMenu:
  1381. properties:
  1382. authoritys:
  1383. items:
  1384. $ref: '#/definitions/system.SysAuthority'
  1385. type: array
  1386. btns:
  1387. additionalProperties:
  1388. type: integer
  1389. type: object
  1390. children:
  1391. items:
  1392. $ref: '#/definitions/system.SysMenu'
  1393. type: array
  1394. closeTab:
  1395. description: 自动关闭tab
  1396. type: boolean
  1397. component:
  1398. description: 对应前端文件路径
  1399. type: string
  1400. createdAt:
  1401. description: 创建时间
  1402. type: string
  1403. defaultMenu:
  1404. description: 是否是基础路由(开发中)
  1405. type: boolean
  1406. hidden:
  1407. description: 是否在列表隐藏
  1408. type: boolean
  1409. icon:
  1410. description: 菜单图标
  1411. type: string
  1412. id:
  1413. description: 主键ID
  1414. type: integer
  1415. keepAlive:
  1416. description: 是否缓存
  1417. type: boolean
  1418. menuBtn:
  1419. items:
  1420. $ref: '#/definitions/system.SysBaseMenuBtn'
  1421. type: array
  1422. menuId:
  1423. type: string
  1424. name:
  1425. description: 路由name
  1426. type: string
  1427. parameters:
  1428. items:
  1429. $ref: '#/definitions/system.SysBaseMenuParameter'
  1430. type: array
  1431. parentId:
  1432. description: 父菜单ID
  1433. type: string
  1434. path:
  1435. description: 路由path
  1436. type: string
  1437. sort:
  1438. description: 排序标记
  1439. type: integer
  1440. title:
  1441. description: 菜单名
  1442. type: string
  1443. updatedAt:
  1444. description: 更新时间
  1445. type: string
  1446. type: object
  1447. system.SysOperationRecord:
  1448. properties:
  1449. agent:
  1450. description: 代理
  1451. type: string
  1452. body:
  1453. description: 请求Body
  1454. type: string
  1455. createdAt:
  1456. description: 创建时间
  1457. type: string
  1458. error_message:
  1459. description: 错误信息
  1460. type: string
  1461. id:
  1462. description: 主键ID
  1463. type: integer
  1464. ip:
  1465. description: 请求ip
  1466. type: string
  1467. latency:
  1468. description: 延迟
  1469. type: string
  1470. method:
  1471. description: 请求方法
  1472. type: string
  1473. path:
  1474. description: 请求路径
  1475. type: string
  1476. resp:
  1477. description: 响应Body
  1478. type: string
  1479. status:
  1480. description: 请求状态
  1481. type: integer
  1482. updatedAt:
  1483. description: 更新时间
  1484. type: string
  1485. user:
  1486. $ref: '#/definitions/system.SysUser'
  1487. user_id:
  1488. description: 用户id
  1489. type: integer
  1490. type: object
  1491. system.SysUser:
  1492. properties:
  1493. activeColor:
  1494. description: 活跃颜色
  1495. type: string
  1496. authorities:
  1497. items:
  1498. $ref: '#/definitions/system.SysAuthority'
  1499. type: array
  1500. authority:
  1501. $ref: '#/definitions/system.SysAuthority'
  1502. authorityId:
  1503. description: 用户角色ID
  1504. type: integer
  1505. baseColor:
  1506. description: 基础颜色
  1507. type: string
  1508. createdAt:
  1509. description: 创建时间
  1510. type: string
  1511. email:
  1512. description: 用户邮箱
  1513. type: string
  1514. enable:
  1515. description: 用户是否被冻结 1正常 2冻结
  1516. type: integer
  1517. headerImg:
  1518. description: 用户头像
  1519. type: string
  1520. id:
  1521. description: 主键ID
  1522. type: integer
  1523. nickName:
  1524. description: 用户昵称
  1525. type: string
  1526. phone:
  1527. description: 用户手机号
  1528. type: string
  1529. sideMode:
  1530. description: 用户侧边主题
  1531. type: string
  1532. updatedAt:
  1533. description: 更新时间
  1534. type: string
  1535. userName:
  1536. description: 用户登录名
  1537. type: string
  1538. uuid:
  1539. description: 用户UUID
  1540. type: string
  1541. type: object
  1542. system.System:
  1543. properties:
  1544. config:
  1545. $ref: '#/definitions/config.Server'
  1546. type: object
  1547. info:
  1548. contact: {}
  1549. description: This is a sample Server pets
  1550. title: Swagger Example API
  1551. version: 0.0.1
  1552. paths:
  1553. /api/createApi:
  1554. post:
  1555. consumes:
  1556. - application/json
  1557. parameters:
  1558. - description: api路径, api中文描述, api组, 方法
  1559. in: body
  1560. name: data
  1561. required: true
  1562. schema:
  1563. $ref: '#/definitions/system.SysApi'
  1564. produces:
  1565. - application/json
  1566. responses:
  1567. "200":
  1568. description: 创建基础api
  1569. schema:
  1570. allOf:
  1571. - $ref: '#/definitions/response.Response'
  1572. - properties:
  1573. msg:
  1574. type: string
  1575. type: object
  1576. security:
  1577. - ApiKeyAuth: []
  1578. summary: 创建基础api
  1579. tags:
  1580. - SysApi
  1581. /api/deleteApi:
  1582. post:
  1583. consumes:
  1584. - application/json
  1585. parameters:
  1586. - description: ID
  1587. in: body
  1588. name: data
  1589. required: true
  1590. schema:
  1591. $ref: '#/definitions/system.SysApi'
  1592. produces:
  1593. - application/json
  1594. responses:
  1595. "200":
  1596. description: 删除api
  1597. schema:
  1598. allOf:
  1599. - $ref: '#/definitions/response.Response'
  1600. - properties:
  1601. msg:
  1602. type: string
  1603. type: object
  1604. security:
  1605. - ApiKeyAuth: []
  1606. summary: 删除api
  1607. tags:
  1608. - SysApi
  1609. /api/deleteApisByIds:
  1610. delete:
  1611. consumes:
  1612. - application/json
  1613. parameters:
  1614. - description: ID
  1615. in: body
  1616. name: data
  1617. required: true
  1618. schema:
  1619. $ref: '#/definitions/request.IdsReq'
  1620. produces:
  1621. - application/json
  1622. responses:
  1623. "200":
  1624. description: 删除选中Api
  1625. schema:
  1626. allOf:
  1627. - $ref: '#/definitions/response.Response'
  1628. - properties:
  1629. msg:
  1630. type: string
  1631. type: object
  1632. security:
  1633. - ApiKeyAuth: []
  1634. summary: 删除选中Api
  1635. tags:
  1636. - SysApi
  1637. /api/getAllApis:
  1638. post:
  1639. consumes:
  1640. - application/json
  1641. produces:
  1642. - application/json
  1643. responses:
  1644. "200":
  1645. description: 获取所有的Api 不分页,返回包括api列表
  1646. schema:
  1647. allOf:
  1648. - $ref: '#/definitions/response.Response'
  1649. - properties:
  1650. data:
  1651. $ref: '#/definitions/response.SysAPIListResponse'
  1652. msg:
  1653. type: string
  1654. type: object
  1655. security:
  1656. - ApiKeyAuth: []
  1657. summary: 获取所有的Api 不分页
  1658. tags:
  1659. - SysApi
  1660. /api/getApiById:
  1661. post:
  1662. consumes:
  1663. - application/json
  1664. parameters:
  1665. - description: 根据id获取api
  1666. in: body
  1667. name: data
  1668. required: true
  1669. schema:
  1670. $ref: '#/definitions/log-server_model_common_request.GetById'
  1671. produces:
  1672. - application/json
  1673. responses:
  1674. "200":
  1675. description: 根据id获取api,返回包括api详情
  1676. schema:
  1677. allOf:
  1678. - $ref: '#/definitions/response.Response'
  1679. - properties:
  1680. data:
  1681. $ref: '#/definitions/response.SysAPIResponse'
  1682. type: object
  1683. security:
  1684. - ApiKeyAuth: []
  1685. summary: 根据id获取api
  1686. tags:
  1687. - SysApi
  1688. /api/getApiList:
  1689. post:
  1690. consumes:
  1691. - application/json
  1692. parameters:
  1693. - description: 分页获取API列表
  1694. in: body
  1695. name: data
  1696. required: true
  1697. schema:
  1698. $ref: '#/definitions/request.SearchApiParams'
  1699. produces:
  1700. - application/json
  1701. responses:
  1702. "200":
  1703. description: 分页获取API列表,返回包括列表,总数,页码,每页数量
  1704. schema:
  1705. allOf:
  1706. - $ref: '#/definitions/response.Response'
  1707. - properties:
  1708. data:
  1709. $ref: '#/definitions/response.PageResult'
  1710. msg:
  1711. type: string
  1712. type: object
  1713. security:
  1714. - ApiKeyAuth: []
  1715. summary: 分页获取API列表
  1716. tags:
  1717. - SysApi
  1718. /api/updateApi:
  1719. post:
  1720. consumes:
  1721. - application/json
  1722. parameters:
  1723. - description: api路径, api中文描述, api组, 方法
  1724. in: body
  1725. name: data
  1726. required: true
  1727. schema:
  1728. $ref: '#/definitions/system.SysApi'
  1729. produces:
  1730. - application/json
  1731. responses:
  1732. "200":
  1733. description: 修改基础api
  1734. schema:
  1735. allOf:
  1736. - $ref: '#/definitions/response.Response'
  1737. - properties:
  1738. msg:
  1739. type: string
  1740. type: object
  1741. security:
  1742. - ApiKeyAuth: []
  1743. summary: 修改基础api
  1744. tags:
  1745. - SysApi
  1746. /authority/copyAuthority:
  1747. post:
  1748. consumes:
  1749. - application/json
  1750. parameters:
  1751. - description: 旧角色id, 新权限id, 新权限名, 新父角色id
  1752. in: body
  1753. name: data
  1754. required: true
  1755. schema:
  1756. $ref: '#/definitions/response.SysAuthorityCopyResponse'
  1757. produces:
  1758. - application/json
  1759. responses:
  1760. "200":
  1761. description: 拷贝角色,返回包括系统角色详情
  1762. schema:
  1763. allOf:
  1764. - $ref: '#/definitions/response.Response'
  1765. - properties:
  1766. data:
  1767. $ref: '#/definitions/response.SysAuthorityResponse'
  1768. msg:
  1769. type: string
  1770. type: object
  1771. security:
  1772. - ApiKeyAuth: []
  1773. summary: 拷贝角色
  1774. tags:
  1775. - Authority
  1776. /authority/createAuthority:
  1777. post:
  1778. consumes:
  1779. - application/json
  1780. parameters:
  1781. - description: 权限id, 权限名, 父角色id
  1782. in: body
  1783. name: data
  1784. required: true
  1785. schema:
  1786. $ref: '#/definitions/system.SysAuthority'
  1787. produces:
  1788. - application/json
  1789. responses:
  1790. "200":
  1791. description: 创建角色,返回包括系统角色详情
  1792. schema:
  1793. allOf:
  1794. - $ref: '#/definitions/response.Response'
  1795. - properties:
  1796. data:
  1797. $ref: '#/definitions/response.SysAuthorityResponse'
  1798. msg:
  1799. type: string
  1800. type: object
  1801. security:
  1802. - ApiKeyAuth: []
  1803. summary: 创建角色
  1804. tags:
  1805. - Authority
  1806. /authority/deleteAuthority:
  1807. post:
  1808. consumes:
  1809. - application/json
  1810. parameters:
  1811. - description: 删除角色
  1812. in: body
  1813. name: data
  1814. required: true
  1815. schema:
  1816. $ref: '#/definitions/system.SysAuthority'
  1817. produces:
  1818. - application/json
  1819. responses:
  1820. "200":
  1821. description: 删除角色
  1822. schema:
  1823. allOf:
  1824. - $ref: '#/definitions/response.Response'
  1825. - properties:
  1826. msg:
  1827. type: string
  1828. type: object
  1829. security:
  1830. - ApiKeyAuth: []
  1831. summary: 删除角色
  1832. tags:
  1833. - Authority
  1834. /authority/getAuthorityList:
  1835. post:
  1836. consumes:
  1837. - application/json
  1838. parameters:
  1839. - description: 页码, 每页大小
  1840. in: body
  1841. name: data
  1842. required: true
  1843. schema:
  1844. $ref: '#/definitions/request.PageInfo'
  1845. produces:
  1846. - application/json
  1847. responses:
  1848. "200":
  1849. description: 分页获取角色列表,返回包括列表,总数,页码,每页数量
  1850. schema:
  1851. allOf:
  1852. - $ref: '#/definitions/response.Response'
  1853. - properties:
  1854. data:
  1855. $ref: '#/definitions/response.PageResult'
  1856. msg:
  1857. type: string
  1858. type: object
  1859. security:
  1860. - ApiKeyAuth: []
  1861. summary: 分页获取角色列表
  1862. tags:
  1863. - Authority
  1864. /authority/setDataAuthority:
  1865. post:
  1866. consumes:
  1867. - application/json
  1868. parameters:
  1869. - description: 设置角色资源权限
  1870. in: body
  1871. name: data
  1872. required: true
  1873. schema:
  1874. $ref: '#/definitions/system.SysAuthority'
  1875. produces:
  1876. - application/json
  1877. responses:
  1878. "200":
  1879. description: 设置角色资源权限
  1880. schema:
  1881. allOf:
  1882. - $ref: '#/definitions/response.Response'
  1883. - properties:
  1884. msg:
  1885. type: string
  1886. type: object
  1887. security:
  1888. - ApiKeyAuth: []
  1889. summary: 设置角色资源权限
  1890. tags:
  1891. - Authority
  1892. /authority/updateAuthority:
  1893. post:
  1894. consumes:
  1895. - application/json
  1896. parameters:
  1897. - description: 权限id, 权限名, 父角色id
  1898. in: body
  1899. name: data
  1900. required: true
  1901. schema:
  1902. $ref: '#/definitions/system.SysAuthority'
  1903. produces:
  1904. - application/json
  1905. responses:
  1906. "200":
  1907. description: 更新角色信息,返回包括系统角色详情
  1908. schema:
  1909. allOf:
  1910. - $ref: '#/definitions/response.Response'
  1911. - properties:
  1912. data:
  1913. $ref: '#/definitions/response.SysAuthorityResponse'
  1914. msg:
  1915. type: string
  1916. type: object
  1917. security:
  1918. - ApiKeyAuth: []
  1919. summary: 更新角色信息
  1920. tags:
  1921. - Authority
  1922. /authorityBtn/canRemoveAuthorityBtn:
  1923. post:
  1924. consumes:
  1925. - application/json
  1926. produces:
  1927. - application/json
  1928. responses:
  1929. "200":
  1930. description: 删除成功
  1931. schema:
  1932. allOf:
  1933. - $ref: '#/definitions/response.Response'
  1934. - properties:
  1935. msg:
  1936. type: string
  1937. type: object
  1938. security:
  1939. - ApiKeyAuth: []
  1940. summary: 设置权限按钮
  1941. tags:
  1942. - AuthorityBtn
  1943. /authorityBtn/getAuthorityBtn:
  1944. post:
  1945. consumes:
  1946. - application/json
  1947. parameters:
  1948. - description: 菜单id, 角色id, 选中的按钮id
  1949. in: body
  1950. name: data
  1951. required: true
  1952. schema:
  1953. $ref: '#/definitions/request.SysAuthorityBtnReq'
  1954. produces:
  1955. - application/json
  1956. responses:
  1957. "200":
  1958. description: 返回列表成功
  1959. schema:
  1960. allOf:
  1961. - $ref: '#/definitions/response.Response'
  1962. - properties:
  1963. data:
  1964. $ref: '#/definitions/response.SysAuthorityBtnRes'
  1965. msg:
  1966. type: string
  1967. type: object
  1968. security:
  1969. - ApiKeyAuth: []
  1970. summary: 获取权限按钮
  1971. tags:
  1972. - AuthorityBtn
  1973. /authorityBtn/setAuthorityBtn:
  1974. post:
  1975. consumes:
  1976. - application/json
  1977. parameters:
  1978. - description: 菜单id, 角色id, 选中的按钮id
  1979. in: body
  1980. name: data
  1981. required: true
  1982. schema:
  1983. $ref: '#/definitions/request.SysAuthorityBtnReq'
  1984. produces:
  1985. - application/json
  1986. responses:
  1987. "200":
  1988. description: 返回列表成功
  1989. schema:
  1990. allOf:
  1991. - $ref: '#/definitions/response.Response'
  1992. - properties:
  1993. msg:
  1994. type: string
  1995. type: object
  1996. security:
  1997. - ApiKeyAuth: []
  1998. summary: 设置权限按钮
  1999. tags:
  2000. - AuthorityBtn
  2001. /autoCode/createPackage:
  2002. post:
  2003. consumes:
  2004. - application/json
  2005. parameters:
  2006. - description: 创建package
  2007. in: body
  2008. name: data
  2009. required: true
  2010. schema:
  2011. $ref: '#/definitions/system.SysAutoCode'
  2012. produces:
  2013. - application/json
  2014. responses:
  2015. "200":
  2016. description: 创建package成功
  2017. schema:
  2018. allOf:
  2019. - $ref: '#/definitions/response.Response'
  2020. - properties:
  2021. data:
  2022. additionalProperties: true
  2023. type: object
  2024. msg:
  2025. type: string
  2026. type: object
  2027. security:
  2028. - ApiKeyAuth: []
  2029. summary: 创建package
  2030. tags:
  2031. - AutoCode
  2032. /autoCode/createPlug:
  2033. post:
  2034. consumes:
  2035. - application/json
  2036. parameters:
  2037. - description: 创建插件模板
  2038. in: body
  2039. name: data
  2040. required: true
  2041. schema:
  2042. $ref: '#/definitions/system.SysAutoCode'
  2043. produces:
  2044. - application/json
  2045. responses:
  2046. "200":
  2047. description: 创建插件模板成功
  2048. schema:
  2049. allOf:
  2050. - $ref: '#/definitions/response.Response'
  2051. - properties:
  2052. data:
  2053. additionalProperties: true
  2054. type: object
  2055. msg:
  2056. type: string
  2057. type: object
  2058. security:
  2059. - ApiKeyAuth: []
  2060. summary: 创建插件模板
  2061. tags:
  2062. - AutoCode
  2063. /autoCode/createTemp:
  2064. post:
  2065. consumes:
  2066. - application/json
  2067. parameters:
  2068. - description: 创建自动代码
  2069. in: body
  2070. name: data
  2071. required: true
  2072. schema:
  2073. $ref: '#/definitions/system.AutoCodeStruct'
  2074. produces:
  2075. - application/json
  2076. responses:
  2077. "200":
  2078. description: '{"success":true,"data":{},"msg":"创建成功"}'
  2079. schema:
  2080. type: string
  2081. security:
  2082. - ApiKeyAuth: []
  2083. summary: 自动代码模板
  2084. tags:
  2085. - AutoCode
  2086. /autoCode/delPackage:
  2087. post:
  2088. consumes:
  2089. - application/json
  2090. parameters:
  2091. - description: 创建package
  2092. in: body
  2093. name: data
  2094. required: true
  2095. schema:
  2096. $ref: '#/definitions/system.SysAutoCode'
  2097. produces:
  2098. - application/json
  2099. responses:
  2100. "200":
  2101. description: 删除package成功
  2102. schema:
  2103. allOf:
  2104. - $ref: '#/definitions/response.Response'
  2105. - properties:
  2106. data:
  2107. additionalProperties: true
  2108. type: object
  2109. msg:
  2110. type: string
  2111. type: object
  2112. security:
  2113. - ApiKeyAuth: []
  2114. summary: 删除package
  2115. tags:
  2116. - AutoCode
  2117. /autoCode/delSysHistory:
  2118. post:
  2119. consumes:
  2120. - application/json
  2121. parameters:
  2122. - description: 请求参数
  2123. in: body
  2124. name: data
  2125. required: true
  2126. schema:
  2127. $ref: '#/definitions/log-server_model_common_request.GetById'
  2128. produces:
  2129. - application/json
  2130. responses:
  2131. "200":
  2132. description: 删除回滚记录
  2133. schema:
  2134. allOf:
  2135. - $ref: '#/definitions/response.Response'
  2136. - properties:
  2137. msg:
  2138. type: string
  2139. type: object
  2140. security:
  2141. - ApiKeyAuth: []
  2142. summary: 删除回滚记录
  2143. tags:
  2144. - AutoCode
  2145. /autoCode/getColumn:
  2146. get:
  2147. consumes:
  2148. - application/json
  2149. produces:
  2150. - application/json
  2151. responses:
  2152. "200":
  2153. description: 获取当前表所有字段
  2154. schema:
  2155. allOf:
  2156. - $ref: '#/definitions/response.Response'
  2157. - properties:
  2158. data:
  2159. additionalProperties: true
  2160. type: object
  2161. msg:
  2162. type: string
  2163. type: object
  2164. security:
  2165. - ApiKeyAuth: []
  2166. summary: 获取当前表所有字段
  2167. tags:
  2168. - AutoCode
  2169. /autoCode/getDatabase:
  2170. get:
  2171. consumes:
  2172. - application/json
  2173. produces:
  2174. - application/json
  2175. responses:
  2176. "200":
  2177. description: 获取当前所有数据库
  2178. schema:
  2179. allOf:
  2180. - $ref: '#/definitions/response.Response'
  2181. - properties:
  2182. data:
  2183. additionalProperties: true
  2184. type: object
  2185. msg:
  2186. type: string
  2187. type: object
  2188. security:
  2189. - ApiKeyAuth: []
  2190. summary: 获取当前所有数据库
  2191. tags:
  2192. - AutoCode
  2193. /autoCode/getMeta:
  2194. post:
  2195. consumes:
  2196. - application/json
  2197. parameters:
  2198. - description: 请求参数
  2199. in: body
  2200. name: data
  2201. required: true
  2202. schema:
  2203. $ref: '#/definitions/log-server_model_common_request.GetById'
  2204. produces:
  2205. - application/json
  2206. responses:
  2207. "200":
  2208. description: 获取meta信息
  2209. schema:
  2210. allOf:
  2211. - $ref: '#/definitions/response.Response'
  2212. - properties:
  2213. data:
  2214. additionalProperties: true
  2215. type: object
  2216. msg:
  2217. type: string
  2218. type: object
  2219. security:
  2220. - ApiKeyAuth: []
  2221. summary: 获取meta信息
  2222. tags:
  2223. - AutoCode
  2224. /autoCode/getPackage:
  2225. post:
  2226. consumes:
  2227. - application/json
  2228. produces:
  2229. - application/json
  2230. responses:
  2231. "200":
  2232. description: 创建package成功
  2233. schema:
  2234. allOf:
  2235. - $ref: '#/definitions/response.Response'
  2236. - properties:
  2237. data:
  2238. additionalProperties: true
  2239. type: object
  2240. msg:
  2241. type: string
  2242. type: object
  2243. security:
  2244. - ApiKeyAuth: []
  2245. summary: 获取package
  2246. tags:
  2247. - AutoCode
  2248. /autoCode/getSysHistory:
  2249. post:
  2250. consumes:
  2251. - application/json
  2252. parameters:
  2253. - description: 请求参数
  2254. in: body
  2255. name: data
  2256. required: true
  2257. schema:
  2258. $ref: '#/definitions/request.SysAutoHistory'
  2259. produces:
  2260. - application/json
  2261. responses:
  2262. "200":
  2263. description: 查询回滚记录,返回包括列表,总数,页码,每页数量
  2264. schema:
  2265. allOf:
  2266. - $ref: '#/definitions/response.Response'
  2267. - properties:
  2268. data:
  2269. $ref: '#/definitions/response.PageResult'
  2270. msg:
  2271. type: string
  2272. type: object
  2273. security:
  2274. - ApiKeyAuth: []
  2275. summary: 查询回滚记录
  2276. tags:
  2277. - AutoCode
  2278. /autoCode/getTables:
  2279. get:
  2280. consumes:
  2281. - application/json
  2282. produces:
  2283. - application/json
  2284. responses:
  2285. "200":
  2286. description: 获取当前数据库所有表
  2287. schema:
  2288. allOf:
  2289. - $ref: '#/definitions/response.Response'
  2290. - properties:
  2291. data:
  2292. additionalProperties: true
  2293. type: object
  2294. msg:
  2295. type: string
  2296. type: object
  2297. security:
  2298. - ApiKeyAuth: []
  2299. summary: 获取当前数据库所有表
  2300. tags:
  2301. - AutoCode
  2302. /autoCode/preview:
  2303. post:
  2304. consumes:
  2305. - application/json
  2306. parameters:
  2307. - description: 预览创建代码
  2308. in: body
  2309. name: data
  2310. required: true
  2311. schema:
  2312. $ref: '#/definitions/system.AutoCodeStruct'
  2313. produces:
  2314. - application/json
  2315. responses:
  2316. "200":
  2317. description: 预览创建后的代码
  2318. schema:
  2319. allOf:
  2320. - $ref: '#/definitions/response.Response'
  2321. - properties:
  2322. data:
  2323. additionalProperties: true
  2324. type: object
  2325. msg:
  2326. type: string
  2327. type: object
  2328. security:
  2329. - ApiKeyAuth: []
  2330. summary: 预览创建后的代码
  2331. tags:
  2332. - AutoCode
  2333. /autoCode/rollback:
  2334. post:
  2335. consumes:
  2336. - application/json
  2337. parameters:
  2338. - description: 请求参数
  2339. in: body
  2340. name: data
  2341. required: true
  2342. schema:
  2343. $ref: '#/definitions/request.RollBack'
  2344. produces:
  2345. - application/json
  2346. responses:
  2347. "200":
  2348. description: 回滚自动生成代码
  2349. schema:
  2350. allOf:
  2351. - $ref: '#/definitions/response.Response'
  2352. - properties:
  2353. msg:
  2354. type: string
  2355. type: object
  2356. security:
  2357. - ApiKeyAuth: []
  2358. summary: 回滚自动生成代码
  2359. tags:
  2360. - AutoCode
  2361. /base/captcha:
  2362. post:
  2363. consumes:
  2364. - application/json
  2365. produces:
  2366. - application/json
  2367. responses:
  2368. "200":
  2369. description: 生成验证码,返回包括随机数id,base64,验证码长度
  2370. schema:
  2371. allOf:
  2372. - $ref: '#/definitions/response.Response'
  2373. - properties:
  2374. data:
  2375. $ref: '#/definitions/response.SysCaptchaResponse'
  2376. msg:
  2377. type: string
  2378. type: object
  2379. security:
  2380. - ApiKeyAuth: []
  2381. summary: 生成验证码
  2382. tags:
  2383. - Base
  2384. /base/login:
  2385. post:
  2386. parameters:
  2387. - description: 用户名, 密码, 验证码
  2388. in: body
  2389. name: data
  2390. required: true
  2391. schema:
  2392. $ref: '#/definitions/request.Login'
  2393. produces:
  2394. - application/json
  2395. responses:
  2396. "200":
  2397. description: 返回包括用户信息,token,过期时间
  2398. schema:
  2399. allOf:
  2400. - $ref: '#/definitions/response.Response'
  2401. - properties:
  2402. data:
  2403. $ref: '#/definitions/response.LoginResponse'
  2404. msg:
  2405. type: string
  2406. type: object
  2407. summary: 用户登录
  2408. tags:
  2409. - Base
  2410. /casbin/UpdateCasbin:
  2411. post:
  2412. consumes:
  2413. - application/json
  2414. parameters:
  2415. - description: 权限id, 权限模型列表
  2416. in: body
  2417. name: data
  2418. required: true
  2419. schema:
  2420. $ref: '#/definitions/request.CasbinInReceive'
  2421. produces:
  2422. - application/json
  2423. responses:
  2424. "200":
  2425. description: 更新角色api权限
  2426. schema:
  2427. allOf:
  2428. - $ref: '#/definitions/response.Response'
  2429. - properties:
  2430. msg:
  2431. type: string
  2432. type: object
  2433. security:
  2434. - ApiKeyAuth: []
  2435. summary: 更新角色api权限
  2436. tags:
  2437. - Casbin
  2438. /casbin/getPolicyPathByAuthorityId:
  2439. post:
  2440. consumes:
  2441. - application/json
  2442. parameters:
  2443. - description: 权限id, 权限模型列表
  2444. in: body
  2445. name: data
  2446. required: true
  2447. schema:
  2448. $ref: '#/definitions/request.CasbinInReceive'
  2449. produces:
  2450. - application/json
  2451. responses:
  2452. "200":
  2453. description: 获取权限列表,返回包括casbin详情列表
  2454. schema:
  2455. allOf:
  2456. - $ref: '#/definitions/response.Response'
  2457. - properties:
  2458. data:
  2459. $ref: '#/definitions/response.PolicyPathResponse'
  2460. msg:
  2461. type: string
  2462. type: object
  2463. security:
  2464. - ApiKeyAuth: []
  2465. summary: 获取权限列表
  2466. tags:
  2467. - Casbin
  2468. /customer/customer:
  2469. delete:
  2470. consumes:
  2471. - application/json
  2472. parameters:
  2473. - description: 客户ID
  2474. in: body
  2475. name: data
  2476. required: true
  2477. schema:
  2478. $ref: '#/definitions/example.ExaCustomer'
  2479. produces:
  2480. - application/json
  2481. responses:
  2482. "200":
  2483. description: 删除客户
  2484. schema:
  2485. allOf:
  2486. - $ref: '#/definitions/response.Response'
  2487. - properties:
  2488. msg:
  2489. type: string
  2490. type: object
  2491. security:
  2492. - ApiKeyAuth: []
  2493. summary: 删除客户
  2494. tags:
  2495. - ExaCustomer
  2496. get:
  2497. consumes:
  2498. - application/json
  2499. parameters:
  2500. - description: 创建时间
  2501. in: query
  2502. name: createdAt
  2503. type: string
  2504. - description: 客户名
  2505. in: query
  2506. name: customerName
  2507. type: string
  2508. - description: 客户手机号
  2509. in: query
  2510. name: customerPhoneData
  2511. type: string
  2512. - description: 主键ID
  2513. in: query
  2514. name: id
  2515. type: integer
  2516. - description: 管理角色ID
  2517. in: query
  2518. name: sysUserAuthorityID
  2519. type: integer
  2520. - description: 管理ID
  2521. in: query
  2522. name: sysUserId
  2523. type: integer
  2524. - description: 更新时间
  2525. in: query
  2526. name: updatedAt
  2527. type: string
  2528. produces:
  2529. - application/json
  2530. responses:
  2531. "200":
  2532. description: 获取单一客户信息,返回包括客户详情
  2533. schema:
  2534. allOf:
  2535. - $ref: '#/definitions/response.Response'
  2536. - properties:
  2537. data:
  2538. $ref: '#/definitions/response.ExaCustomerResponse'
  2539. msg:
  2540. type: string
  2541. type: object
  2542. security:
  2543. - ApiKeyAuth: []
  2544. summary: 获取单一客户信息
  2545. tags:
  2546. - ExaCustomer
  2547. post:
  2548. consumes:
  2549. - application/json
  2550. parameters:
  2551. - description: 客户用户名, 客户手机号码
  2552. in: body
  2553. name: data
  2554. required: true
  2555. schema:
  2556. $ref: '#/definitions/example.ExaCustomer'
  2557. produces:
  2558. - application/json
  2559. responses:
  2560. "200":
  2561. description: 创建客户
  2562. schema:
  2563. allOf:
  2564. - $ref: '#/definitions/response.Response'
  2565. - properties:
  2566. msg:
  2567. type: string
  2568. type: object
  2569. security:
  2570. - ApiKeyAuth: []
  2571. summary: 创建客户
  2572. tags:
  2573. - ExaCustomer
  2574. put:
  2575. consumes:
  2576. - application/json
  2577. parameters:
  2578. - description: 客户ID, 客户信息
  2579. in: body
  2580. name: data
  2581. required: true
  2582. schema:
  2583. $ref: '#/definitions/example.ExaCustomer'
  2584. produces:
  2585. - application/json
  2586. responses:
  2587. "200":
  2588. description: 更新客户信息
  2589. schema:
  2590. allOf:
  2591. - $ref: '#/definitions/response.Response'
  2592. - properties:
  2593. msg:
  2594. type: string
  2595. type: object
  2596. security:
  2597. - ApiKeyAuth: []
  2598. summary: 更新客户信息
  2599. tags:
  2600. - ExaCustomer
  2601. /customer/customerList:
  2602. get:
  2603. consumes:
  2604. - application/json
  2605. parameters:
  2606. - description: 关键字
  2607. in: query
  2608. name: keyword
  2609. type: string
  2610. - description: 页码
  2611. in: query
  2612. name: page
  2613. type: integer
  2614. - description: 每页大小
  2615. in: query
  2616. name: pageSize
  2617. type: integer
  2618. produces:
  2619. - application/json
  2620. responses:
  2621. "200":
  2622. description: 分页获取权限客户列表,返回包括列表,总数,页码,每页数量
  2623. schema:
  2624. allOf:
  2625. - $ref: '#/definitions/response.Response'
  2626. - properties:
  2627. data:
  2628. $ref: '#/definitions/response.PageResult'
  2629. msg:
  2630. type: string
  2631. type: object
  2632. security:
  2633. - ApiKeyAuth: []
  2634. summary: 分页获取权限客户列表
  2635. tags:
  2636. - ExaCustomer
  2637. /email/emailTest:
  2638. post:
  2639. produces:
  2640. - application/json
  2641. responses:
  2642. "200":
  2643. description: '{"success":true,"data":{},"msg":"发送成功"}'
  2644. schema:
  2645. type: string
  2646. security:
  2647. - ApiKeyAuth: []
  2648. summary: 发送测试邮件
  2649. tags:
  2650. - System
  2651. /email/sendEmail:
  2652. post:
  2653. parameters:
  2654. - description: 发送邮件必须的参数
  2655. in: body
  2656. name: data
  2657. required: true
  2658. schema:
  2659. $ref: '#/definitions/response.Email'
  2660. produces:
  2661. - application/json
  2662. responses:
  2663. "200":
  2664. description: '{"success":true,"data":{},"msg":"发送成功"}'
  2665. schema:
  2666. type: string
  2667. security:
  2668. - ApiKeyAuth: []
  2669. summary: 发送邮件
  2670. tags:
  2671. - System
  2672. /excel/downloadTemplate:
  2673. get:
  2674. consumes:
  2675. - multipart/form-data
  2676. parameters:
  2677. - description: 模板名称
  2678. in: query
  2679. name: fileName
  2680. required: true
  2681. type: string
  2682. produces:
  2683. - application/json
  2684. responses:
  2685. "200":
  2686. description: OK
  2687. security:
  2688. - ApiKeyAuth: []
  2689. summary: 下载模板
  2690. tags:
  2691. - excel
  2692. /excel/exportExcel:
  2693. post:
  2694. consumes:
  2695. - application/json
  2696. parameters:
  2697. - description: 导出Excel文件信息
  2698. in: body
  2699. name: data
  2700. required: true
  2701. schema:
  2702. $ref: '#/definitions/example.ExcelInfo'
  2703. produces:
  2704. - application/octet-stream
  2705. responses:
  2706. "200":
  2707. description: OK
  2708. security:
  2709. - ApiKeyAuth: []
  2710. summary: 导出Excel
  2711. tags:
  2712. - excel
  2713. /excel/importExcel:
  2714. post:
  2715. consumes:
  2716. - multipart/form-data
  2717. parameters:
  2718. - description: 导入Excel文件
  2719. in: formData
  2720. name: file
  2721. required: true
  2722. type: file
  2723. produces:
  2724. - application/json
  2725. responses:
  2726. "200":
  2727. description: 导入Excel文件
  2728. schema:
  2729. allOf:
  2730. - $ref: '#/definitions/response.Response'
  2731. - properties:
  2732. msg:
  2733. type: string
  2734. type: object
  2735. security:
  2736. - ApiKeyAuth: []
  2737. summary: 导入Excel文件
  2738. tags:
  2739. - excel
  2740. /excel/loadExcel:
  2741. get:
  2742. produces:
  2743. - application/json
  2744. responses:
  2745. "200":
  2746. description: 加载Excel数据,返回包括列表,总数,页码,每页数量
  2747. schema:
  2748. allOf:
  2749. - $ref: '#/definitions/response.Response'
  2750. - properties:
  2751. data:
  2752. $ref: '#/definitions/response.PageResult'
  2753. msg:
  2754. type: string
  2755. type: object
  2756. security:
  2757. - ApiKeyAuth: []
  2758. summary: 加载Excel数据
  2759. tags:
  2760. - excel
  2761. /fileUploadAndDownload/breakpointContinue:
  2762. post:
  2763. consumes:
  2764. - multipart/form-data
  2765. parameters:
  2766. - description: an example for breakpoint resume, 断点续传示例
  2767. in: formData
  2768. name: file
  2769. required: true
  2770. type: file
  2771. produces:
  2772. - application/json
  2773. responses:
  2774. "200":
  2775. description: 断点续传到服务器
  2776. schema:
  2777. allOf:
  2778. - $ref: '#/definitions/response.Response'
  2779. - properties:
  2780. msg:
  2781. type: string
  2782. type: object
  2783. security:
  2784. - ApiKeyAuth: []
  2785. summary: 断点续传到服务器
  2786. tags:
  2787. - ExaFileUploadAndDownload
  2788. /fileUploadAndDownload/deleteFile:
  2789. post:
  2790. parameters:
  2791. - description: 传入文件里面id即可
  2792. in: body
  2793. name: data
  2794. required: true
  2795. schema:
  2796. $ref: '#/definitions/example.ExaFileUploadAndDownload'
  2797. produces:
  2798. - application/json
  2799. responses:
  2800. "200":
  2801. description: 删除文件
  2802. schema:
  2803. allOf:
  2804. - $ref: '#/definitions/response.Response'
  2805. - properties:
  2806. msg:
  2807. type: string
  2808. type: object
  2809. security:
  2810. - ApiKeyAuth: []
  2811. summary: 删除文件
  2812. tags:
  2813. - ExaFileUploadAndDownload
  2814. /fileUploadAndDownload/findFile:
  2815. post:
  2816. consumes:
  2817. - multipart/form-data
  2818. parameters:
  2819. - description: 上传文件完成
  2820. in: formData
  2821. name: file
  2822. required: true
  2823. type: file
  2824. produces:
  2825. - application/json
  2826. responses:
  2827. "200":
  2828. description: 创建文件,返回包括文件路径
  2829. schema:
  2830. allOf:
  2831. - $ref: '#/definitions/response.Response'
  2832. - properties:
  2833. data:
  2834. $ref: '#/definitions/response.FilePathResponse'
  2835. msg:
  2836. type: string
  2837. type: object
  2838. security:
  2839. - ApiKeyAuth: []
  2840. summary: 创建文件
  2841. tags:
  2842. - ExaFileUploadAndDownload
  2843. /fileUploadAndDownload/getFileList:
  2844. post:
  2845. consumes:
  2846. - application/json
  2847. parameters:
  2848. - description: 页码, 每页大小
  2849. in: body
  2850. name: data
  2851. required: true
  2852. schema:
  2853. $ref: '#/definitions/request.PageInfo'
  2854. produces:
  2855. - application/json
  2856. responses:
  2857. "200":
  2858. description: 分页文件列表,返回包括列表,总数,页码,每页数量
  2859. schema:
  2860. allOf:
  2861. - $ref: '#/definitions/response.Response'
  2862. - properties:
  2863. data:
  2864. $ref: '#/definitions/response.PageResult'
  2865. msg:
  2866. type: string
  2867. type: object
  2868. security:
  2869. - ApiKeyAuth: []
  2870. summary: 分页文件列表
  2871. tags:
  2872. - ExaFileUploadAndDownload
  2873. /fileUploadAndDownload/removeChunk:
  2874. post:
  2875. consumes:
  2876. - multipart/form-data
  2877. parameters:
  2878. - description: 删除缓存切片
  2879. in: formData
  2880. name: file
  2881. required: true
  2882. type: file
  2883. produces:
  2884. - application/json
  2885. responses:
  2886. "200":
  2887. description: 删除切片
  2888. schema:
  2889. allOf:
  2890. - $ref: '#/definitions/response.Response'
  2891. - properties:
  2892. msg:
  2893. type: string
  2894. type: object
  2895. security:
  2896. - ApiKeyAuth: []
  2897. summary: 删除切片
  2898. tags:
  2899. - ExaFileUploadAndDownload
  2900. /fileUploadAndDownload/upload:
  2901. post:
  2902. consumes:
  2903. - multipart/form-data
  2904. parameters:
  2905. - description: 上传文件示例
  2906. in: formData
  2907. name: file
  2908. required: true
  2909. type: file
  2910. produces:
  2911. - application/json
  2912. responses:
  2913. "200":
  2914. description: 上传文件示例,返回包括文件详情
  2915. schema:
  2916. allOf:
  2917. - $ref: '#/definitions/response.Response'
  2918. - properties:
  2919. data:
  2920. $ref: '#/definitions/response.ExaFileResponse'
  2921. msg:
  2922. type: string
  2923. type: object
  2924. security:
  2925. - ApiKeyAuth: []
  2926. summary: 上传文件示例
  2927. tags:
  2928. - ExaFileUploadAndDownload
  2929. /init/checkdb:
  2930. post:
  2931. produces:
  2932. - application/json
  2933. responses:
  2934. "200":
  2935. description: 初始化用户数据库
  2936. schema:
  2937. allOf:
  2938. - $ref: '#/definitions/response.Response'
  2939. - properties:
  2940. data:
  2941. additionalProperties: true
  2942. type: object
  2943. msg:
  2944. type: string
  2945. type: object
  2946. summary: 初始化用户数据库
  2947. tags:
  2948. - CheckDB
  2949. /init/initdb:
  2950. post:
  2951. parameters:
  2952. - description: 初始化数据库参数
  2953. in: body
  2954. name: data
  2955. required: true
  2956. schema:
  2957. $ref: '#/definitions/request.InitDB'
  2958. produces:
  2959. - application/json
  2960. responses:
  2961. "200":
  2962. description: 初始化用户数据库
  2963. schema:
  2964. allOf:
  2965. - $ref: '#/definitions/response.Response'
  2966. - properties:
  2967. data:
  2968. type: string
  2969. type: object
  2970. summary: 初始化用户数据库
  2971. tags:
  2972. - InitDB
  2973. /jwt/jsonInBlacklist:
  2974. post:
  2975. consumes:
  2976. - application/json
  2977. produces:
  2978. - application/json
  2979. responses:
  2980. "200":
  2981. description: jwt加入黑名单
  2982. schema:
  2983. allOf:
  2984. - $ref: '#/definitions/response.Response'
  2985. - properties:
  2986. msg:
  2987. type: string
  2988. type: object
  2989. security:
  2990. - ApiKeyAuth: []
  2991. summary: jwt加入黑名单
  2992. tags:
  2993. - Jwt
  2994. /logCoding/create:
  2995. post:
  2996. consumes:
  2997. - application/json
  2998. parameters:
  2999. - description: parent_id父id, coding日志码, describe日志描述
  3000. in: body
  3001. name: data
  3002. required: true
  3003. schema:
  3004. $ref: '#/definitions/request.CodingLogRequest'
  3005. produces:
  3006. - application/json
  3007. responses:
  3008. "200":
  3009. description: 创建基础日志码
  3010. schema:
  3011. allOf:
  3012. - $ref: '#/definitions/response.Response'
  3013. - properties:
  3014. msg:
  3015. type: string
  3016. type: object
  3017. security:
  3018. - ApiKeyAuth: []
  3019. summary: 创建基础日志码
  3020. tags:
  3021. - logCoding
  3022. /logCoding/getCodeById:
  3023. post:
  3024. consumes:
  3025. - application/json
  3026. parameters:
  3027. - description: 根据id获取coding
  3028. in: body
  3029. name: data
  3030. required: true
  3031. schema:
  3032. $ref: '#/definitions/log-server_model_log_request.GetById'
  3033. produces:
  3034. - application/json
  3035. responses:
  3036. "200":
  3037. description: 根据id获取coding,返回包括coding详情
  3038. schema:
  3039. allOf:
  3040. - $ref: '#/definitions/response.Response'
  3041. - properties:
  3042. data:
  3043. $ref: '#/definitions/response.GetLogCodingReply'
  3044. type: object
  3045. security:
  3046. - ApiKeyAuth: []
  3047. summary: 根据id获取coding
  3048. tags:
  3049. - logCoding
  3050. /logCoding/getCodeList:
  3051. post:
  3052. consumes:
  3053. - application/json
  3054. parameters:
  3055. - description: 根据id获取coding
  3056. in: body
  3057. name: data
  3058. required: true
  3059. schema:
  3060. $ref: '#/definitions/log-server_model_log_request.GetById'
  3061. produces:
  3062. - application/json
  3063. responses:
  3064. "200":
  3065. description: 根据id获取coding,返回包括coding详情
  3066. schema:
  3067. allOf:
  3068. - $ref: '#/definitions/response.Response'
  3069. - properties:
  3070. data:
  3071. $ref: '#/definitions/response.GetLogCodingReply'
  3072. type: object
  3073. security:
  3074. - ApiKeyAuth: []
  3075. summary: 根据id获取coding
  3076. tags:
  3077. - logCoding
  3078. /logCoding/update:
  3079. post:
  3080. consumes:
  3081. - application/json
  3082. parameters:
  3083. - description: coding日志码, describe日志描述
  3084. in: body
  3085. name: data
  3086. required: true
  3087. schema:
  3088. $ref: '#/definitions/request.CodingLogRequest'
  3089. produces:
  3090. - application/json
  3091. responses:
  3092. "200":
  3093. description: 更新基础日志码
  3094. schema:
  3095. allOf:
  3096. - $ref: '#/definitions/response.Response'
  3097. - properties:
  3098. msg:
  3099. type: string
  3100. type: object
  3101. security:
  3102. - ApiKeyAuth: []
  3103. summary: 更新基础日志码
  3104. tags:
  3105. - logCoding
  3106. /logEnv/create:
  3107. post:
  3108. consumes:
  3109. - application/json
  3110. parameters:
  3111. - description: ' coding环境编码, describe环境描述'
  3112. in: body
  3113. name: data
  3114. required: true
  3115. schema:
  3116. $ref: '#/definitions/request.EnvLogRequest'
  3117. produces:
  3118. - application/json
  3119. responses:
  3120. "200":
  3121. description: 创建环境编码
  3122. schema:
  3123. allOf:
  3124. - $ref: '#/definitions/response.Response'
  3125. - properties:
  3126. msg:
  3127. type: string
  3128. type: object
  3129. security:
  3130. - ApiKeyAuth: []
  3131. summary: 创建基础环境码
  3132. tags:
  3133. - logEnv
  3134. /logEnv/getCodeById:
  3135. post:
  3136. consumes:
  3137. - application/json
  3138. parameters:
  3139. - description: 根据id获取log env
  3140. in: body
  3141. name: data
  3142. required: true
  3143. schema:
  3144. $ref: '#/definitions/log-server_model_log_request.GetById'
  3145. produces:
  3146. - application/json
  3147. responses:
  3148. "200":
  3149. description: 根据id获取返回log env详情
  3150. schema:
  3151. allOf:
  3152. - $ref: '#/definitions/response.Response'
  3153. - properties:
  3154. data:
  3155. $ref: '#/definitions/response.EnvLogReply'
  3156. type: object
  3157. security:
  3158. - ApiKeyAuth: []
  3159. summary: 根据id获取log env
  3160. tags:
  3161. - logEnv
  3162. /logEnv/getEnvList:
  3163. post:
  3164. consumes:
  3165. - application/json
  3166. produces:
  3167. - application/json
  3168. responses:
  3169. "200":
  3170. description: 返回log env列表
  3171. schema:
  3172. allOf:
  3173. - $ref: '#/definitions/response.Response'
  3174. - properties:
  3175. data:
  3176. items:
  3177. $ref: '#/definitions/response.EnvLogReply'
  3178. type: array
  3179. type: object
  3180. security:
  3181. - ApiKeyAuth: []
  3182. summary: 根据id获取log env
  3183. tags:
  3184. - logEnv
  3185. /logEnv/update:
  3186. post:
  3187. consumes:
  3188. - application/json
  3189. parameters:
  3190. - description: coding环境编码, describe环境描述
  3191. in: body
  3192. name: data
  3193. required: true
  3194. schema:
  3195. $ref: '#/definitions/request.EnvLogRequest'
  3196. produces:
  3197. - application/json
  3198. responses:
  3199. "200":
  3200. description: 更新环境编码
  3201. schema:
  3202. allOf:
  3203. - $ref: '#/definitions/response.Response'
  3204. - properties:
  3205. msg:
  3206. type: string
  3207. type: object
  3208. security:
  3209. - ApiKeyAuth: []
  3210. summary: 更新环境编码
  3211. tags:
  3212. - logEnv
  3213. /loging/getComputerStatistics:
  3214. post:
  3215. consumes:
  3216. - application/json
  3217. produces:
  3218. - application/json
  3219. responses:
  3220. "200":
  3221. description: 获取统计电脑
  3222. schema:
  3223. allOf:
  3224. - $ref: '#/definitions/response.Response'
  3225. - properties:
  3226. data:
  3227. type: object
  3228. type: object
  3229. security:
  3230. - ApiKeyAuth: []
  3231. summary: 获取统计电脑
  3232. tags:
  3233. - loging
  3234. /loging/getLogList:
  3235. post:
  3236. consumes:
  3237. - application/json
  3238. parameters:
  3239. - description: 获取log
  3240. in: body
  3241. name: data
  3242. required: true
  3243. schema:
  3244. $ref: '#/definitions/request.GetLogListRequest'
  3245. produces:
  3246. - application/json
  3247. responses:
  3248. "200":
  3249. description: 根据id获取coding,返回包括coding详情
  3250. schema:
  3251. allOf:
  3252. - $ref: '#/definitions/response.Response'
  3253. - properties:
  3254. data:
  3255. $ref: '#/definitions/response.GetLogCodingReply'
  3256. type: object
  3257. security:
  3258. - ApiKeyAuth: []
  3259. summary: 获取log
  3260. tags:
  3261. - loging
  3262. /loging/getReportLogList:
  3263. post:
  3264. consumes:
  3265. - application/json
  3266. parameters:
  3267. - description: 获取打点log
  3268. in: body
  3269. name: data
  3270. required: true
  3271. schema:
  3272. $ref: '#/definitions/request.GetLogListRequest'
  3273. produces:
  3274. - application/json
  3275. responses:
  3276. "200":
  3277. description: 获取打点log列表
  3278. schema:
  3279. allOf:
  3280. - $ref: '#/definitions/response.Response'
  3281. - properties:
  3282. data:
  3283. $ref: '#/definitions/response.GetLogCodingReply'
  3284. type: object
  3285. security:
  3286. - ApiKeyAuth: []
  3287. summary: 获取打点log
  3288. tags:
  3289. - loging
  3290. /loging/getStatisticsLogList:
  3291. post:
  3292. consumes:
  3293. - application/json
  3294. produces:
  3295. - application/json
  3296. responses:
  3297. "200":
  3298. description: 获取统计log
  3299. schema:
  3300. allOf:
  3301. - $ref: '#/definitions/response.Response'
  3302. - properties:
  3303. data:
  3304. type: object
  3305. type: object
  3306. security:
  3307. - ApiKeyAuth: []
  3308. summary: 获取统计log
  3309. tags:
  3310. - loging
  3311. /loging/resetStatisticsLog:
  3312. post:
  3313. consumes:
  3314. - application/json
  3315. parameters:
  3316. - description: 根据id重置统计log
  3317. in: body
  3318. name: data
  3319. required: true
  3320. schema:
  3321. $ref: '#/definitions/log-server_model_log_request.GetById'
  3322. produces:
  3323. - application/json
  3324. responses:
  3325. "200":
  3326. description: 重置统计log
  3327. schema:
  3328. allOf:
  3329. - $ref: '#/definitions/response.Response'
  3330. - properties:
  3331. data:
  3332. type: object
  3333. type: object
  3334. security:
  3335. - ApiKeyAuth: []
  3336. summary: 重置统计log
  3337. tags:
  3338. - loging
  3339. /loging/setLog:
  3340. post:
  3341. consumes:
  3342. - application/json
  3343. parameters:
  3344. - description: simulator_ip(模拟器ip),simulator_mac(模拟器mac地址),pc_code(租机编号),pc_mac(租机mac地址),pc_ip(租机ip),device_id(绑定的设备id),account(账号),game_id(游戏id),coding(上传编码),computer_type(电脑类型),env_code(环境编号),log_uuid(日志uuid唯一,可以时间戳加随机数。上报一轮后更换),operator(脚本开发员),account_type(账号类型),remarks(备注),report_points_data(打点数据),task_type(1新增,2活跃),script_type(1中控,2脚本)脚本类型
  3345. in: body
  3346. name: data
  3347. required: true
  3348. schema:
  3349. $ref: '#/definitions/request.AddLogRequest'
  3350. produces:
  3351. - application/json
  3352. responses:
  3353. "200":
  3354. description: 添加日志
  3355. schema:
  3356. allOf:
  3357. - $ref: '#/definitions/response.Response'
  3358. - properties:
  3359. msg:
  3360. type: string
  3361. type: object
  3362. security:
  3363. - ApiKeyAuth: []
  3364. summary: 添加日志
  3365. tags:
  3366. - loging
  3367. /menu/addBaseMenu:
  3368. post:
  3369. consumes:
  3370. - application/json
  3371. parameters:
  3372. - description: 路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记
  3373. in: body
  3374. name: data
  3375. required: true
  3376. schema:
  3377. $ref: '#/definitions/system.SysBaseMenu'
  3378. produces:
  3379. - application/json
  3380. responses:
  3381. "200":
  3382. description: 新增菜单
  3383. schema:
  3384. allOf:
  3385. - $ref: '#/definitions/response.Response'
  3386. - properties:
  3387. msg:
  3388. type: string
  3389. type: object
  3390. security:
  3391. - ApiKeyAuth: []
  3392. summary: 新增菜单
  3393. tags:
  3394. - Menu
  3395. /menu/addMenuAuthority:
  3396. post:
  3397. consumes:
  3398. - application/json
  3399. parameters:
  3400. - description: 角色ID
  3401. in: body
  3402. name: data
  3403. required: true
  3404. schema:
  3405. $ref: '#/definitions/request.AddMenuAuthorityInfo'
  3406. produces:
  3407. - application/json
  3408. responses:
  3409. "200":
  3410. description: 增加menu和角色关联关系
  3411. schema:
  3412. allOf:
  3413. - $ref: '#/definitions/response.Response'
  3414. - properties:
  3415. msg:
  3416. type: string
  3417. type: object
  3418. security:
  3419. - ApiKeyAuth: []
  3420. summary: 增加menu和角色关联关系
  3421. tags:
  3422. - AuthorityMenu
  3423. /menu/deleteBaseMenu:
  3424. post:
  3425. consumes:
  3426. - application/json
  3427. parameters:
  3428. - description: 菜单id
  3429. in: body
  3430. name: data
  3431. required: true
  3432. schema:
  3433. $ref: '#/definitions/log-server_model_common_request.GetById'
  3434. produces:
  3435. - application/json
  3436. responses:
  3437. "200":
  3438. description: 删除菜单
  3439. schema:
  3440. allOf:
  3441. - $ref: '#/definitions/response.Response'
  3442. - properties:
  3443. msg:
  3444. type: string
  3445. type: object
  3446. security:
  3447. - ApiKeyAuth: []
  3448. summary: 删除菜单
  3449. tags:
  3450. - Menu
  3451. /menu/getBaseMenuById:
  3452. post:
  3453. consumes:
  3454. - application/json
  3455. parameters:
  3456. - description: 菜单id
  3457. in: body
  3458. name: data
  3459. required: true
  3460. schema:
  3461. $ref: '#/definitions/log-server_model_common_request.GetById'
  3462. produces:
  3463. - application/json
  3464. responses:
  3465. "200":
  3466. description: 根据id获取菜单,返回包括系统菜单列表
  3467. schema:
  3468. allOf:
  3469. - $ref: '#/definitions/response.Response'
  3470. - properties:
  3471. data:
  3472. $ref: '#/definitions/response.SysBaseMenuResponse'
  3473. msg:
  3474. type: string
  3475. type: object
  3476. security:
  3477. - ApiKeyAuth: []
  3478. summary: 根据id获取菜单
  3479. tags:
  3480. - Menu
  3481. /menu/getBaseMenuTree:
  3482. post:
  3483. parameters:
  3484. - description: 空
  3485. in: body
  3486. name: data
  3487. required: true
  3488. schema:
  3489. $ref: '#/definitions/request.Empty'
  3490. produces:
  3491. - application/json
  3492. responses:
  3493. "200":
  3494. description: 获取用户动态路由,返回包括系统菜单列表
  3495. schema:
  3496. allOf:
  3497. - $ref: '#/definitions/response.Response'
  3498. - properties:
  3499. data:
  3500. $ref: '#/definitions/response.SysBaseMenusResponse'
  3501. msg:
  3502. type: string
  3503. type: object
  3504. security:
  3505. - ApiKeyAuth: []
  3506. summary: 获取用户动态路由
  3507. tags:
  3508. - AuthorityMenu
  3509. /menu/getMenu:
  3510. post:
  3511. parameters:
  3512. - description: 空
  3513. in: body
  3514. name: data
  3515. required: true
  3516. schema:
  3517. $ref: '#/definitions/request.Empty'
  3518. produces:
  3519. - application/json
  3520. responses:
  3521. "200":
  3522. description: 获取用户动态路由,返回包括系统菜单详情列表
  3523. schema:
  3524. allOf:
  3525. - $ref: '#/definitions/response.Response'
  3526. - properties:
  3527. data:
  3528. $ref: '#/definitions/response.SysMenusResponse'
  3529. msg:
  3530. type: string
  3531. type: object
  3532. security:
  3533. - ApiKeyAuth: []
  3534. summary: 获取用户动态路由
  3535. tags:
  3536. - AuthorityMenu
  3537. /menu/getMenuAuthority:
  3538. post:
  3539. consumes:
  3540. - application/json
  3541. parameters:
  3542. - description: 角色ID
  3543. in: body
  3544. name: data
  3545. required: true
  3546. schema:
  3547. $ref: '#/definitions/request.GetAuthorityId'
  3548. produces:
  3549. - application/json
  3550. responses:
  3551. "200":
  3552. description: 获取指定角色menu
  3553. schema:
  3554. allOf:
  3555. - $ref: '#/definitions/response.Response'
  3556. - properties:
  3557. data:
  3558. additionalProperties: true
  3559. type: object
  3560. msg:
  3561. type: string
  3562. type: object
  3563. security:
  3564. - ApiKeyAuth: []
  3565. summary: 获取指定角色menu
  3566. tags:
  3567. - AuthorityMenu
  3568. /menu/getMenuList:
  3569. post:
  3570. consumes:
  3571. - application/json
  3572. parameters:
  3573. - description: 页码, 每页大小
  3574. in: body
  3575. name: data
  3576. required: true
  3577. schema:
  3578. $ref: '#/definitions/request.PageInfo'
  3579. produces:
  3580. - application/json
  3581. responses:
  3582. "200":
  3583. description: 分页获取基础menu列表,返回包括列表,总数,页码,每页数量
  3584. schema:
  3585. allOf:
  3586. - $ref: '#/definitions/response.Response'
  3587. - properties:
  3588. data:
  3589. $ref: '#/definitions/response.PageResult'
  3590. msg:
  3591. type: string
  3592. type: object
  3593. security:
  3594. - ApiKeyAuth: []
  3595. summary: 分页获取基础menu列表
  3596. tags:
  3597. - Menu
  3598. /menu/updateBaseMenu:
  3599. post:
  3600. consumes:
  3601. - application/json
  3602. parameters:
  3603. - description: 路由path, 父菜单ID, 路由name, 对应前端文件路径, 排序标记
  3604. in: body
  3605. name: data
  3606. required: true
  3607. schema:
  3608. $ref: '#/definitions/system.SysBaseMenu'
  3609. produces:
  3610. - application/json
  3611. responses:
  3612. "200":
  3613. description: 更新菜单
  3614. schema:
  3615. allOf:
  3616. - $ref: '#/definitions/response.Response'
  3617. - properties:
  3618. msg:
  3619. type: string
  3620. type: object
  3621. security:
  3622. - ApiKeyAuth: []
  3623. summary: 更新菜单
  3624. tags:
  3625. - Menu
  3626. /sysDictionary/createSysDictionary:
  3627. post:
  3628. consumes:
  3629. - application/json
  3630. parameters:
  3631. - description: SysDictionary模型
  3632. in: body
  3633. name: data
  3634. required: true
  3635. schema:
  3636. $ref: '#/definitions/system.SysDictionary'
  3637. produces:
  3638. - application/json
  3639. responses:
  3640. "200":
  3641. description: 创建SysDictionary
  3642. schema:
  3643. allOf:
  3644. - $ref: '#/definitions/response.Response'
  3645. - properties:
  3646. msg:
  3647. type: string
  3648. type: object
  3649. security:
  3650. - ApiKeyAuth: []
  3651. summary: 创建SysDictionary
  3652. tags:
  3653. - SysDictionary
  3654. /sysDictionary/deleteSysDictionary:
  3655. delete:
  3656. consumes:
  3657. - application/json
  3658. parameters:
  3659. - description: SysDictionary模型
  3660. in: body
  3661. name: data
  3662. required: true
  3663. schema:
  3664. $ref: '#/definitions/system.SysDictionary'
  3665. produces:
  3666. - application/json
  3667. responses:
  3668. "200":
  3669. description: 删除SysDictionary
  3670. schema:
  3671. allOf:
  3672. - $ref: '#/definitions/response.Response'
  3673. - properties:
  3674. msg:
  3675. type: string
  3676. type: object
  3677. security:
  3678. - ApiKeyAuth: []
  3679. summary: 删除SysDictionary
  3680. tags:
  3681. - SysDictionary
  3682. /sysDictionary/findSysDictionary:
  3683. get:
  3684. consumes:
  3685. - application/json
  3686. parameters:
  3687. - description: 创建时间
  3688. in: query
  3689. name: createdAt
  3690. type: string
  3691. - description: 描述
  3692. in: query
  3693. name: desc
  3694. type: string
  3695. - description: 主键ID
  3696. in: query
  3697. name: id
  3698. type: integer
  3699. - description: 字典名(中)
  3700. in: query
  3701. name: name
  3702. type: string
  3703. - description: 状态
  3704. in: query
  3705. name: status
  3706. type: boolean
  3707. - description: 字典名(英)
  3708. in: query
  3709. name: type
  3710. type: string
  3711. - description: 更新时间
  3712. in: query
  3713. name: updatedAt
  3714. type: string
  3715. produces:
  3716. - application/json
  3717. responses:
  3718. "200":
  3719. description: 用id查询SysDictionary
  3720. schema:
  3721. allOf:
  3722. - $ref: '#/definitions/response.Response'
  3723. - properties:
  3724. data:
  3725. additionalProperties: true
  3726. type: object
  3727. msg:
  3728. type: string
  3729. type: object
  3730. security:
  3731. - ApiKeyAuth: []
  3732. summary: 用id查询SysDictionary
  3733. tags:
  3734. - SysDictionary
  3735. /sysDictionary/getSysDictionaryList:
  3736. get:
  3737. consumes:
  3738. - application/json
  3739. parameters:
  3740. - description: 创建时间
  3741. in: query
  3742. name: createdAt
  3743. type: string
  3744. - description: 描述
  3745. in: query
  3746. name: desc
  3747. type: string
  3748. - description: 主键ID
  3749. in: query
  3750. name: id
  3751. type: integer
  3752. - description: 关键字
  3753. in: query
  3754. name: keyword
  3755. type: string
  3756. - description: 字典名(中)
  3757. in: query
  3758. name: name
  3759. type: string
  3760. - description: 页码
  3761. in: query
  3762. name: page
  3763. type: integer
  3764. - description: 每页大小
  3765. in: query
  3766. name: pageSize
  3767. type: integer
  3768. - description: 状态
  3769. in: query
  3770. name: status
  3771. type: boolean
  3772. - description: 字典名(英)
  3773. in: query
  3774. name: type
  3775. type: string
  3776. - description: 更新时间
  3777. in: query
  3778. name: updatedAt
  3779. type: string
  3780. produces:
  3781. - application/json
  3782. responses:
  3783. "200":
  3784. description: 分页获取SysDictionary列表,返回包括列表,总数,页码,每页数量
  3785. schema:
  3786. allOf:
  3787. - $ref: '#/definitions/response.Response'
  3788. - properties:
  3789. data:
  3790. $ref: '#/definitions/response.PageResult'
  3791. msg:
  3792. type: string
  3793. type: object
  3794. security:
  3795. - ApiKeyAuth: []
  3796. summary: 分页获取SysDictionary列表
  3797. tags:
  3798. - SysDictionary
  3799. /sysDictionary/updateSysDictionary:
  3800. put:
  3801. consumes:
  3802. - application/json
  3803. parameters:
  3804. - description: SysDictionary模型
  3805. in: body
  3806. name: data
  3807. required: true
  3808. schema:
  3809. $ref: '#/definitions/system.SysDictionary'
  3810. produces:
  3811. - application/json
  3812. responses:
  3813. "200":
  3814. description: 更新SysDictionary
  3815. schema:
  3816. allOf:
  3817. - $ref: '#/definitions/response.Response'
  3818. - properties:
  3819. msg:
  3820. type: string
  3821. type: object
  3822. security:
  3823. - ApiKeyAuth: []
  3824. summary: 更新SysDictionary
  3825. tags:
  3826. - SysDictionary
  3827. /sysDictionaryDetail/createSysDictionaryDetail:
  3828. post:
  3829. consumes:
  3830. - application/json
  3831. parameters:
  3832. - description: SysDictionaryDetail模型
  3833. in: body
  3834. name: data
  3835. required: true
  3836. schema:
  3837. $ref: '#/definitions/system.SysDictionaryDetail'
  3838. produces:
  3839. - application/json
  3840. responses:
  3841. "200":
  3842. description: 创建SysDictionaryDetail
  3843. schema:
  3844. allOf:
  3845. - $ref: '#/definitions/response.Response'
  3846. - properties:
  3847. msg:
  3848. type: string
  3849. type: object
  3850. security:
  3851. - ApiKeyAuth: []
  3852. summary: 创建SysDictionaryDetail
  3853. tags:
  3854. - SysDictionaryDetail
  3855. /sysDictionaryDetail/deleteSysDictionaryDetail:
  3856. delete:
  3857. consumes:
  3858. - application/json
  3859. parameters:
  3860. - description: SysDictionaryDetail模型
  3861. in: body
  3862. name: data
  3863. required: true
  3864. schema:
  3865. $ref: '#/definitions/system.SysDictionaryDetail'
  3866. produces:
  3867. - application/json
  3868. responses:
  3869. "200":
  3870. description: 删除SysDictionaryDetail
  3871. schema:
  3872. allOf:
  3873. - $ref: '#/definitions/response.Response'
  3874. - properties:
  3875. msg:
  3876. type: string
  3877. type: object
  3878. security:
  3879. - ApiKeyAuth: []
  3880. summary: 删除SysDictionaryDetail
  3881. tags:
  3882. - SysDictionaryDetail
  3883. /sysDictionaryDetail/findSysDictionaryDetail:
  3884. get:
  3885. consumes:
  3886. - application/json
  3887. parameters:
  3888. - description: 创建时间
  3889. in: query
  3890. name: createdAt
  3891. type: string
  3892. - description: 主键ID
  3893. in: query
  3894. name: id
  3895. type: integer
  3896. - description: 展示值
  3897. in: query
  3898. name: label
  3899. type: string
  3900. - description: 排序标记
  3901. in: query
  3902. name: sort
  3903. type: integer
  3904. - description: 启用状态
  3905. in: query
  3906. name: status
  3907. type: boolean
  3908. - description: 关联标记
  3909. in: query
  3910. name: sysDictionaryID
  3911. type: integer
  3912. - description: 更新时间
  3913. in: query
  3914. name: updatedAt
  3915. type: string
  3916. - description: 字典值
  3917. in: query
  3918. name: value
  3919. type: integer
  3920. produces:
  3921. - application/json
  3922. responses:
  3923. "200":
  3924. description: 用id查询SysDictionaryDetail
  3925. schema:
  3926. allOf:
  3927. - $ref: '#/definitions/response.Response'
  3928. - properties:
  3929. data:
  3930. additionalProperties: true
  3931. type: object
  3932. msg:
  3933. type: string
  3934. type: object
  3935. security:
  3936. - ApiKeyAuth: []
  3937. summary: 用id查询SysDictionaryDetail
  3938. tags:
  3939. - SysDictionaryDetail
  3940. /sysDictionaryDetail/getSysDictionaryDetailList:
  3941. get:
  3942. consumes:
  3943. - application/json
  3944. parameters:
  3945. - description: 创建时间
  3946. in: query
  3947. name: createdAt
  3948. type: string
  3949. - description: 主键ID
  3950. in: query
  3951. name: id
  3952. type: integer
  3953. - description: 关键字
  3954. in: query
  3955. name: keyword
  3956. type: string
  3957. - description: 展示值
  3958. in: query
  3959. name: label
  3960. type: string
  3961. - description: 页码
  3962. in: query
  3963. name: page
  3964. type: integer
  3965. - description: 每页大小
  3966. in: query
  3967. name: pageSize
  3968. type: integer
  3969. - description: 排序标记
  3970. in: query
  3971. name: sort
  3972. type: integer
  3973. - description: 启用状态
  3974. in: query
  3975. name: status
  3976. type: boolean
  3977. - description: 关联标记
  3978. in: query
  3979. name: sysDictionaryID
  3980. type: integer
  3981. - description: 更新时间
  3982. in: query
  3983. name: updatedAt
  3984. type: string
  3985. - description: 字典值
  3986. in: query
  3987. name: value
  3988. type: integer
  3989. produces:
  3990. - application/json
  3991. responses:
  3992. "200":
  3993. description: 分页获取SysDictionaryDetail列表,返回包括列表,总数,页码,每页数量
  3994. schema:
  3995. allOf:
  3996. - $ref: '#/definitions/response.Response'
  3997. - properties:
  3998. data:
  3999. $ref: '#/definitions/response.PageResult'
  4000. msg:
  4001. type: string
  4002. type: object
  4003. security:
  4004. - ApiKeyAuth: []
  4005. summary: 分页获取SysDictionaryDetail列表
  4006. tags:
  4007. - SysDictionaryDetail
  4008. /sysDictionaryDetail/updateSysDictionaryDetail:
  4009. put:
  4010. consumes:
  4011. - application/json
  4012. parameters:
  4013. - description: 更新SysDictionaryDetail
  4014. in: body
  4015. name: data
  4016. required: true
  4017. schema:
  4018. $ref: '#/definitions/system.SysDictionaryDetail'
  4019. produces:
  4020. - application/json
  4021. responses:
  4022. "200":
  4023. description: 更新SysDictionaryDetail
  4024. schema:
  4025. allOf:
  4026. - $ref: '#/definitions/response.Response'
  4027. - properties:
  4028. msg:
  4029. type: string
  4030. type: object
  4031. security:
  4032. - ApiKeyAuth: []
  4033. summary: 更新SysDictionaryDetail
  4034. tags:
  4035. - SysDictionaryDetail
  4036. /sysOperationRecord/createSysOperationRecord:
  4037. post:
  4038. consumes:
  4039. - application/json
  4040. parameters:
  4041. - description: 创建SysOperationRecord
  4042. in: body
  4043. name: data
  4044. required: true
  4045. schema:
  4046. $ref: '#/definitions/system.SysOperationRecord'
  4047. produces:
  4048. - application/json
  4049. responses:
  4050. "200":
  4051. description: 创建SysOperationRecord
  4052. schema:
  4053. allOf:
  4054. - $ref: '#/definitions/response.Response'
  4055. - properties:
  4056. msg:
  4057. type: string
  4058. type: object
  4059. security:
  4060. - ApiKeyAuth: []
  4061. summary: 创建SysOperationRecord
  4062. tags:
  4063. - SysOperationRecord
  4064. /sysOperationRecord/deleteSysOperationRecord:
  4065. delete:
  4066. consumes:
  4067. - application/json
  4068. parameters:
  4069. - description: SysOperationRecord模型
  4070. in: body
  4071. name: data
  4072. required: true
  4073. schema:
  4074. $ref: '#/definitions/system.SysOperationRecord'
  4075. produces:
  4076. - application/json
  4077. responses:
  4078. "200":
  4079. description: 删除SysOperationRecord
  4080. schema:
  4081. allOf:
  4082. - $ref: '#/definitions/response.Response'
  4083. - properties:
  4084. msg:
  4085. type: string
  4086. type: object
  4087. security:
  4088. - ApiKeyAuth: []
  4089. summary: 删除SysOperationRecord
  4090. tags:
  4091. - SysOperationRecord
  4092. /sysOperationRecord/deleteSysOperationRecordByIds:
  4093. delete:
  4094. consumes:
  4095. - application/json
  4096. parameters:
  4097. - description: 批量删除SysOperationRecord
  4098. in: body
  4099. name: data
  4100. required: true
  4101. schema:
  4102. $ref: '#/definitions/request.IdsReq'
  4103. produces:
  4104. - application/json
  4105. responses:
  4106. "200":
  4107. description: 批量删除SysOperationRecord
  4108. schema:
  4109. allOf:
  4110. - $ref: '#/definitions/response.Response'
  4111. - properties:
  4112. msg:
  4113. type: string
  4114. type: object
  4115. security:
  4116. - ApiKeyAuth: []
  4117. summary: 批量删除SysOperationRecord
  4118. tags:
  4119. - SysOperationRecord
  4120. /sysOperationRecord/findSysOperationRecord:
  4121. get:
  4122. consumes:
  4123. - application/json
  4124. parameters:
  4125. - description: 代理
  4126. in: query
  4127. name: agent
  4128. type: string
  4129. - description: 请求Body
  4130. in: query
  4131. name: body
  4132. type: string
  4133. - description: 创建时间
  4134. in: query
  4135. name: createdAt
  4136. type: string
  4137. - description: 错误信息
  4138. in: query
  4139. name: error_message
  4140. type: string
  4141. - description: 主键ID
  4142. in: query
  4143. name: id
  4144. type: integer
  4145. - description: 请求ip
  4146. in: query
  4147. name: ip
  4148. type: string
  4149. - description: 延迟
  4150. in: query
  4151. name: latency
  4152. type: string
  4153. - description: 请求方法
  4154. in: query
  4155. name: method
  4156. type: string
  4157. - description: 请求路径
  4158. in: query
  4159. name: path
  4160. type: string
  4161. - description: 响应Body
  4162. in: query
  4163. name: resp
  4164. type: string
  4165. - description: 请求状态
  4166. in: query
  4167. name: status
  4168. type: integer
  4169. - description: 更新时间
  4170. in: query
  4171. name: updatedAt
  4172. type: string
  4173. - description: 用户id
  4174. in: query
  4175. name: user_id
  4176. type: integer
  4177. produces:
  4178. - application/json
  4179. responses:
  4180. "200":
  4181. description: 用id查询SysOperationRecord
  4182. schema:
  4183. allOf:
  4184. - $ref: '#/definitions/response.Response'
  4185. - properties:
  4186. data:
  4187. additionalProperties: true
  4188. type: object
  4189. msg:
  4190. type: string
  4191. type: object
  4192. security:
  4193. - ApiKeyAuth: []
  4194. summary: 用id查询SysOperationRecord
  4195. tags:
  4196. - SysOperationRecord
  4197. /sysOperationRecord/getSysOperationRecordList:
  4198. get:
  4199. consumes:
  4200. - application/json
  4201. parameters:
  4202. - description: 代理
  4203. in: query
  4204. name: agent
  4205. type: string
  4206. - description: 请求Body
  4207. in: query
  4208. name: body
  4209. type: string
  4210. - description: 创建时间
  4211. in: query
  4212. name: createdAt
  4213. type: string
  4214. - description: 错误信息
  4215. in: query
  4216. name: error_message
  4217. type: string
  4218. - description: 主键ID
  4219. in: query
  4220. name: id
  4221. type: integer
  4222. - description: 请求ip
  4223. in: query
  4224. name: ip
  4225. type: string
  4226. - description: 关键字
  4227. in: query
  4228. name: keyword
  4229. type: string
  4230. - description: 延迟
  4231. in: query
  4232. name: latency
  4233. type: string
  4234. - description: 请求方法
  4235. in: query
  4236. name: method
  4237. type: string
  4238. - description: 页码
  4239. in: query
  4240. name: page
  4241. type: integer
  4242. - description: 每页大小
  4243. in: query
  4244. name: pageSize
  4245. type: integer
  4246. - description: 请求路径
  4247. in: query
  4248. name: path
  4249. type: string
  4250. - description: 响应Body
  4251. in: query
  4252. name: resp
  4253. type: string
  4254. - description: 请求状态
  4255. in: query
  4256. name: status
  4257. type: integer
  4258. - description: 更新时间
  4259. in: query
  4260. name: updatedAt
  4261. type: string
  4262. - description: 用户id
  4263. in: query
  4264. name: user_id
  4265. type: integer
  4266. produces:
  4267. - application/json
  4268. responses:
  4269. "200":
  4270. description: 分页获取SysOperationRecord列表,返回包括列表,总数,页码,每页数量
  4271. schema:
  4272. allOf:
  4273. - $ref: '#/definitions/response.Response'
  4274. - properties:
  4275. data:
  4276. $ref: '#/definitions/response.PageResult'
  4277. msg:
  4278. type: string
  4279. type: object
  4280. security:
  4281. - ApiKeyAuth: []
  4282. summary: 分页获取SysOperationRecord列表
  4283. tags:
  4284. - SysOperationRecord
  4285. /system/getServerInfo:
  4286. post:
  4287. produces:
  4288. - application/json
  4289. responses:
  4290. "200":
  4291. description: 获取服务器信息
  4292. schema:
  4293. allOf:
  4294. - $ref: '#/definitions/response.Response'
  4295. - properties:
  4296. data:
  4297. additionalProperties: true
  4298. type: object
  4299. msg:
  4300. type: string
  4301. type: object
  4302. security:
  4303. - ApiKeyAuth: []
  4304. summary: 获取服务器信息
  4305. tags:
  4306. - System
  4307. /system/getSystemConfig:
  4308. post:
  4309. produces:
  4310. - application/json
  4311. responses:
  4312. "200":
  4313. description: 获取配置文件内容,返回包括系统配置
  4314. schema:
  4315. allOf:
  4316. - $ref: '#/definitions/response.Response'
  4317. - properties:
  4318. data:
  4319. $ref: '#/definitions/response.SysConfigResponse'
  4320. msg:
  4321. type: string
  4322. type: object
  4323. security:
  4324. - ApiKeyAuth: []
  4325. summary: 获取配置文件内容
  4326. tags:
  4327. - System
  4328. /system/reloadSystem:
  4329. post:
  4330. produces:
  4331. - application/json
  4332. responses:
  4333. "200":
  4334. description: 重启系统
  4335. schema:
  4336. allOf:
  4337. - $ref: '#/definitions/response.Response'
  4338. - properties:
  4339. msg:
  4340. type: string
  4341. type: object
  4342. security:
  4343. - ApiKeyAuth: []
  4344. summary: 重启系统
  4345. tags:
  4346. - System
  4347. /system/setSystemConfig:
  4348. post:
  4349. parameters:
  4350. - description: 设置配置文件内容
  4351. in: body
  4352. name: data
  4353. required: true
  4354. schema:
  4355. $ref: '#/definitions/system.System'
  4356. produces:
  4357. - application/json
  4358. responses:
  4359. "200":
  4360. description: 设置配置文件内容
  4361. schema:
  4362. allOf:
  4363. - $ref: '#/definitions/response.Response'
  4364. - properties:
  4365. data:
  4366. type: string
  4367. type: object
  4368. security:
  4369. - ApiKeyAuth: []
  4370. summary: 设置配置文件内容
  4371. tags:
  4372. - System
  4373. /user/SetSelfInfo:
  4374. put:
  4375. consumes:
  4376. - application/json
  4377. parameters:
  4378. - description: ID, 用户名, 昵称, 头像链接
  4379. in: body
  4380. name: data
  4381. required: true
  4382. schema:
  4383. $ref: '#/definitions/system.SysUser'
  4384. produces:
  4385. - application/json
  4386. responses:
  4387. "200":
  4388. description: 设置用户信息
  4389. schema:
  4390. allOf:
  4391. - $ref: '#/definitions/response.Response'
  4392. - properties:
  4393. data:
  4394. additionalProperties: true
  4395. type: object
  4396. msg:
  4397. type: string
  4398. type: object
  4399. security:
  4400. - ApiKeyAuth: []
  4401. summary: 设置用户信息
  4402. tags:
  4403. - SysUser
  4404. /user/admin_register:
  4405. post:
  4406. parameters:
  4407. - description: 用户名, 昵称, 密码, 角色ID
  4408. in: body
  4409. name: data
  4410. required: true
  4411. schema:
  4412. $ref: '#/definitions/request.Register'
  4413. produces:
  4414. - application/json
  4415. responses:
  4416. "200":
  4417. description: 用户注册账号,返回包括用户信息
  4418. schema:
  4419. allOf:
  4420. - $ref: '#/definitions/response.Response'
  4421. - properties:
  4422. data:
  4423. $ref: '#/definitions/response.SysUserResponse'
  4424. msg:
  4425. type: string
  4426. type: object
  4427. summary: 用户注册账号
  4428. tags:
  4429. - SysUser
  4430. /user/changePassword:
  4431. post:
  4432. parameters:
  4433. - description: 用户名, 原密码, 新密码
  4434. in: body
  4435. name: data
  4436. required: true
  4437. schema:
  4438. $ref: '#/definitions/request.ChangePasswordStruct'
  4439. produces:
  4440. - application/json
  4441. responses:
  4442. "200":
  4443. description: 用户修改密码
  4444. schema:
  4445. allOf:
  4446. - $ref: '#/definitions/response.Response'
  4447. - properties:
  4448. msg:
  4449. type: string
  4450. type: object
  4451. security:
  4452. - ApiKeyAuth: []
  4453. summary: 用户修改密码
  4454. tags:
  4455. - SysUser
  4456. /user/deleteUser:
  4457. delete:
  4458. consumes:
  4459. - application/json
  4460. parameters:
  4461. - description: 用户ID
  4462. in: body
  4463. name: data
  4464. required: true
  4465. schema:
  4466. $ref: '#/definitions/log-server_model_common_request.GetById'
  4467. produces:
  4468. - application/json
  4469. responses:
  4470. "200":
  4471. description: 删除用户
  4472. schema:
  4473. allOf:
  4474. - $ref: '#/definitions/response.Response'
  4475. - properties:
  4476. msg:
  4477. type: string
  4478. type: object
  4479. security:
  4480. - ApiKeyAuth: []
  4481. summary: 删除用户
  4482. tags:
  4483. - SysUser
  4484. /user/getUserInfo:
  4485. get:
  4486. consumes:
  4487. - application/json
  4488. produces:
  4489. - application/json
  4490. responses:
  4491. "200":
  4492. description: 获取用户信息
  4493. schema:
  4494. allOf:
  4495. - $ref: '#/definitions/response.Response'
  4496. - properties:
  4497. data:
  4498. additionalProperties: true
  4499. type: object
  4500. msg:
  4501. type: string
  4502. type: object
  4503. security:
  4504. - ApiKeyAuth: []
  4505. summary: 获取用户信息
  4506. tags:
  4507. - SysUser
  4508. /user/getUserList:
  4509. post:
  4510. consumes:
  4511. - application/json
  4512. parameters:
  4513. - description: 页码, 每页大小
  4514. in: body
  4515. name: data
  4516. required: true
  4517. schema:
  4518. $ref: '#/definitions/request.PageInfo'
  4519. produces:
  4520. - application/json
  4521. responses:
  4522. "200":
  4523. description: 分页获取用户列表,返回包括列表,总数,页码,每页数量
  4524. schema:
  4525. allOf:
  4526. - $ref: '#/definitions/response.Response'
  4527. - properties:
  4528. data:
  4529. $ref: '#/definitions/response.PageResult'
  4530. msg:
  4531. type: string
  4532. type: object
  4533. security:
  4534. - ApiKeyAuth: []
  4535. summary: 分页获取用户列表
  4536. tags:
  4537. - SysUser
  4538. /user/resetPassword:
  4539. post:
  4540. parameters:
  4541. - description: ID
  4542. in: body
  4543. name: data
  4544. required: true
  4545. schema:
  4546. $ref: '#/definitions/system.SysUser'
  4547. produces:
  4548. - application/json
  4549. responses:
  4550. "200":
  4551. description: 重置用户密码
  4552. schema:
  4553. allOf:
  4554. - $ref: '#/definitions/response.Response'
  4555. - properties:
  4556. msg:
  4557. type: string
  4558. type: object
  4559. security:
  4560. - ApiKeyAuth: []
  4561. summary: 重置用户密码
  4562. tags:
  4563. - SysUser
  4564. /user/setUserAuthorities:
  4565. post:
  4566. consumes:
  4567. - application/json
  4568. parameters:
  4569. - description: 用户UUID, 角色ID
  4570. in: body
  4571. name: data
  4572. required: true
  4573. schema:
  4574. $ref: '#/definitions/request.SetUserAuthorities'
  4575. produces:
  4576. - application/json
  4577. responses:
  4578. "200":
  4579. description: 设置用户权限
  4580. schema:
  4581. allOf:
  4582. - $ref: '#/definitions/response.Response'
  4583. - properties:
  4584. msg:
  4585. type: string
  4586. type: object
  4587. security:
  4588. - ApiKeyAuth: []
  4589. summary: 设置用户权限
  4590. tags:
  4591. - SysUser
  4592. /user/setUserAuthority:
  4593. post:
  4594. consumes:
  4595. - application/json
  4596. parameters:
  4597. - description: 用户UUID, 角色ID
  4598. in: body
  4599. name: data
  4600. required: true
  4601. schema:
  4602. $ref: '#/definitions/request.SetUserAuth'
  4603. produces:
  4604. - application/json
  4605. responses:
  4606. "200":
  4607. description: 设置用户权限
  4608. schema:
  4609. allOf:
  4610. - $ref: '#/definitions/response.Response'
  4611. - properties:
  4612. msg:
  4613. type: string
  4614. type: object
  4615. security:
  4616. - ApiKeyAuth: []
  4617. summary: 更改用户权限
  4618. tags:
  4619. - SysUser
  4620. /user/setUserInfo:
  4621. put:
  4622. consumes:
  4623. - application/json
  4624. parameters:
  4625. - description: ID, 用户名, 昵称, 头像链接
  4626. in: body
  4627. name: data
  4628. required: true
  4629. schema:
  4630. $ref: '#/definitions/system.SysUser'
  4631. produces:
  4632. - application/json
  4633. responses:
  4634. "200":
  4635. description: 设置用户信息
  4636. schema:
  4637. allOf:
  4638. - $ref: '#/definitions/response.Response'
  4639. - properties:
  4640. data:
  4641. additionalProperties: true
  4642. type: object
  4643. msg:
  4644. type: string
  4645. type: object
  4646. security:
  4647. - ApiKeyAuth: []
  4648. summary: 设置用户信息
  4649. tags:
  4650. - SysUser
  4651. securityDefinitions:
  4652. ApiKeyAuth:
  4653. in: header
  4654. name: x-token
  4655. type: apiKey
  4656. swagger: "2.0"