swagger.yaml 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139
  1. basePath: /
  2. definitions:
  3. config.Captcha:
  4. properties:
  5. imgHeight:
  6. type: integer
  7. imgWidth:
  8. type: integer
  9. keyLong:
  10. type: integer
  11. type: object
  12. config.Casbin:
  13. properties:
  14. modelPath:
  15. type: string
  16. type: object
  17. config.JWT:
  18. properties:
  19. signingKey:
  20. type: string
  21. type: object
  22. config.Log:
  23. properties:
  24. file:
  25. type: string
  26. logFile:
  27. type: boolean
  28. prefix:
  29. type: string
  30. stdout:
  31. type: string
  32. type: object
  33. config.Mysql:
  34. properties:
  35. config:
  36. type: string
  37. dbname:
  38. type: string
  39. logMode:
  40. type: boolean
  41. maxIdleConns:
  42. type: integer
  43. maxOpenConns:
  44. type: integer
  45. password:
  46. type: string
  47. path:
  48. type: string
  49. username:
  50. type: string
  51. type: object
  52. config.Qiniu:
  53. properties:
  54. accessKey:
  55. type: string
  56. bucket:
  57. type: string
  58. imgPath:
  59. type: string
  60. secretKey:
  61. type: string
  62. type: object
  63. config.Redis:
  64. properties:
  65. addr:
  66. type: string
  67. db:
  68. type: integer
  69. password:
  70. type: string
  71. type: object
  72. config.Server:
  73. properties:
  74. captcha:
  75. $ref: '#/definitions/config.Captcha'
  76. type: object
  77. casbin:
  78. $ref: '#/definitions/config.Casbin'
  79. type: object
  80. jwt:
  81. $ref: '#/definitions/config.JWT'
  82. type: object
  83. log:
  84. $ref: '#/definitions/config.Log'
  85. type: object
  86. mysql:
  87. $ref: '#/definitions/config.Mysql'
  88. type: object
  89. qiniu:
  90. $ref: '#/definitions/config.Qiniu'
  91. type: object
  92. redis:
  93. $ref: '#/definitions/config.Redis'
  94. type: object
  95. sqlite:
  96. $ref: '#/definitions/config.Sqlite'
  97. type: object
  98. system:
  99. $ref: '#/definitions/config.System'
  100. type: object
  101. type: object
  102. config.Sqlite:
  103. properties:
  104. config:
  105. type: string
  106. logMode:
  107. type: boolean
  108. password:
  109. type: string
  110. path:
  111. type: string
  112. username:
  113. type: string
  114. type: object
  115. config.System:
  116. properties:
  117. addr:
  118. type: integer
  119. dbType:
  120. type: string
  121. env:
  122. type: string
  123. useMultipoint:
  124. type: boolean
  125. type: object
  126. model.AutoCodeStruct:
  127. properties:
  128. abbreviation:
  129. type: string
  130. autoCreateApiToSql:
  131. type: boolean
  132. description:
  133. type: string
  134. fields:
  135. items:
  136. $ref: '#/definitions/model.Field'
  137. type: array
  138. packageName:
  139. type: string
  140. structName:
  141. type: string
  142. tableName:
  143. type: string
  144. type: object
  145. model.ExaCustomer:
  146. properties:
  147. customerName:
  148. type: string
  149. customerPhoneData:
  150. type: string
  151. sysUser:
  152. $ref: '#/definitions/model.SysUser'
  153. type: object
  154. sysUserAuthorityID:
  155. type: string
  156. sysUserId:
  157. type: integer
  158. type: object
  159. model.ExaFileUploadAndDownload:
  160. properties:
  161. key:
  162. type: string
  163. name:
  164. type: string
  165. tag:
  166. type: string
  167. url:
  168. type: string
  169. type: object
  170. model.Field:
  171. properties:
  172. columnName:
  173. type: string
  174. comment:
  175. type: string
  176. dataType:
  177. type: string
  178. dataTypeLong:
  179. type: string
  180. dictType:
  181. type: string
  182. fieldDesc:
  183. type: string
  184. fieldJson:
  185. type: string
  186. fieldName:
  187. type: string
  188. fieldSearchType:
  189. type: string
  190. fieldType:
  191. type: string
  192. type: object
  193. model.SysApi:
  194. properties:
  195. apiGroup:
  196. type: string
  197. description:
  198. type: string
  199. method:
  200. type: string
  201. path:
  202. type: string
  203. type: object
  204. model.SysAuthority:
  205. properties:
  206. authorityId:
  207. type: string
  208. authorityName:
  209. type: string
  210. children:
  211. items:
  212. $ref: '#/definitions/model.SysAuthority'
  213. type: array
  214. createdAt:
  215. type: string
  216. dataAuthorityId:
  217. items:
  218. $ref: '#/definitions/model.SysAuthority'
  219. type: array
  220. deletedAt:
  221. type: string
  222. menus:
  223. items:
  224. $ref: '#/definitions/model.SysBaseMenu'
  225. type: array
  226. parentId:
  227. type: string
  228. updatedAt:
  229. type: string
  230. type: object
  231. model.SysBaseMenu:
  232. properties:
  233. authoritys:
  234. items:
  235. $ref: '#/definitions/model.SysAuthority'
  236. type: array
  237. children:
  238. items:
  239. $ref: '#/definitions/model.SysBaseMenu'
  240. type: array
  241. component:
  242. type: string
  243. defaultMenu:
  244. type: boolean
  245. hidden:
  246. type: boolean
  247. icon:
  248. type: string
  249. keepAlive:
  250. type: boolean
  251. name:
  252. type: string
  253. parameters:
  254. items:
  255. $ref: '#/definitions/model.SysBaseMenuParameter'
  256. type: array
  257. parentId:
  258. type: string
  259. path:
  260. type: string
  261. sort:
  262. type: integer
  263. title:
  264. type: string
  265. type: object
  266. model.SysBaseMenuParameter:
  267. properties:
  268. key:
  269. type: string
  270. sysBaseMenuId:
  271. type: integer
  272. type:
  273. type: string
  274. value:
  275. type: string
  276. type: object
  277. model.SysDictionary:
  278. properties:
  279. desc:
  280. type: string
  281. name:
  282. type: string
  283. status:
  284. type: boolean
  285. sysDictionaryDetails:
  286. items:
  287. $ref: '#/definitions/model.SysDictionaryDetail'
  288. type: array
  289. type:
  290. type: string
  291. type: object
  292. model.SysDictionaryDetail:
  293. properties:
  294. label:
  295. type: string
  296. sort:
  297. type: integer
  298. status:
  299. type: boolean
  300. sysDictionaryID:
  301. type: integer
  302. value:
  303. type: integer
  304. type: object
  305. model.SysOperationRecord:
  306. properties:
  307. agent:
  308. type: string
  309. body:
  310. type: string
  311. error_message:
  312. type: string
  313. ip:
  314. type: string
  315. latency:
  316. type: string
  317. method:
  318. type: string
  319. path:
  320. type: string
  321. resp:
  322. type: string
  323. status:
  324. type: integer
  325. user:
  326. $ref: '#/definitions/model.SysUser'
  327. type: object
  328. user_id:
  329. type: integer
  330. type: object
  331. model.SysUser:
  332. properties:
  333. authority:
  334. $ref: '#/definitions/model.SysAuthority'
  335. type: object
  336. authorityId:
  337. type: string
  338. headerImg:
  339. type: string
  340. nickName:
  341. type: string
  342. userName:
  343. type: string
  344. uuid:
  345. type: string
  346. type: object
  347. model.SysWorkflow:
  348. properties:
  349. workflowDescription:
  350. description: 工作流描述
  351. type: string
  352. workflowName:
  353. description: 工作流英文id
  354. type: string
  355. workflowNickName:
  356. description: 工作流名称
  357. type: string
  358. workflowStep:
  359. description: 工作流步骤
  360. items:
  361. $ref: '#/definitions/model.SysWorkflowStepInfo'
  362. type: array
  363. type: object
  364. model.SysWorkflowStepInfo:
  365. properties:
  366. isEnd:
  367. description: 是否是完结流节点
  368. type: boolean
  369. isStrat:
  370. description: 是否是开始流节点
  371. type: boolean
  372. stepAuthorityID:
  373. description: 操作者级别id
  374. type: string
  375. stepName:
  376. description: 工作流名称
  377. type: string
  378. stepNo:
  379. description: 步骤id (第几步)
  380. type: number
  381. workflowID:
  382. description: 所属工作流ID
  383. type: integer
  384. type: object
  385. model.System:
  386. properties:
  387. config:
  388. $ref: '#/definitions/config.Server'
  389. type: object
  390. type: object
  391. request.AddMenuAuthorityInfo:
  392. properties:
  393. authorityId:
  394. type: string
  395. menus:
  396. items:
  397. $ref: '#/definitions/model.SysBaseMenu'
  398. type: array
  399. type: object
  400. request.AuthorityIdInfo:
  401. properties:
  402. authorityId:
  403. type: string
  404. type: object
  405. request.CasbinInReceive:
  406. properties:
  407. authorityId:
  408. type: string
  409. casbinInfos:
  410. items:
  411. $ref: '#/definitions/request.CasbinInfo'
  412. type: array
  413. type: object
  414. request.CasbinInfo:
  415. properties:
  416. method:
  417. type: string
  418. path:
  419. type: string
  420. type: object
  421. request.ChangePasswordStruct:
  422. properties:
  423. newPassword:
  424. type: string
  425. password:
  426. type: string
  427. username:
  428. type: string
  429. type: object
  430. request.GetById:
  431. properties:
  432. id:
  433. type: number
  434. type: object
  435. request.IdsReq:
  436. properties:
  437. ids:
  438. items:
  439. type: integer
  440. type: array
  441. type: object
  442. request.PageInfo:
  443. properties:
  444. page:
  445. type: integer
  446. pageSize:
  447. type: integer
  448. type: object
  449. request.RegisterAndLoginStruct:
  450. properties:
  451. captcha:
  452. type: string
  453. captchaId:
  454. type: string
  455. password:
  456. type: string
  457. username:
  458. type: string
  459. type: object
  460. request.SearchApiParams:
  461. properties:
  462. apiGroup:
  463. type: string
  464. desc:
  465. type: boolean
  466. description:
  467. type: string
  468. method:
  469. type: string
  470. orderKey:
  471. type: string
  472. page:
  473. type: integer
  474. pageSize:
  475. type: integer
  476. path:
  477. type: string
  478. type: object
  479. request.SetUserAuth:
  480. properties:
  481. authorityId:
  482. type: string
  483. uuid:
  484. type: string
  485. type: object
  486. request.SysDictionaryDetailSearch:
  487. properties:
  488. label:
  489. type: string
  490. page:
  491. type: integer
  492. pageSize:
  493. type: integer
  494. sort:
  495. type: integer
  496. status:
  497. type: boolean
  498. sysDictionaryID:
  499. type: integer
  500. value:
  501. type: integer
  502. type: object
  503. request.SysDictionarySearch:
  504. properties:
  505. desc:
  506. type: string
  507. name:
  508. type: string
  509. page:
  510. type: integer
  511. pageSize:
  512. type: integer
  513. status:
  514. type: boolean
  515. sysDictionaryDetails:
  516. items:
  517. $ref: '#/definitions/model.SysDictionaryDetail'
  518. type: array
  519. type:
  520. type: string
  521. type: object
  522. request.SysOperationRecordSearch:
  523. properties:
  524. agent:
  525. type: string
  526. body:
  527. type: string
  528. error_message:
  529. type: string
  530. ip:
  531. type: string
  532. latency:
  533. type: string
  534. method:
  535. type: string
  536. page:
  537. type: integer
  538. pageSize:
  539. type: integer
  540. path:
  541. type: string
  542. resp:
  543. type: string
  544. status:
  545. type: integer
  546. user:
  547. $ref: '#/definitions/model.SysUser'
  548. type: object
  549. user_id:
  550. type: integer
  551. type: object
  552. response.SysAuthorityCopyResponse:
  553. properties:
  554. authority:
  555. $ref: '#/definitions/model.SysAuthority'
  556. type: object
  557. oldAuthorityId:
  558. type: string
  559. type: object
  560. info:
  561. contact: {}
  562. description: This is a sample Server pets
  563. license: {}
  564. title: Swagger Example API
  565. version: 0.0.1
  566. paths:
  567. /api/createApi:
  568. post:
  569. consumes:
  570. - application/json
  571. parameters:
  572. - description: 创建api
  573. in: body
  574. name: data
  575. required: true
  576. schema:
  577. $ref: '#/definitions/model.SysApi'
  578. type: object
  579. produces:
  580. - application/json
  581. responses:
  582. "200":
  583. description: '{"success":true,"data":{},"msg":"获取成功"}'
  584. schema:
  585. type: string
  586. security:
  587. - ApiKeyAuth: []
  588. summary: 创建基础api
  589. tags:
  590. - SysApi
  591. /api/deleteApi:
  592. post:
  593. consumes:
  594. - application/json
  595. parameters:
  596. - description: 删除api
  597. in: body
  598. name: data
  599. required: true
  600. schema:
  601. $ref: '#/definitions/model.SysApi'
  602. type: object
  603. produces:
  604. - application/json
  605. responses:
  606. "200":
  607. description: '{"success":true,"data":{},"msg":"获取成功"}'
  608. schema:
  609. type: string
  610. security:
  611. - ApiKeyAuth: []
  612. summary: 删除指定api
  613. tags:
  614. - SysApi
  615. /api/getAllApis:
  616. post:
  617. consumes:
  618. - application/json
  619. produces:
  620. - application/json
  621. responses:
  622. "200":
  623. description: '{"success":true,"data":{},"msg":"获取成功"}'
  624. schema:
  625. type: string
  626. security:
  627. - ApiKeyAuth: []
  628. summary: 获取所有的Api 不分页
  629. tags:
  630. - SysApi
  631. /api/getApiById:
  632. post:
  633. consumes:
  634. - application/json
  635. parameters:
  636. - description: 根据id获取api
  637. in: body
  638. name: data
  639. required: true
  640. schema:
  641. $ref: '#/definitions/request.GetById'
  642. type: object
  643. produces:
  644. - application/json
  645. responses:
  646. "200":
  647. description: '{"success":true,"data":{},"msg":"获取成功"}'
  648. schema:
  649. type: string
  650. security:
  651. - ApiKeyAuth: []
  652. summary: 根据id获取api
  653. tags:
  654. - SysApi
  655. /api/getApiList:
  656. post:
  657. consumes:
  658. - application/json
  659. parameters:
  660. - description: 分页获取API列表
  661. in: body
  662. name: data
  663. required: true
  664. schema:
  665. $ref: '#/definitions/request.SearchApiParams'
  666. type: object
  667. produces:
  668. - application/json
  669. responses:
  670. "200":
  671. description: '{"success":true,"data":{},"msg":"获取成功"}'
  672. schema:
  673. type: string
  674. security:
  675. - ApiKeyAuth: []
  676. summary: 分页获取API列表
  677. tags:
  678. - SysApi
  679. /api/updateApi:
  680. post:
  681. consumes:
  682. - application/json
  683. parameters:
  684. - description: 创建api
  685. in: body
  686. name: data
  687. required: true
  688. schema:
  689. $ref: '#/definitions/model.SysApi'
  690. type: object
  691. produces:
  692. - application/json
  693. responses:
  694. "200":
  695. description: '{"success":true,"data":{},"msg":"获取成功"}'
  696. schema:
  697. type: string
  698. security:
  699. - ApiKeyAuth: []
  700. summary: 创建基础api
  701. tags:
  702. - SysApi
  703. /authority/copyAuthority:
  704. post:
  705. consumes:
  706. - application/json
  707. parameters:
  708. - description: 拷贝角色
  709. in: body
  710. name: data
  711. required: true
  712. schema:
  713. $ref: '#/definitions/response.SysAuthorityCopyResponse'
  714. type: object
  715. produces:
  716. - application/json
  717. responses:
  718. "200":
  719. description: '{"success":true,"data":{},"msg":"拷贝成功"}'
  720. schema:
  721. type: string
  722. security:
  723. - ApiKeyAuth: []
  724. summary: 拷贝角色
  725. tags:
  726. - authority
  727. /authority/createAuthority:
  728. post:
  729. consumes:
  730. - application/json
  731. parameters:
  732. - description: 创建角色
  733. in: body
  734. name: data
  735. required: true
  736. schema:
  737. $ref: '#/definitions/model.SysAuthority'
  738. type: object
  739. produces:
  740. - application/json
  741. responses:
  742. "200":
  743. description: '{"success":true,"data":{},"msg":"获取成功"}'
  744. schema:
  745. type: string
  746. security:
  747. - ApiKeyAuth: []
  748. summary: 创建角色
  749. tags:
  750. - authority
  751. /authority/deleteAuthority:
  752. post:
  753. consumes:
  754. - application/json
  755. parameters:
  756. - description: 删除角色
  757. in: body
  758. name: data
  759. required: true
  760. schema:
  761. $ref: '#/definitions/model.SysAuthority'
  762. type: object
  763. produces:
  764. - application/json
  765. responses:
  766. "200":
  767. description: '{"success":true,"data":{},"msg":"获取成功"}'
  768. schema:
  769. type: string
  770. security:
  771. - ApiKeyAuth: []
  772. summary: 删除角色
  773. tags:
  774. - authority
  775. /authority/getAuthorityList:
  776. post:
  777. consumes:
  778. - application/json
  779. parameters:
  780. - description: 分页获取用户列表
  781. in: body
  782. name: data
  783. required: true
  784. schema:
  785. $ref: '#/definitions/request.PageInfo'
  786. type: object
  787. produces:
  788. - application/json
  789. responses:
  790. "200":
  791. description: '{"success":true,"data":{},"msg":"获取成功"}'
  792. schema:
  793. type: string
  794. security:
  795. - ApiKeyAuth: []
  796. summary: 分页获取角色列表
  797. tags:
  798. - authority
  799. /authority/setDataAuthority:
  800. post:
  801. consumes:
  802. - application/json
  803. parameters:
  804. - description: 设置角色资源权限
  805. in: body
  806. name: data
  807. required: true
  808. schema:
  809. $ref: '#/definitions/model.SysAuthority'
  810. type: object
  811. produces:
  812. - application/json
  813. responses:
  814. "200":
  815. description: '{"success":true,"data":{},"msg":"设置成功"}'
  816. schema:
  817. type: string
  818. security:
  819. - ApiKeyAuth: []
  820. summary: 设置角色资源权限
  821. tags:
  822. - authority
  823. /authority/updateAuthority:
  824. post:
  825. consumes:
  826. - application/json
  827. parameters:
  828. - description: 设置角色资源权限
  829. in: body
  830. name: data
  831. required: true
  832. schema:
  833. $ref: '#/definitions/model.SysAuthority'
  834. type: object
  835. produces:
  836. - application/json
  837. responses:
  838. "200":
  839. description: '{"success":true,"data":{},"msg":"设置成功"}'
  840. schema:
  841. type: string
  842. security:
  843. - ApiKeyAuth: []
  844. summary: 设置角色资源权限
  845. tags:
  846. - authority
  847. /autoCode/createTemp:
  848. post:
  849. consumes:
  850. - application/json
  851. parameters:
  852. - description: 创建自动代码
  853. in: body
  854. name: data
  855. required: true
  856. schema:
  857. $ref: '#/definitions/model.AutoCodeStruct'
  858. type: object
  859. produces:
  860. - application/json
  861. responses:
  862. "200":
  863. description: '{"success":true,"data":{},"msg":"创建成功"}'
  864. schema:
  865. type: string
  866. security:
  867. - ApiKeyAuth: []
  868. summary: 自动代码模板
  869. tags:
  870. - SysApi
  871. /autoCode/getDatabase:
  872. get:
  873. consumes:
  874. - application/json
  875. produces:
  876. - application/json
  877. responses:
  878. "200":
  879. description: '{"success":true,"data":{},"msg":"创建成功"}'
  880. schema:
  881. type: string
  882. security:
  883. - ApiKeyAuth: []
  884. summary: 获取当前表所有字段
  885. tags:
  886. - SysApi
  887. /base/captcha:
  888. post:
  889. consumes:
  890. - application/json
  891. produces:
  892. - application/json
  893. responses:
  894. "200":
  895. description: '{"success":true,"data":{},"msg":"获取成功"}'
  896. schema:
  897. type: string
  898. security:
  899. - ApiKeyAuth: []
  900. summary: 生成验证码
  901. tags:
  902. - base
  903. /base/login:
  904. post:
  905. parameters:
  906. - description: 用户登录接口
  907. in: body
  908. name: data
  909. required: true
  910. schema:
  911. $ref: '#/definitions/request.RegisterAndLoginStruct'
  912. type: object
  913. produces:
  914. - application/json
  915. responses:
  916. "200":
  917. description: '{"success":true,"data":{},"msg":"登陆成功"}'
  918. schema:
  919. type: string
  920. summary: 用户登录
  921. tags:
  922. - Base
  923. /base/register:
  924. post:
  925. parameters:
  926. - description: 用户注册接口
  927. in: body
  928. name: data
  929. required: true
  930. schema:
  931. $ref: '#/definitions/model.SysUser'
  932. type: object
  933. produces:
  934. - application/json
  935. responses:
  936. "200":
  937. description: '{"success":true,"data":{},"msg":"注册成功"}'
  938. schema:
  939. type: string
  940. summary: 用户注册账号
  941. tags:
  942. - Base
  943. /casbin/CasbinTest:
  944. get:
  945. consumes:
  946. - application/json
  947. parameters:
  948. - description: 获取权限列表
  949. in: body
  950. name: data
  951. required: true
  952. schema:
  953. $ref: '#/definitions/request.CasbinInReceive'
  954. type: object
  955. produces:
  956. - application/json
  957. responses:
  958. "200":
  959. description: '{"success":true,"data":{},"msg":"获取成功"}'
  960. schema:
  961. type: string
  962. security:
  963. - ApiKeyAuth: []
  964. summary: casb RBAC RESTFUL测试路由
  965. tags:
  966. - casbin
  967. /casbin/UpdateCasbin:
  968. post:
  969. consumes:
  970. - application/json
  971. parameters:
  972. - description: 更改角色api权限
  973. in: body
  974. name: data
  975. required: true
  976. schema:
  977. $ref: '#/definitions/request.CasbinInReceive'
  978. type: object
  979. produces:
  980. - application/json
  981. responses:
  982. "200":
  983. description: '{"success":true,"data":{},"msg":"获取成功"}'
  984. schema:
  985. type: string
  986. security:
  987. - ApiKeyAuth: []
  988. summary: 更改角色api权限
  989. tags:
  990. - casbin
  991. /casbin/getPolicyPathByAuthorityId:
  992. post:
  993. consumes:
  994. - application/json
  995. parameters:
  996. - description: 获取权限列表
  997. in: body
  998. name: data
  999. required: true
  1000. schema:
  1001. $ref: '#/definitions/request.CasbinInReceive'
  1002. type: object
  1003. produces:
  1004. - application/json
  1005. responses:
  1006. "200":
  1007. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1008. schema:
  1009. type: string
  1010. security:
  1011. - ApiKeyAuth: []
  1012. summary: 获取权限列表
  1013. tags:
  1014. - casbin
  1015. /customer/customer:
  1016. delete:
  1017. consumes:
  1018. - application/json
  1019. parameters:
  1020. - description: 删除客户
  1021. in: body
  1022. name: data
  1023. required: true
  1024. schema:
  1025. $ref: '#/definitions/model.ExaCustomer'
  1026. type: object
  1027. produces:
  1028. - application/json
  1029. responses:
  1030. "200":
  1031. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1032. schema:
  1033. type: string
  1034. security:
  1035. - ApiKeyAuth: []
  1036. summary: 删除客户
  1037. tags:
  1038. - SysApi
  1039. get:
  1040. consumes:
  1041. - application/json
  1042. parameters:
  1043. - description: 获取单一客户信息
  1044. in: body
  1045. name: data
  1046. required: true
  1047. schema:
  1048. $ref: '#/definitions/model.ExaCustomer'
  1049. type: object
  1050. produces:
  1051. - application/json
  1052. responses:
  1053. "200":
  1054. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1055. schema:
  1056. type: string
  1057. security:
  1058. - ApiKeyAuth: []
  1059. summary: 获取单一客户信息
  1060. tags:
  1061. - SysApi
  1062. post:
  1063. consumes:
  1064. - application/json
  1065. parameters:
  1066. - description: 创建客户
  1067. in: body
  1068. name: data
  1069. required: true
  1070. schema:
  1071. $ref: '#/definitions/model.ExaCustomer'
  1072. type: object
  1073. produces:
  1074. - application/json
  1075. responses:
  1076. "200":
  1077. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1078. schema:
  1079. type: string
  1080. security:
  1081. - ApiKeyAuth: []
  1082. summary: 创建客户
  1083. tags:
  1084. - SysApi
  1085. put:
  1086. consumes:
  1087. - application/json
  1088. parameters:
  1089. - description: 创建客户
  1090. in: body
  1091. name: data
  1092. required: true
  1093. schema:
  1094. $ref: '#/definitions/model.ExaCustomer'
  1095. type: object
  1096. produces:
  1097. - application/json
  1098. responses:
  1099. "200":
  1100. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1101. schema:
  1102. type: string
  1103. security:
  1104. - ApiKeyAuth: []
  1105. summary: 更新客户信息
  1106. tags:
  1107. - SysApi
  1108. /customer/customerList:
  1109. get:
  1110. consumes:
  1111. - application/json
  1112. parameters:
  1113. - description: 获取权限客户列表
  1114. in: body
  1115. name: data
  1116. required: true
  1117. schema:
  1118. $ref: '#/definitions/request.PageInfo'
  1119. type: object
  1120. produces:
  1121. - application/json
  1122. responses:
  1123. "200":
  1124. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1125. schema:
  1126. type: string
  1127. security:
  1128. - ApiKeyAuth: []
  1129. summary: 获取权限客户列表
  1130. tags:
  1131. - SysApi
  1132. /fileUploadAndDownload/breakpointContinue:
  1133. post:
  1134. consumes:
  1135. - multipart/form-data
  1136. parameters:
  1137. - description: an example for breakpoint resume, 断点续传示例
  1138. in: formData
  1139. name: file
  1140. required: true
  1141. type: file
  1142. produces:
  1143. - application/json
  1144. responses:
  1145. "200":
  1146. description: '{"success":true,"data":{},"msg":"上传成功"}'
  1147. schema:
  1148. type: string
  1149. security:
  1150. - ApiKeyAuth: []
  1151. summary: 断点续传到服务器
  1152. tags:
  1153. - ExaFileUploadAndDownload
  1154. /fileUploadAndDownload/deleteFile:
  1155. post:
  1156. parameters:
  1157. - description: 传入文件里面id即可
  1158. in: body
  1159. name: data
  1160. required: true
  1161. schema:
  1162. $ref: '#/definitions/model.ExaFileUploadAndDownload'
  1163. type: object
  1164. produces:
  1165. - application/json
  1166. responses:
  1167. "200":
  1168. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1169. schema:
  1170. type: string
  1171. security:
  1172. - ApiKeyAuth: []
  1173. summary: 删除文件
  1174. tags:
  1175. - ExaFileUploadAndDownload
  1176. /fileUploadAndDownload/findFile:
  1177. post:
  1178. consumes:
  1179. - multipart/form-data
  1180. parameters:
  1181. - description: 上传文件完成
  1182. in: formData
  1183. name: file
  1184. required: true
  1185. type: file
  1186. produces:
  1187. - application/json
  1188. responses:
  1189. "200":
  1190. description: '{"success":true,"data":{},"msg":"file uploaded, 文件创建成功"}'
  1191. schema:
  1192. type: string
  1193. security:
  1194. - ApiKeyAuth: []
  1195. summary: 查找文件
  1196. tags:
  1197. - ExaFileUploadAndDownload
  1198. /fileUploadAndDownload/getFileList:
  1199. post:
  1200. consumes:
  1201. - application/json
  1202. parameters:
  1203. - description: 分页获取文件户列表
  1204. in: body
  1205. name: data
  1206. required: true
  1207. schema:
  1208. $ref: '#/definitions/request.PageInfo'
  1209. type: object
  1210. produces:
  1211. - application/json
  1212. responses:
  1213. "200":
  1214. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1215. schema:
  1216. type: string
  1217. security:
  1218. - ApiKeyAuth: []
  1219. summary: 分页文件列表
  1220. tags:
  1221. - ExaFileUploadAndDownload
  1222. /fileUploadAndDownload/removeChunk:
  1223. post:
  1224. consumes:
  1225. - multipart/form-data
  1226. parameters:
  1227. - description: 删除缓存切片
  1228. in: formData
  1229. name: file
  1230. required: true
  1231. type: file
  1232. produces:
  1233. - application/json
  1234. responses:
  1235. "200":
  1236. description: '{"success":true,"data":{},"msg":"查找成功"}'
  1237. schema:
  1238. type: string
  1239. security:
  1240. - ApiKeyAuth: []
  1241. summary: 删除切片
  1242. tags:
  1243. - ExaFileUploadAndDownload
  1244. /fileUploadAndDownload/upload:
  1245. post:
  1246. consumes:
  1247. - multipart/form-data
  1248. parameters:
  1249. - description: 上传文件示例
  1250. in: formData
  1251. name: file
  1252. required: true
  1253. type: file
  1254. produces:
  1255. - application/json
  1256. responses:
  1257. "200":
  1258. description: '{"success":true,"data":{},"msg":"上传成功"}'
  1259. schema:
  1260. type: string
  1261. security:
  1262. - ApiKeyAuth: []
  1263. summary: 上传文件示例
  1264. tags:
  1265. - ExaFileUploadAndDownload
  1266. /jwt/jsonInBlacklist:
  1267. post:
  1268. consumes:
  1269. - application/json
  1270. produces:
  1271. - application/json
  1272. responses:
  1273. "200":
  1274. description: '{"success":true,"data":{},"msg":"拉黑成功"}'
  1275. schema:
  1276. type: string
  1277. security:
  1278. - ApiKeyAuth: []
  1279. summary: jwt加入黑名单
  1280. tags:
  1281. - jwt
  1282. /menu/GetMenuAuthority:
  1283. post:
  1284. consumes:
  1285. - application/json
  1286. parameters:
  1287. - description: 增加menu和角色关联关系
  1288. in: body
  1289. name: data
  1290. required: true
  1291. schema:
  1292. $ref: '#/definitions/request.AuthorityIdInfo'
  1293. type: object
  1294. produces:
  1295. - application/json
  1296. responses:
  1297. "200":
  1298. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1299. schema:
  1300. type: string
  1301. security:
  1302. - ApiKeyAuth: []
  1303. summary: 获取指定角色menu
  1304. tags:
  1305. - authorityAndMenu
  1306. /menu/addBaseMenu:
  1307. post:
  1308. consumes:
  1309. - application/json
  1310. parameters:
  1311. - description: 新增菜单
  1312. in: body
  1313. name: data
  1314. required: true
  1315. schema:
  1316. $ref: '#/definitions/model.SysBaseMenu'
  1317. type: object
  1318. produces:
  1319. - application/json
  1320. responses:
  1321. "200":
  1322. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1323. schema:
  1324. type: string
  1325. security:
  1326. - ApiKeyAuth: []
  1327. summary: 新增菜单
  1328. tags:
  1329. - menu
  1330. /menu/addMenuAuthority:
  1331. post:
  1332. consumes:
  1333. - application/json
  1334. parameters:
  1335. - description: 增加menu和角色关联关系
  1336. in: body
  1337. name: data
  1338. required: true
  1339. schema:
  1340. $ref: '#/definitions/request.AddMenuAuthorityInfo'
  1341. type: object
  1342. produces:
  1343. - application/json
  1344. responses:
  1345. "200":
  1346. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1347. schema:
  1348. type: string
  1349. security:
  1350. - ApiKeyAuth: []
  1351. summary: 增加menu和角色关联关系
  1352. tags:
  1353. - authorityAndMenu
  1354. /menu/deleteBaseMenu:
  1355. post:
  1356. consumes:
  1357. - application/json
  1358. parameters:
  1359. - description: 删除菜单
  1360. in: body
  1361. name: data
  1362. required: true
  1363. schema:
  1364. $ref: '#/definitions/request.GetById'
  1365. type: object
  1366. produces:
  1367. - application/json
  1368. responses:
  1369. "200":
  1370. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1371. schema:
  1372. type: string
  1373. security:
  1374. - ApiKeyAuth: []
  1375. summary: 删除菜单
  1376. tags:
  1377. - menu
  1378. /menu/getBaseMenuById:
  1379. post:
  1380. consumes:
  1381. - application/json
  1382. parameters:
  1383. - description: 根据id获取菜单
  1384. in: body
  1385. name: data
  1386. required: true
  1387. schema:
  1388. $ref: '#/definitions/request.GetById'
  1389. type: object
  1390. produces:
  1391. - application/json
  1392. responses:
  1393. "200":
  1394. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1395. schema:
  1396. type: string
  1397. security:
  1398. - ApiKeyAuth: []
  1399. summary: 根据id获取菜单
  1400. tags:
  1401. - menu
  1402. /menu/getBaseMenuTree:
  1403. post:
  1404. parameters:
  1405. - description: 可以什么都不填
  1406. in: body
  1407. name: data
  1408. required: true
  1409. schema:
  1410. $ref: '#/definitions/request.RegisterAndLoginStruct'
  1411. type: object
  1412. produces:
  1413. - application/json
  1414. responses:
  1415. "200":
  1416. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1417. schema:
  1418. type: string
  1419. security:
  1420. - ApiKeyAuth: []
  1421. summary: 获取用户动态路由
  1422. tags:
  1423. - authorityAndMenu
  1424. /menu/getMenu:
  1425. post:
  1426. parameters:
  1427. - description: 可以什么都不填
  1428. in: body
  1429. name: data
  1430. required: true
  1431. schema:
  1432. $ref: '#/definitions/request.RegisterAndLoginStruct'
  1433. type: object
  1434. produces:
  1435. - application/json
  1436. responses:
  1437. "200":
  1438. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1439. schema:
  1440. type: string
  1441. security:
  1442. - ApiKeyAuth: []
  1443. summary: 获取用户动态路由
  1444. tags:
  1445. - authorityAndMenu
  1446. /menu/getMenuList:
  1447. post:
  1448. consumes:
  1449. - application/json
  1450. parameters:
  1451. - description: 分页获取基础menu列表
  1452. in: body
  1453. name: data
  1454. required: true
  1455. schema:
  1456. $ref: '#/definitions/request.PageInfo'
  1457. type: object
  1458. produces:
  1459. - application/json
  1460. responses:
  1461. "200":
  1462. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1463. schema:
  1464. type: string
  1465. security:
  1466. - ApiKeyAuth: []
  1467. summary: 分页获取基础menu列表
  1468. tags:
  1469. - menu
  1470. /menu/updateBaseMenu:
  1471. post:
  1472. consumes:
  1473. - application/json
  1474. parameters:
  1475. - description: 更新菜单
  1476. in: body
  1477. name: data
  1478. required: true
  1479. schema:
  1480. $ref: '#/definitions/model.SysBaseMenu'
  1481. type: object
  1482. produces:
  1483. - application/json
  1484. responses:
  1485. "200":
  1486. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1487. schema:
  1488. type: string
  1489. security:
  1490. - ApiKeyAuth: []
  1491. summary: 更新菜单
  1492. tags:
  1493. - menu
  1494. /simpleUploader/checkFileMd5:
  1495. get:
  1496. parameters:
  1497. - description: 测试文件是否已经存在和判断已经上传过的切片
  1498. in: query
  1499. name: md5
  1500. required: true
  1501. type: string
  1502. produces:
  1503. - application/json
  1504. responses:
  1505. "200":
  1506. description: '{"success":true,"data":{},"msg":"查询成功"}'
  1507. schema:
  1508. type: string
  1509. /simpleUploader/mergeFileMd5:
  1510. get:
  1511. parameters:
  1512. - description: 合并文件
  1513. in: query
  1514. name: md5
  1515. required: true
  1516. type: string
  1517. produces:
  1518. - application/json
  1519. responses:
  1520. "200":
  1521. description: '{"success":true,"data":{},"msg":"合并成功"}'
  1522. schema:
  1523. type: string
  1524. security:
  1525. - ApiKeyAuth: []
  1526. summary: 合并文件
  1527. tags:
  1528. - SimpleUploader
  1529. /simpleUploader/upload:
  1530. post:
  1531. consumes:
  1532. - multipart/form-data
  1533. parameters:
  1534. - description: 断点续传插件版示例
  1535. in: formData
  1536. name: file
  1537. required: true
  1538. type: file
  1539. produces:
  1540. - application/json
  1541. responses:
  1542. "200":
  1543. description: '{"success":true,"data":{},"msg":"上传成功"}'
  1544. schema:
  1545. type: string
  1546. security:
  1547. - ApiKeyAuth: []
  1548. summary: 断点续传插件版示例
  1549. tags:
  1550. - SimpleUploader
  1551. /sysDictionary/createSysDictionary:
  1552. post:
  1553. consumes:
  1554. - application/json
  1555. parameters:
  1556. - description: 创建SysDictionary
  1557. in: body
  1558. name: data
  1559. required: true
  1560. schema:
  1561. $ref: '#/definitions/model.SysDictionary'
  1562. type: object
  1563. produces:
  1564. - application/json
  1565. responses:
  1566. "200":
  1567. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1568. schema:
  1569. type: string
  1570. security:
  1571. - ApiKeyAuth: []
  1572. summary: 创建SysDictionary
  1573. tags:
  1574. - SysDictionary
  1575. /sysDictionary/deleteSysDictionary:
  1576. delete:
  1577. consumes:
  1578. - application/json
  1579. parameters:
  1580. - description: 删除SysDictionary
  1581. in: body
  1582. name: data
  1583. required: true
  1584. schema:
  1585. $ref: '#/definitions/model.SysDictionary'
  1586. type: object
  1587. produces:
  1588. - application/json
  1589. responses:
  1590. "200":
  1591. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1592. schema:
  1593. type: string
  1594. security:
  1595. - ApiKeyAuth: []
  1596. summary: 删除SysDictionary
  1597. tags:
  1598. - SysDictionary
  1599. /sysDictionary/findSysDictionary:
  1600. get:
  1601. consumes:
  1602. - application/json
  1603. parameters:
  1604. - description: 用id查询SysDictionary
  1605. in: body
  1606. name: data
  1607. required: true
  1608. schema:
  1609. $ref: '#/definitions/model.SysDictionary'
  1610. type: object
  1611. produces:
  1612. - application/json
  1613. responses:
  1614. "200":
  1615. description: '{"success":true,"data":{},"msg":"查询成功"}'
  1616. schema:
  1617. type: string
  1618. security:
  1619. - ApiKeyAuth: []
  1620. summary: 用id查询SysDictionary
  1621. tags:
  1622. - SysDictionary
  1623. /sysDictionary/getSysDictionaryList:
  1624. get:
  1625. consumes:
  1626. - application/json
  1627. parameters:
  1628. - description: 分页获取SysDictionary列表
  1629. in: body
  1630. name: data
  1631. required: true
  1632. schema:
  1633. $ref: '#/definitions/request.SysDictionarySearch'
  1634. type: object
  1635. produces:
  1636. - application/json
  1637. responses:
  1638. "200":
  1639. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1640. schema:
  1641. type: string
  1642. security:
  1643. - ApiKeyAuth: []
  1644. summary: 分页获取SysDictionary列表
  1645. tags:
  1646. - SysDictionary
  1647. /sysDictionary/updateSysDictionary:
  1648. put:
  1649. consumes:
  1650. - application/json
  1651. parameters:
  1652. - description: 更新SysDictionary
  1653. in: body
  1654. name: data
  1655. required: true
  1656. schema:
  1657. $ref: '#/definitions/model.SysDictionary'
  1658. type: object
  1659. produces:
  1660. - application/json
  1661. responses:
  1662. "200":
  1663. description: '{"success":true,"data":{},"msg":"更新成功"}'
  1664. schema:
  1665. type: string
  1666. security:
  1667. - ApiKeyAuth: []
  1668. summary: 更新SysDictionary
  1669. tags:
  1670. - SysDictionary
  1671. /sysDictionaryDetail/createSysDictionaryDetail:
  1672. post:
  1673. consumes:
  1674. - application/json
  1675. parameters:
  1676. - description: 创建SysDictionaryDetail
  1677. in: body
  1678. name: data
  1679. required: true
  1680. schema:
  1681. $ref: '#/definitions/model.SysDictionaryDetail'
  1682. type: object
  1683. produces:
  1684. - application/json
  1685. responses:
  1686. "200":
  1687. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1688. schema:
  1689. type: string
  1690. security:
  1691. - ApiKeyAuth: []
  1692. summary: 创建SysDictionaryDetail
  1693. tags:
  1694. - SysDictionaryDetail
  1695. /sysDictionaryDetail/deleteSysDictionaryDetail:
  1696. delete:
  1697. consumes:
  1698. - application/json
  1699. parameters:
  1700. - description: 删除SysDictionaryDetail
  1701. in: body
  1702. name: data
  1703. required: true
  1704. schema:
  1705. $ref: '#/definitions/model.SysDictionaryDetail'
  1706. type: object
  1707. produces:
  1708. - application/json
  1709. responses:
  1710. "200":
  1711. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1712. schema:
  1713. type: string
  1714. security:
  1715. - ApiKeyAuth: []
  1716. summary: 删除SysDictionaryDetail
  1717. tags:
  1718. - SysDictionaryDetail
  1719. /sysDictionaryDetail/findSysDictionaryDetail:
  1720. get:
  1721. consumes:
  1722. - application/json
  1723. parameters:
  1724. - description: 用id查询SysDictionaryDetail
  1725. in: body
  1726. name: data
  1727. required: true
  1728. schema:
  1729. $ref: '#/definitions/model.SysDictionaryDetail'
  1730. type: object
  1731. produces:
  1732. - application/json
  1733. responses:
  1734. "200":
  1735. description: '{"success":true,"data":{},"msg":"查询成功"}'
  1736. schema:
  1737. type: string
  1738. security:
  1739. - ApiKeyAuth: []
  1740. summary: 用id查询SysDictionaryDetail
  1741. tags:
  1742. - SysDictionaryDetail
  1743. /sysDictionaryDetail/getSysDictionaryDetailList:
  1744. get:
  1745. consumes:
  1746. - application/json
  1747. parameters:
  1748. - description: 分页获取SysDictionaryDetail列表
  1749. in: body
  1750. name: data
  1751. required: true
  1752. schema:
  1753. $ref: '#/definitions/request.SysDictionaryDetailSearch'
  1754. type: object
  1755. produces:
  1756. - application/json
  1757. responses:
  1758. "200":
  1759. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1760. schema:
  1761. type: string
  1762. security:
  1763. - ApiKeyAuth: []
  1764. summary: 分页获取SysDictionaryDetail列表
  1765. tags:
  1766. - SysDictionaryDetail
  1767. /sysDictionaryDetail/updateSysDictionaryDetail:
  1768. put:
  1769. consumes:
  1770. - application/json
  1771. parameters:
  1772. - description: 更新SysDictionaryDetail
  1773. in: body
  1774. name: data
  1775. required: true
  1776. schema:
  1777. $ref: '#/definitions/model.SysDictionaryDetail'
  1778. type: object
  1779. produces:
  1780. - application/json
  1781. responses:
  1782. "200":
  1783. description: '{"success":true,"data":{},"msg":"更新成功"}'
  1784. schema:
  1785. type: string
  1786. security:
  1787. - ApiKeyAuth: []
  1788. summary: 更新SysDictionaryDetail
  1789. tags:
  1790. - SysDictionaryDetail
  1791. /sysOperationRecord/createSysOperationRecord:
  1792. post:
  1793. consumes:
  1794. - application/json
  1795. parameters:
  1796. - description: 创建SysOperationRecord
  1797. in: body
  1798. name: data
  1799. required: true
  1800. schema:
  1801. $ref: '#/definitions/model.SysOperationRecord'
  1802. type: object
  1803. produces:
  1804. - application/json
  1805. responses:
  1806. "200":
  1807. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1808. schema:
  1809. type: string
  1810. security:
  1811. - ApiKeyAuth: []
  1812. summary: 创建SysOperationRecord
  1813. tags:
  1814. - SysOperationRecord
  1815. /sysOperationRecord/deleteSysOperationRecord:
  1816. delete:
  1817. consumes:
  1818. - application/json
  1819. parameters:
  1820. - description: 删除SysOperationRecord
  1821. in: body
  1822. name: data
  1823. required: true
  1824. schema:
  1825. $ref: '#/definitions/model.SysOperationRecord'
  1826. type: object
  1827. produces:
  1828. - application/json
  1829. responses:
  1830. "200":
  1831. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1832. schema:
  1833. type: string
  1834. security:
  1835. - ApiKeyAuth: []
  1836. summary: 删除SysOperationRecord
  1837. tags:
  1838. - SysOperationRecord
  1839. /sysOperationRecord/deleteSysOperationRecordByIds:
  1840. delete:
  1841. consumes:
  1842. - application/json
  1843. parameters:
  1844. - description: 批量删除SysOperationRecord
  1845. in: body
  1846. name: data
  1847. required: true
  1848. schema:
  1849. $ref: '#/definitions/request.IdsReq'
  1850. type: object
  1851. produces:
  1852. - application/json
  1853. responses:
  1854. "200":
  1855. description: '{"success":true,"data":{},"msg":"删除成功"}'
  1856. schema:
  1857. type: string
  1858. security:
  1859. - ApiKeyAuth: []
  1860. summary: 批量删除SysOperationRecord
  1861. tags:
  1862. - SysOperationRecord
  1863. /sysOperationRecord/findSysOperationRecord:
  1864. get:
  1865. consumes:
  1866. - application/json
  1867. parameters:
  1868. - description: 用id查询SysOperationRecord
  1869. in: body
  1870. name: data
  1871. required: true
  1872. schema:
  1873. $ref: '#/definitions/model.SysOperationRecord'
  1874. type: object
  1875. produces:
  1876. - application/json
  1877. responses:
  1878. "200":
  1879. description: '{"success":true,"data":{},"msg":"查询成功"}'
  1880. schema:
  1881. type: string
  1882. security:
  1883. - ApiKeyAuth: []
  1884. summary: 用id查询SysOperationRecord
  1885. tags:
  1886. - SysOperationRecord
  1887. /sysOperationRecord/getSysOperationRecordList:
  1888. get:
  1889. consumes:
  1890. - application/json
  1891. parameters:
  1892. - description: 分页获取SysOperationRecord列表
  1893. in: body
  1894. name: data
  1895. required: true
  1896. schema:
  1897. $ref: '#/definitions/request.SysOperationRecordSearch'
  1898. type: object
  1899. produces:
  1900. - application/json
  1901. responses:
  1902. "200":
  1903. description: '{"success":true,"data":{},"msg":"获取成功"}'
  1904. schema:
  1905. type: string
  1906. security:
  1907. - ApiKeyAuth: []
  1908. summary: 分页获取SysOperationRecord列表
  1909. tags:
  1910. - SysOperationRecord
  1911. /sysOperationRecord/updateSysOperationRecord:
  1912. put:
  1913. consumes:
  1914. - application/json
  1915. parameters:
  1916. - description: 更新SysOperationRecord
  1917. in: body
  1918. name: data
  1919. required: true
  1920. schema:
  1921. $ref: '#/definitions/model.SysOperationRecord'
  1922. type: object
  1923. produces:
  1924. - application/json
  1925. responses:
  1926. "200":
  1927. description: '{"success":true,"data":{},"msg":"更新成功"}'
  1928. schema:
  1929. type: string
  1930. security:
  1931. - ApiKeyAuth: []
  1932. summary: 更新SysOperationRecord
  1933. tags:
  1934. - SysOperationRecord
  1935. /system/ReloadSystem:
  1936. post:
  1937. parameters:
  1938. - description: 设置配置文件内容
  1939. in: body
  1940. name: data
  1941. required: true
  1942. schema:
  1943. $ref: '#/definitions/model.System'
  1944. type: object
  1945. produces:
  1946. - application/json
  1947. responses:
  1948. "200":
  1949. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1950. schema:
  1951. type: string
  1952. security:
  1953. - ApiKeyAuth: []
  1954. summary: 设置配置文件内容
  1955. tags:
  1956. - system
  1957. /system/getSystemConfig:
  1958. post:
  1959. produces:
  1960. - application/json
  1961. responses:
  1962. "200":
  1963. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1964. schema:
  1965. type: string
  1966. security:
  1967. - ApiKeyAuth: []
  1968. summary: 获取配置文件内容
  1969. tags:
  1970. - system
  1971. /system/setSystemConfig:
  1972. post:
  1973. parameters:
  1974. - description: 设置配置文件内容
  1975. in: body
  1976. name: data
  1977. required: true
  1978. schema:
  1979. $ref: '#/definitions/model.System'
  1980. type: object
  1981. produces:
  1982. - application/json
  1983. responses:
  1984. "200":
  1985. description: '{"success":true,"data":{},"msg":"返回成功"}'
  1986. schema:
  1987. type: string
  1988. security:
  1989. - ApiKeyAuth: []
  1990. summary: 设置配置文件内容
  1991. tags:
  1992. - system
  1993. /user/changePassword:
  1994. put:
  1995. parameters:
  1996. - description: 用户修改密码
  1997. in: body
  1998. name: data
  1999. required: true
  2000. schema:
  2001. $ref: '#/definitions/request.ChangePasswordStruct'
  2002. type: object
  2003. produces:
  2004. - application/json
  2005. responses:
  2006. "200":
  2007. description: '{"success":true,"data":{},"msg":"修改成功"}'
  2008. schema:
  2009. type: string
  2010. security:
  2011. - ApiKeyAuth: []
  2012. summary: 用户修改密码
  2013. tags:
  2014. - SysUser
  2015. /user/deleteUser:
  2016. delete:
  2017. consumes:
  2018. - application/json
  2019. parameters:
  2020. - description: 删除用户
  2021. in: body
  2022. name: data
  2023. required: true
  2024. schema:
  2025. $ref: '#/definitions/request.GetById'
  2026. type: object
  2027. produces:
  2028. - application/json
  2029. responses:
  2030. "200":
  2031. description: '{"success":true,"data":{},"msg":"修改成功"}'
  2032. schema:
  2033. type: string
  2034. security:
  2035. - ApiKeyAuth: []
  2036. summary: 删除用户
  2037. tags:
  2038. - SysUser
  2039. /user/getUserList:
  2040. post:
  2041. consumes:
  2042. - application/json
  2043. parameters:
  2044. - description: 分页获取用户列表
  2045. in: body
  2046. name: data
  2047. required: true
  2048. schema:
  2049. $ref: '#/definitions/request.PageInfo'
  2050. type: object
  2051. produces:
  2052. - application/json
  2053. responses:
  2054. "200":
  2055. description: '{"success":true,"data":{},"msg":"获取成功"}'
  2056. schema:
  2057. type: string
  2058. security:
  2059. - ApiKeyAuth: []
  2060. summary: 分页获取用户列表
  2061. tags:
  2062. - SysUser
  2063. /user/setUserAuthority:
  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/request.SetUserAuth'
  2074. type: object
  2075. produces:
  2076. - application/json
  2077. responses:
  2078. "200":
  2079. description: '{"success":true,"data":{},"msg":"修改成功"}'
  2080. schema:
  2081. type: string
  2082. security:
  2083. - ApiKeyAuth: []
  2084. summary: 设置用户权限
  2085. tags:
  2086. - SysUser
  2087. /user/uploadHeaderImg:
  2088. post:
  2089. consumes:
  2090. - multipart/form-data
  2091. parameters:
  2092. - description: 用户上传头像
  2093. in: formData
  2094. name: headerImg
  2095. required: true
  2096. type: file
  2097. - description: 用户上传头像
  2098. in: formData
  2099. name: username
  2100. required: true
  2101. type: string
  2102. produces:
  2103. - application/json
  2104. responses:
  2105. "200":
  2106. description: '{"success":true,"data":{},"msg":"上传成功"}'
  2107. schema:
  2108. type: string
  2109. security:
  2110. - ApiKeyAuth: []
  2111. summary: 用户上传头像
  2112. tags:
  2113. - SysUser
  2114. /workflow/createWorkFlow:
  2115. post:
  2116. parameters:
  2117. - description: 注册工作流接口
  2118. in: body
  2119. name: data
  2120. required: true
  2121. schema:
  2122. $ref: '#/definitions/model.SysWorkflow'
  2123. type: object
  2124. produces:
  2125. - application/json
  2126. responses:
  2127. "200":
  2128. description: '{"success":true,"data":{},"msg":"注册成功"}'
  2129. schema:
  2130. type: string
  2131. summary: 注册工作流
  2132. tags:
  2133. - workflow
  2134. securityDefinitions:
  2135. ApiKeyAuth:
  2136. in: header
  2137. name: x-token
  2138. type: apiKey
  2139. swagger: "2.0"