swagger.yaml 46 KB

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