swagger.yml 59 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275
  1. openapi: 3.0.0
  2. info:
  3. title: LIMS
  4. description: 实验室管理
  5. version: 0.0.1
  6. paths:
  7. /Test.Nullable:
  8. post:
  9. tags:
  10. - 测试
  11. operationId: Test.Nullable
  12. summary: 测试空值参数
  13. requestBody:
  14. required: true
  15. content:
  16. application/json:
  17. schema:
  18. oneOf:
  19. - $ref: '#/components/schemas/Nullable'
  20. examples:
  21. AllPass:
  22. $ref: '#/components/examples/NullableReqAllPass'
  23. responses:
  24. 200:
  25. description: 请求成功
  26. content:
  27. application/json:
  28. examples:
  29. success:
  30. $ref: "#/components/examples/success"
  31. /LearningSkill.List:
  32. post:
  33. tags:
  34. - 考试培训-技能
  35. operationId: LearningSkillList
  36. summary: 技能列表
  37. requestBody:
  38. required: true
  39. content:
  40. application/json:
  41. schema:
  42. oneOf:
  43. - $ref: '#/components/schemas/NoArgs'
  44. examples:
  45. NoArgs:
  46. $ref: '#/components/examples/NoArgs'
  47. responses:
  48. 200:
  49. description: 请求成功
  50. content:
  51. application/json:
  52. examples:
  53. success:
  54. $ref: "#/components/examples/success"
  55. /LearningSkill.ListMy:
  56. post:
  57. tags:
  58. - 考试培训-技能
  59. operationId: LearningSkillListMy
  60. summary: 我的技能列表
  61. requestBody:
  62. required: true
  63. content:
  64. application/json:
  65. schema:
  66. oneOf:
  67. - $ref: '#/components/schemas/NoArgs'
  68. examples:
  69. NoArgs:
  70. $ref: '#/components/examples/NoArgs'
  71. responses:
  72. 200:
  73. description: 请求成功
  74. content:
  75. application/json:
  76. examples:
  77. success:
  78. $ref: "#/components/examples/success"
  79. /LearningSkill.Get:
  80. post:
  81. tags:
  82. - 考试培训-技能
  83. operationId: LearningSkill.Get
  84. summary: 技能详情
  85. requestBody:
  86. required: true
  87. content:
  88. application/json:
  89. schema:
  90. oneOf:
  91. - $ref: '#/components/schemas/LearningSkillGet'
  92. examples:
  93. LearningSkillGet:
  94. $ref: '#/components/examples/LearningSkillGet'
  95. responses:
  96. 200:
  97. description: 请求成功
  98. content:
  99. application/json:
  100. examples:
  101. success:
  102. $ref: "#/components/examples/success"
  103. /LearningSkill.Add:
  104. post:
  105. tags:
  106. - 考试培训-技能
  107. operationId: LearningSkill.Add
  108. summary: 添加技能
  109. requestBody:
  110. required: true
  111. content:
  112. application/json:
  113. schema:
  114. oneOf:
  115. - $ref: '#/components/schemas/LearningSkillAdd'
  116. examples:
  117. LearningSkillAdd:
  118. $ref: '#/components/examples/LearningSkillAdd'
  119. responses:
  120. 200:
  121. description: 请求成功
  122. content:
  123. application/json:
  124. examples:
  125. success:
  126. $ref: "#/components/examples/success"
  127. /LearningSkill.Update:
  128. post:
  129. tags:
  130. - 考试培训-技能
  131. operationId: LearningSkill.Update
  132. summary: 更新技能
  133. requestBody:
  134. required: true
  135. content:
  136. application/json:
  137. schema:
  138. oneOf:
  139. - $ref: '#/components/schemas/LearningSkillUpdate'
  140. examples:
  141. LearningSkillUpdate:
  142. $ref: '#/components/examples/LearningSkillUpdate'
  143. responses:
  144. 200:
  145. description: 请求成功
  146. content:
  147. application/json:
  148. examples:
  149. success:
  150. $ref: "#/components/examples/success"
  151. /LearningSkill.Delete:
  152. post:
  153. tags:
  154. - 考试培训-技能
  155. operationId: LearningSkill.Delete
  156. summary: 删除技能
  157. requestBody:
  158. required: true
  159. content:
  160. application/json:
  161. schema:
  162. oneOf:
  163. - $ref: '#/components/schemas/IdsReq'
  164. examples:
  165. LearningSkillDelete:
  166. $ref: '#/components/examples/LearningSkillDelete'
  167. responses:
  168. 200:
  169. description: 请求成功
  170. content:
  171. application/json:
  172. examples:
  173. success:
  174. $ref: "#/components/examples/success"
  175. /LearningMaterial.List:
  176. post:
  177. tags:
  178. - 考试培训-资料
  179. operationId: LearningMaterial.List
  180. summary: 查询资料
  181. requestBody:
  182. required: true
  183. content:
  184. application/json:
  185. schema:
  186. oneOf:
  187. - $ref: '#/components/schemas/LearningMaterialList'
  188. examples:
  189. LearningMaterialList:
  190. $ref: '#/components/examples/LearningMaterialList'
  191. responses:
  192. 200:
  193. description: 请求成功
  194. content:
  195. application/json:
  196. examples:
  197. success:
  198. $ref: "#/components/examples/success"
  199. /LearningMaterial.ListMy:
  200. post:
  201. tags:
  202. - 考试培训-资料
  203. operationId: LearningMaterialListMy
  204. summary: 我的资料
  205. requestBody:
  206. required: true
  207. content:
  208. application/json:
  209. schema:
  210. oneOf:
  211. - $ref: '#/components/schemas/LearningMaterialListMy'
  212. examples:
  213. LearningMaterialListMy:
  214. $ref: '#/components/examples/LearningMaterialListMy'
  215. responses:
  216. 200:
  217. description: 请求成功
  218. content:
  219. application/json:
  220. examples:
  221. success:
  222. $ref: "#/components/examples/success"
  223. /LearningMaterialPublishRecord.List:
  224. post:
  225. tags:
  226. - 考试培训-资料
  227. operationId: LearningMaterialPublishRecordList
  228. summary: 资料发布记录
  229. requestBody:
  230. required: true
  231. content:
  232. application/json:
  233. schema:
  234. oneOf:
  235. - $ref: '#/components/schemas/LearningMaterialPublishRecordList'
  236. examples:
  237. LearningMaterialPublishRecordList:
  238. $ref: '#/components/examples/NoArgs'
  239. responses:
  240. 200:
  241. description: 请求成功
  242. content:
  243. application/json:
  244. examples:
  245. success:
  246. $ref: "#/components/examples/success"
  247. /LearningMaterial.Get:
  248. post:
  249. tags:
  250. - 考试培训-资料
  251. operationId: LearningMaterialGet
  252. summary: 资料详情
  253. requestBody:
  254. required: true
  255. content:
  256. application/json:
  257. schema:
  258. oneOf:
  259. - $ref: '#/components/schemas/LearningMaterialGet'
  260. examples:
  261. LearningMaterialGet:
  262. $ref: '#/components/examples/LearningMaterialGet'
  263. responses:
  264. 200:
  265. description: 请求成功
  266. content:
  267. application/json:
  268. examples:
  269. success:
  270. $ref: "#/components/examples/success"
  271. /LearningMaterial.Add:
  272. post:
  273. tags:
  274. - 考试培训-资料
  275. operationId: LearningMaterialAdd
  276. summary: 添加资料
  277. requestBody:
  278. required: true
  279. content:
  280. application/json:
  281. schema:
  282. oneOf:
  283. - $ref: '#/components/schemas/LearningMaterialAdd'
  284. examples:
  285. LearningMaterialAdd:
  286. $ref: '#/components/examples/LearningMaterialAdd'
  287. responses:
  288. 200:
  289. description: 请求成功
  290. content:
  291. application/json:
  292. examples:
  293. success:
  294. $ref: "#/components/examples/success"
  295. /LearningMaterial.Update:
  296. post:
  297. tags:
  298. - 考试培训-资料
  299. operationId: LearningMaterialUpdate
  300. summary: 修改资料
  301. requestBody:
  302. required: true
  303. content:
  304. application/json:
  305. schema:
  306. oneOf:
  307. - $ref: '#/components/schemas/LearningMaterialUpdate'
  308. examples:
  309. LearningMaterialUpdate:
  310. $ref: '#/components/examples/LearningMaterialUpdate'
  311. responses:
  312. 200:
  313. description: 请求成功
  314. content:
  315. application/json:
  316. examples:
  317. success:
  318. $ref: "#/components/examples/success"
  319. /LearningMaterial.Delete:
  320. post:
  321. tags:
  322. - 考试培训-资料
  323. operationId: LearningMaterialDelete
  324. summary: 删除资料
  325. requestBody:
  326. required: true
  327. content:
  328. application/json:
  329. schema:
  330. oneOf:
  331. - $ref: '#/components/schemas/IdsReq'
  332. examples:
  333. LearningMaterialDelete:
  334. $ref: '#/components/examples/LearningMaterialDelete'
  335. responses:
  336. 200:
  337. description: 请求成功
  338. content:
  339. application/json:
  340. examples:
  341. success:
  342. $ref: "#/components/examples/success"
  343. /LearningQuestion.Get:
  344. post:
  345. tags:
  346. - 考试培训-题库
  347. operationId: LearningQuestionGet
  348. summary: 题库详情
  349. requestBody:
  350. required: true
  351. content:
  352. application/json:
  353. schema:
  354. oneOf:
  355. - $ref: '#/components/schemas/IdReq'
  356. examples:
  357. LearningQuestionGet:
  358. $ref: '#/components/examples/LearningQuestionGet'
  359. responses:
  360. 200:
  361. description: 请求成功
  362. content:
  363. application/json:
  364. examples:
  365. success:
  366. $ref: "#/components/examples/success"
  367. /LearningQuestion.List:
  368. post:
  369. tags:
  370. - 考试培训-题库
  371. operationId: LearningQuestionList
  372. summary: 查询题库
  373. requestBody:
  374. required: true
  375. content:
  376. application/json:
  377. schema:
  378. oneOf:
  379. - $ref: '#/components/schemas/LearningQuestionList'
  380. examples:
  381. LearningQuestionList:
  382. $ref: '#/components/examples/LearningQuestionList'
  383. responses:
  384. 200:
  385. description: 请求成功
  386. content:
  387. application/json:
  388. examples:
  389. success:
  390. $ref: "#/components/examples/success"
  391. /LearningQuestion.Add:
  392. post:
  393. tags:
  394. - 考试培训-题库
  395. operationId: LearningQuestionAdd
  396. summary: 添加题库
  397. requestBody:
  398. required: true
  399. content:
  400. application/json:
  401. schema:
  402. oneOf:
  403. - $ref: '#/components/schemas/LearningQuestionAdd'
  404. examples:
  405. LearningQuestionAdd:
  406. $ref: '#/components/examples/LearningQuestionAdd'
  407. responses:
  408. 200:
  409. description: 请求成功
  410. content:
  411. application/json:
  412. examples:
  413. success:
  414. $ref: "#/components/examples/success"
  415. /LearningQuestion.Update:
  416. post:
  417. tags:
  418. - 考试培训-题库
  419. operationId: LearningQuestionUpdate
  420. summary: 更新题库
  421. requestBody:
  422. required: true
  423. content:
  424. application/json:
  425. schema:
  426. oneOf:
  427. - $ref: '#/components/schemas/LearningQuestionUpdate'
  428. examples:
  429. LearningQuestionUpdate:
  430. $ref: '#/components/examples/LearningQuestionUpdate'
  431. responses:
  432. 200:
  433. description: 请求成功
  434. content:
  435. application/json:
  436. examples:
  437. success:
  438. $ref: "#/components/examples/success"
  439. /LearningQuestion.Delete:
  440. post:
  441. tags:
  442. - 考试培训-题库
  443. operationId: LearningQuestionDelete
  444. summary: 删除题库
  445. requestBody:
  446. required: true
  447. content:
  448. application/json:
  449. schema:
  450. oneOf:
  451. - $ref: '#/components/schemas/IdsReq'
  452. examples:
  453. LearningQuestionDelete:
  454. $ref: '#/components/examples/LearningQuestionDelete'
  455. responses:
  456. 200:
  457. description: 请求成功
  458. content:
  459. application/json:
  460. examples:
  461. success:
  462. $ref: "#/components/examples/success"
  463. /LearningQuestion.Template:
  464. post:
  465. tags:
  466. - 考试培训-题库
  467. operationId: LearningQuestionTemplate
  468. summary: 下载批量上传题目模板
  469. requestBody:
  470. required: true
  471. content:
  472. application/json:
  473. schema:
  474. oneOf:
  475. - $ref: '#/components/schemas/NoArgs'
  476. examples:
  477. NoArgs:
  478. $ref: '#/components/examples/NoArgs'
  479. responses:
  480. 200:
  481. description: 请求成功
  482. content:
  483. application/json:
  484. examples:
  485. success:
  486. $ref: "#/components/examples/success"
  487. /LearningQuestion.BatchUpload:
  488. post:
  489. tags:
  490. - 考试培训-题库
  491. operationId: LearningQuestionBatchUpload
  492. summary: 批量上传题库
  493. requestBody:
  494. required: true
  495. content:
  496. application/json:
  497. schema:
  498. oneOf:
  499. - $ref: '#/components/schemas/LearningQuestionBatchUpload'
  500. examples:
  501. LearningQuestionBatchUpload:
  502. $ref: '#/components/examples/LearningQuestionBatchUpload'
  503. responses:
  504. 200:
  505. description: 请求成功
  506. content:
  507. application/json:
  508. examples:
  509. success:
  510. $ref: "#/components/examples/success"
  511. /LearningExamRecord.AddToMy:
  512. post:
  513. tags:
  514. - 考试培训-考试记录
  515. operationId: LearningExamRecordAddToMy
  516. summary: 添加考试记录
  517. requestBody:
  518. required: true
  519. content:
  520. application/json:
  521. schema:
  522. oneOf:
  523. - $ref: '#/components/schemas/LearningExamRecordAddToMy'
  524. examples:
  525. LearningExamRecordAddToMy:
  526. $ref: '#/components/examples/LearningExamRecordAddToMy'
  527. responses:
  528. 200:
  529. description: 请求成功
  530. content:
  531. application/json:
  532. examples:
  533. success:
  534. $ref: "#/components/examples/success"
  535. /LearningExamRecord.ListMy:
  536. post:
  537. tags:
  538. - 考试培训-考试记录
  539. operationId: LearningExamRecordListMy
  540. summary: 查询我的考试记录
  541. requestBody:
  542. required: true
  543. content:
  544. application/json:
  545. schema:
  546. oneOf:
  547. - $ref: '#/components/schemas/LearningExamRecordListMy'
  548. examples:
  549. LearningExamRecordListMy:
  550. $ref: '#/components/examples/LearningExamRecordListMy'
  551. responses:
  552. 200:
  553. description: 请求成功
  554. content:
  555. application/json:
  556. examples:
  557. success:
  558. $ref: "#/components/examples/success"
  559. /LearningExamRecord.List:
  560. post:
  561. tags:
  562. - 考试培训-考试记录
  563. operationId: LearningExamRecordList
  564. summary: 查询考试记录
  565. requestBody:
  566. required: true
  567. content:
  568. application/json:
  569. schema:
  570. oneOf:
  571. - $ref: '#/components/schemas/LearningExamRecordList'
  572. examples:
  573. LearningExamRecordList:
  574. $ref: '#/components/examples/LearningExamRecordList'
  575. responses:
  576. 200:
  577. description: 请求成功
  578. content:
  579. application/json:
  580. examples:
  581. success:
  582. $ref: "#/components/examples/success"
  583. /LearningLearningRecord.AddToMy:
  584. post:
  585. tags:
  586. - 考试培训-学习记录
  587. operationId: LearningLearningRecordAddToMy
  588. summary: 添加学习记录
  589. requestBody:
  590. required: true
  591. content:
  592. application/json:
  593. schema:
  594. oneOf:
  595. - $ref: '#/components/schemas/LearningLearningRecordAddToMy'
  596. examples:
  597. LearningLearningRecordAddToMy:
  598. $ref: '#/components/examples/LearningLearningRecordAddToMy'
  599. responses:
  600. 200:
  601. description: 请求成功
  602. content:
  603. application/json:
  604. examples:
  605. success:
  606. $ref: "#/components/examples/success"
  607. /LearningLearningRecord.ListMy:
  608. post:
  609. tags:
  610. - 考试培训-学习记录
  611. operationId: LearningLearningRecordListMy
  612. summary: 查询我的学习记录
  613. requestBody:
  614. required: true
  615. content:
  616. application/json:
  617. schema:
  618. oneOf:
  619. - $ref: '#/components/schemas/LearningLearningRecordListMy'
  620. examples:
  621. LearningLearningRecordListMy:
  622. $ref: '#/components/examples/LearningLearningRecordListMy'
  623. responses:
  624. 200:
  625. description: 请求成功
  626. content:
  627. application/json:
  628. examples:
  629. success:
  630. $ref: "#/components/examples/success"
  631. /LearningLearningRecord.List:
  632. post:
  633. tags:
  634. - 考试培训-学习记录
  635. operationId: LearningLearningRecordList
  636. summary: 查询学习记录
  637. requestBody:
  638. required: true
  639. content:
  640. application/json:
  641. schema:
  642. oneOf:
  643. - $ref: '#/components/schemas/LearningLearningRecordList'
  644. examples:
  645. LearningLearningRecordList:
  646. $ref: '#/components/examples/LearningLearningRecordList'
  647. responses:
  648. 200:
  649. description: 请求成功
  650. content:
  651. application/json:
  652. examples:
  653. success:
  654. $ref: "#/components/examples/success"
  655. /LearningTestpaper.Get:
  656. post:
  657. tags:
  658. - 考试培训-试卷
  659. operationId: LearningTestpaperGet
  660. summary: 试卷详情
  661. requestBody:
  662. required: true
  663. content:
  664. application/json:
  665. schema:
  666. oneOf:
  667. - $ref: '#/components/schemas/IdReq'
  668. examples:
  669. LearningTestpaperGet:
  670. $ref: '#/components/examples/LearningTestpaperGet'
  671. responses:
  672. 200:
  673. description: 请求成功
  674. content:
  675. application/json:
  676. examples:
  677. success:
  678. $ref: "#/components/examples/success"
  679. /LearningTestpaper.List:
  680. post:
  681. tags:
  682. - 考试培训-试卷
  683. operationId: LearningTestpaperList
  684. summary: 查询试卷
  685. requestBody:
  686. required: true
  687. content:
  688. application/json:
  689. schema:
  690. oneOf:
  691. - $ref: '#/components/schemas/LearningTestpaperList'
  692. examples:
  693. LearningTestpaperList:
  694. $ref: '#/components/examples/LearningTestpaperList'
  695. responses:
  696. 200:
  697. description: 请求成功
  698. content:
  699. application/json:
  700. examples:
  701. success:
  702. $ref: "#/components/examples/success"
  703. /LearningTestpaper.ListMy:
  704. post:
  705. tags:
  706. - 考试培训-试卷
  707. operationId: LearningTestpaperListMy
  708. summary: 我的试卷
  709. requestBody:
  710. required: true
  711. content:
  712. application/json:
  713. schema:
  714. oneOf:
  715. - $ref: '#/components/schemas/NoArgs'
  716. examples:
  717. LearningTestpaperList:
  718. $ref: '#/components/examples/NoArgs'
  719. responses:
  720. 200:
  721. description: 请求成功
  722. content:
  723. application/json:
  724. examples:
  725. success:
  726. $ref: "#/components/examples/success"
  727. /LearningTestpaper.Add:
  728. post:
  729. tags:
  730. - 考试培训-试卷
  731. operationId: LearningTestpaperAdd
  732. summary: 添加试卷
  733. requestBody:
  734. required: true
  735. content:
  736. application/json:
  737. schema:
  738. oneOf:
  739. - $ref: '#/components/schemas/LearningTestpaperAdd'
  740. examples:
  741. LearningTestpaperAdd:
  742. $ref: '#/components/examples/LearningTestpaperAdd'
  743. responses:
  744. 200:
  745. description: 请求成功
  746. content:
  747. application/json:
  748. examples:
  749. success:
  750. $ref: "#/components/examples/success"
  751. /LearningTestpaper.Update:
  752. post:
  753. tags:
  754. - 考试培训-试卷
  755. operationId: LearningTestpaperUpdate
  756. summary: 更新试卷
  757. requestBody:
  758. required: true
  759. content:
  760. application/json:
  761. schema:
  762. oneOf:
  763. - $ref: '#/components/schemas/LearningTestpaperUpdate'
  764. examples:
  765. LearningTestpaperUpdate:
  766. $ref: '#/components/examples/LearningTestpaperUpdate'
  767. responses:
  768. 200:
  769. description: 请求成功
  770. content:
  771. application/json:
  772. examples:
  773. success:
  774. $ref: "#/components/examples/success"
  775. /LearningTestpaper.Delete:
  776. post:
  777. tags:
  778. - 考试培训-试卷
  779. operationId: LearningTestpaperDelete
  780. summary: 删除试卷
  781. requestBody:
  782. required: true
  783. content:
  784. application/json:
  785. schema:
  786. oneOf:
  787. - $ref: '#/components/schemas/IdsReq'
  788. examples:
  789. LearningTestpaperDelete:
  790. $ref: '#/components/examples/LearningTestpaperDelete'
  791. responses:
  792. 200:
  793. description: 请求成功
  794. content:
  795. application/json:
  796. examples:
  797. success:
  798. $ref: "#/components/examples/success"
  799. /Feedback.List:
  800. post:
  801. tags:
  802. - 反馈
  803. operationId: FeedbackList
  804. summary: 查询反馈
  805. requestBody:
  806. required: true
  807. content:
  808. application/json:
  809. schema:
  810. oneOf:
  811. - $ref: '#/components/schemas/FeedbackList'
  812. examples:
  813. FeedbackList:
  814. $ref: '#/components/examples/FeedbackList'
  815. responses:
  816. 200:
  817. description: 请求成功
  818. content:
  819. application/json:
  820. examples:
  821. success:
  822. $ref: "#/components/examples/success"
  823. /Feedback.Add:
  824. post:
  825. tags:
  826. - 反馈
  827. operationId: FeedbackAdd
  828. summary: 新增反馈
  829. requestBody:
  830. required: true
  831. content:
  832. application/json:
  833. schema:
  834. oneOf:
  835. - $ref: '#/components/schemas/FeedbackAdd'
  836. examples:
  837. FeedbackAdd:
  838. $ref: '#/components/examples/FeedbackAdd'
  839. responses:
  840. 200:
  841. description: 请求成功
  842. content:
  843. application/json:
  844. examples:
  845. success:
  846. $ref: "#/components/examples/success"
  847. /Feedback.Get:
  848. post:
  849. tags:
  850. - 反馈
  851. operationId: FeedbackGet
  852. summary: 反馈详情
  853. requestBody:
  854. required: true
  855. content:
  856. application/json:
  857. schema:
  858. oneOf:
  859. - $ref: '#/components/schemas/IdReq'
  860. examples:
  861. FeedbackGet:
  862. $ref: '#/components/examples/FeedbackGet'
  863. responses:
  864. 200:
  865. description: 请求成功
  866. content:
  867. application/json:
  868. examples:
  869. success:
  870. $ref: "#/components/examples/success"
  871. /Feedback.Trans:
  872. post:
  873. tags:
  874. - 反馈
  875. operationId: FeedbackTrans
  876. summary: 转交
  877. requestBody:
  878. required: true
  879. content:
  880. application/json:
  881. schema:
  882. oneOf:
  883. - $ref: '#/components/schemas/FeedbackTrans'
  884. examples:
  885. FeedbackTrans:
  886. $ref: '#/components/examples/FeedbackTrans'
  887. responses:
  888. 200:
  889. description: 请求成功
  890. content:
  891. application/json:
  892. examples:
  893. success:
  894. $ref: "#/components/examples/success"
  895. /Feedback.Process:
  896. post:
  897. tags:
  898. - 反馈
  899. operationId: FeedbackProcess
  900. summary: 处理
  901. requestBody:
  902. required: true
  903. content:
  904. application/json:
  905. schema:
  906. oneOf:
  907. - $ref: '#/components/schemas/FeedbackProcess'
  908. examples:
  909. FeedbackProcess:
  910. $ref: '#/components/examples/FeedbackProcess'
  911. responses:
  912. 200:
  913. description: 请求成功
  914. content:
  915. application/json:
  916. examples:
  917. success:
  918. $ref: "#/components/examples/success"
  919. /Feedback.Reactivate:
  920. post:
  921. tags:
  922. - 反馈
  923. operationId: FeedbackReactivate
  924. summary: 重新激活
  925. requestBody:
  926. required: true
  927. content:
  928. application/json:
  929. schema:
  930. oneOf:
  931. - $ref: '#/components/schemas/FeedbackReactivate'
  932. examples:
  933. FeedbackReactivate:
  934. $ref: '#/components/examples/FeedbackReactivate'
  935. responses:
  936. 200:
  937. description: 请求成功
  938. content:
  939. application/json:
  940. examples:
  941. success:
  942. $ref: "#/components/examples/success"
  943. /Feedback.Processor:
  944. post:
  945. tags:
  946. - 反馈
  947. operationId: FeedbackProcessor
  948. summary: 获取具有处理反馈权限的用户
  949. requestBody:
  950. required: true
  951. content:
  952. application/json:
  953. schema:
  954. oneOf:
  955. - $ref: '#/components/schemas/NoArgs'
  956. examples:
  957. FeedbackProcessor:
  958. $ref: '#/components/examples/NoArgs'
  959. responses:
  960. 200:
  961. description: 请求成功
  962. content:
  963. application/json:
  964. examples:
  965. success:
  966. $ref: "#/components/examples/success"
  967. /Repair.List:
  968. post:
  969. tags:
  970. - 报修
  971. operationId: RepairList
  972. summary: 查询报修
  973. requestBody:
  974. required: true
  975. content:
  976. application/json:
  977. schema:
  978. oneOf:
  979. - $ref: '#/components/schemas/RepairList'
  980. examples:
  981. RepairList:
  982. $ref: '#/components/examples/RepairList'
  983. responses:
  984. 200:
  985. description: 请求成功
  986. content:
  987. application/json:
  988. examples:
  989. success:
  990. $ref: "#/components/examples/success"
  991. /Repair.Add:
  992. post:
  993. tags:
  994. - 报修
  995. operationId: RepairAdd
  996. summary: 新增报修
  997. requestBody:
  998. required: true
  999. content:
  1000. application/json:
  1001. schema:
  1002. oneOf:
  1003. - $ref: '#/components/schemas/RepairAdd'
  1004. examples:
  1005. RepairAdd:
  1006. $ref: '#/components/examples/RepairAdd'
  1007. responses:
  1008. 200:
  1009. description: 请求成功
  1010. content:
  1011. application/json:
  1012. examples:
  1013. success:
  1014. $ref: "#/components/examples/success"
  1015. /Repair.Get:
  1016. post:
  1017. tags:
  1018. - 报修
  1019. operationId: RepairGet
  1020. summary: 报修详情
  1021. requestBody:
  1022. required: true
  1023. content:
  1024. application/json:
  1025. schema:
  1026. oneOf:
  1027. - $ref: '#/components/schemas/IdReq'
  1028. examples:
  1029. RepairGet:
  1030. $ref: '#/components/examples/RepairGet'
  1031. responses:
  1032. 200:
  1033. description: 请求成功
  1034. content:
  1035. application/json:
  1036. examples:
  1037. success:
  1038. $ref: "#/components/examples/success"
  1039. /Repair.Trans:
  1040. post:
  1041. tags:
  1042. - 报修
  1043. operationId: RepairTrans
  1044. summary: 转交
  1045. requestBody:
  1046. required: true
  1047. content:
  1048. application/json:
  1049. schema:
  1050. oneOf:
  1051. - $ref: '#/components/schemas/RepairTrans'
  1052. examples:
  1053. RepairTrans:
  1054. $ref: '#/components/examples/RepairTrans'
  1055. responses:
  1056. 200:
  1057. description: 请求成功
  1058. content:
  1059. application/json:
  1060. examples:
  1061. success:
  1062. $ref: "#/components/examples/success"
  1063. /Repair.Process:
  1064. post:
  1065. tags:
  1066. - 报修
  1067. operationId: RepairProcess
  1068. summary: 处理
  1069. requestBody:
  1070. required: true
  1071. content:
  1072. application/json:
  1073. schema:
  1074. oneOf:
  1075. - $ref: '#/components/schemas/RepairProcess'
  1076. examples:
  1077. RepairProcess:
  1078. $ref: '#/components/examples/RepairProcess'
  1079. responses:
  1080. 200:
  1081. description: 请求成功
  1082. content:
  1083. application/json:
  1084. examples:
  1085. success:
  1086. $ref: "#/components/examples/success"
  1087. /Repair.Reactivate:
  1088. post:
  1089. tags:
  1090. - 报修
  1091. operationId: RepairReactivate
  1092. summary: 重新激活
  1093. requestBody:
  1094. required: true
  1095. content:
  1096. application/json:
  1097. schema:
  1098. oneOf:
  1099. - $ref: '#/components/schemas/RepairReactivate'
  1100. examples:
  1101. RepairReactivate:
  1102. $ref: '#/components/examples/RepairReactivate'
  1103. responses:
  1104. 200:
  1105. description: 请求成功
  1106. content:
  1107. application/json:
  1108. examples:
  1109. success:
  1110. $ref: "#/components/examples/success"
  1111. /Repair.Processor:
  1112. post:
  1113. tags:
  1114. - 报修
  1115. operationId: RepairProcessor
  1116. summary: 获取具有处理报修权限的用户
  1117. requestBody:
  1118. required: true
  1119. content:
  1120. application/json:
  1121. schema:
  1122. oneOf:
  1123. - $ref: '#/components/schemas/NoArgs'
  1124. examples:
  1125. RepairProcessor:
  1126. $ref: '#/components/examples/NoArgs'
  1127. responses:
  1128. 200:
  1129. description: 请求成功
  1130. content:
  1131. application/json:
  1132. examples:
  1133. success:
  1134. $ref: "#/components/examples/success"
  1135. # 添加这个 swagger ui 会显示授权按钮
  1136. security:
  1137. - bearerAuth: []
  1138. components:
  1139. securitySchemes:
  1140. basicAuth:
  1141. type: http
  1142. scheme: basic
  1143. bearerAuth:
  1144. type: http
  1145. scheme: bearer
  1146. schemas:
  1147. Nullable:
  1148. type: object
  1149. required:
  1150. - Str
  1151. - Int
  1152. - Bool
  1153. - Slice
  1154. properties:
  1155. Str:
  1156. type: string
  1157. description: 字符串参数
  1158. Int:
  1159. type: integer
  1160. description: Int 参数
  1161. Bool:
  1162. type: boolean
  1163. description: Bool 参数
  1164. Slice:
  1165. type: array
  1166. description: Slice 参数
  1167. items:
  1168. type: integer
  1169. NoArgs:
  1170. type: object
  1171. properties:
  1172. noargs:
  1173. type: string
  1174. description: 无参数,但是 body 中必须传输一个 json 空对象 "{}"
  1175. LearningSkillGet:
  1176. properties:
  1177. id:
  1178. type: string
  1179. description: 技能 id
  1180. name:
  1181. type: string
  1182. description: 技能名称
  1183. LearningSkillAdd:
  1184. properties:
  1185. instrumentId:
  1186. type: string
  1187. description: 技能关联的设备 id
  1188. name:
  1189. type: string
  1190. description: 技能名称
  1191. LearningSkillUpdate:
  1192. required:
  1193. - id
  1194. properties:
  1195. id:
  1196. type: string
  1197. description: 技能 id
  1198. instrumentId:
  1199. type: string
  1200. description: 技能关联的设备 id
  1201. name:
  1202. type: string
  1203. description: 技能名称
  1204. IdReq:
  1205. type: object
  1206. required:
  1207. - id
  1208. properties:
  1209. id:
  1210. type: integer
  1211. description: ID
  1212. IdsReq:
  1213. type: object
  1214. required:
  1215. - id
  1216. properties:
  1217. id:
  1218. type: array
  1219. description: ID
  1220. items:
  1221. type: integer
  1222. LearningMaterialList:
  1223. type: object
  1224. properties:
  1225. page:
  1226. type: object
  1227. description: 分页信息,不传默认不分页,返回所有数据
  1228. properties:
  1229. current:
  1230. type: integer
  1231. description: 当前页面
  1232. size:
  1233. type: integer
  1234. description: 每页条数
  1235. orderBy:
  1236. type: object
  1237. description: 排序
  1238. properties:
  1239. type:
  1240. type: string
  1241. description: 排序方式
  1242. enum:
  1243. - asc
  1244. - desc
  1245. value:
  1246. type: string
  1247. description: 字段名
  1248. skillId:
  1249. type: integer
  1250. description: 按技能 Id 查询
  1251. name:
  1252. type: string
  1253. description: 按资料名称模糊查询
  1254. type:
  1255. type: integer
  1256. description: 资料类型 1 资料 2 视频
  1257. LearningMaterialListMy:
  1258. type: object
  1259. required:
  1260. - skillId
  1261. properties:
  1262. skillId:
  1263. type: integer
  1264. description: 按技能 Id 查询
  1265. type:
  1266. type: integer
  1267. description: 资料类型 1 资料 2 视频
  1268. LearningMaterialPublishRecordList:
  1269. page:
  1270. type: object
  1271. description: 分页信息,不传默认不分页,返回所有数据
  1272. properties:
  1273. current:
  1274. type: integer
  1275. description: 当前页面
  1276. size:
  1277. type: integer
  1278. description: 每页条数
  1279. LearningMaterialGet:
  1280. type: object
  1281. properties:
  1282. id:
  1283. type: string
  1284. description: 资料 id
  1285. name:
  1286. type: string
  1287. description: 资料名称
  1288. LearningMaterialAdd:
  1289. type: object
  1290. required:
  1291. - skillId
  1292. - name
  1293. - type
  1294. - enable
  1295. - content
  1296. properties:
  1297. skillId:
  1298. type: integer
  1299. description: 技能 Id
  1300. name:
  1301. type: string
  1302. description: 资料名称
  1303. type:
  1304. type: integer
  1305. description: 资料类型 1 资料 2 视频
  1306. sortNo:
  1307. type: integer
  1308. description: 排序
  1309. enable:
  1310. type: integer
  1311. description: 是否启用 0 未启用 1 启用
  1312. content:
  1313. type: string
  1314. description: 资料内容
  1315. file:
  1316. type: array
  1317. description: 附件
  1318. items:
  1319. type: object
  1320. properties:
  1321. name:
  1322. type: string
  1323. description: 文件名
  1324. url:
  1325. type: string
  1326. description: 文件地址
  1327. size:
  1328. type: string
  1329. description: 文件大小
  1330. extend:
  1331. type: string
  1332. description: 文件扩展名
  1333. LearningMaterialUpdate:
  1334. type: object
  1335. required:
  1336. - id
  1337. properties:
  1338. id:
  1339. type: integer
  1340. description: 资料 id
  1341. skillId:
  1342. type: integer
  1343. description: 技能 Id
  1344. name:
  1345. type: string
  1346. description: 资料名称
  1347. type:
  1348. type: integer
  1349. description: 资料类型 1 资料 2 视频
  1350. sortNo:
  1351. type: integer
  1352. description: 排序
  1353. enable:
  1354. type: integer
  1355. description: 是否启用 0 未启用 1 启用
  1356. content:
  1357. type: string
  1358. description: 资料内容
  1359. file:
  1360. type: array
  1361. description: 附件
  1362. items:
  1363. type: object
  1364. properties:
  1365. name:
  1366. type: string
  1367. description: 文件名
  1368. url:
  1369. type: string
  1370. description: 文件地址
  1371. size:
  1372. type: string
  1373. description: 文件大小
  1374. extend:
  1375. type: string
  1376. description: 文件扩展名
  1377. LearningQuestionList:
  1378. type: object
  1379. properties:
  1380. page:
  1381. type: object
  1382. description: 分页信息,不传默认不分页,返回所有数据
  1383. properties:
  1384. current:
  1385. type: integer
  1386. description: 当前页面
  1387. size:
  1388. type: integer
  1389. description: 每页条数
  1390. orderBy:
  1391. type: object
  1392. description: 排序
  1393. properties:
  1394. type:
  1395. type: string
  1396. description: 排序方式
  1397. enum:
  1398. - asc
  1399. - desc
  1400. value:
  1401. type: string
  1402. description: 字段名
  1403. skillId:
  1404. type: integer
  1405. description: 按技能 Id 查询
  1406. name:
  1407. type: string
  1408. description: 按题目名称模糊查询
  1409. type:
  1410. type: integer
  1411. description: 题型 1 单选 2 多选 3 判断
  1412. LearningQuestionAdd:
  1413. type: object
  1414. required:
  1415. - skillId
  1416. - type
  1417. - content
  1418. properties:
  1419. skillId:
  1420. type: integer
  1421. description: 技能 Id
  1422. name:
  1423. type: string
  1424. description: 题目
  1425. nameImage:
  1426. type: string
  1427. description: 题目图片
  1428. type:
  1429. type: integer
  1430. description: 题型 1 单选 2 多选 3 判断
  1431. enable:
  1432. type: integer
  1433. description: 是否启用 0 未启用 1 启用
  1434. content:
  1435. type: array
  1436. description: 选项
  1437. items:
  1438. type: object
  1439. properties:
  1440. name:
  1441. type: string
  1442. description: 选项
  1443. content:
  1444. type: string
  1445. description: 内容
  1446. isCorrect:
  1447. type: boolean
  1448. description: 是否是答案
  1449. explanation:
  1450. type: string
  1451. description: 题目解析
  1452. explanationImage:
  1453. type: string
  1454. description: 题目解析图片
  1455. LearningQuestionUpdate:
  1456. type: object
  1457. required:
  1458. - id
  1459. properties:
  1460. id:
  1461. type: integer
  1462. description: 题目 id
  1463. skillId:
  1464. type: integer
  1465. description: 技能 Id
  1466. name:
  1467. type: string
  1468. description: 题目
  1469. nameImage:
  1470. type: string
  1471. description: 题目图片
  1472. type:
  1473. type: integer
  1474. description: 题型 1 单选 2 多选 3 判断
  1475. enable:
  1476. type: integer
  1477. description: 是否启用 0 未启用 1 启用
  1478. content:
  1479. type: array
  1480. description: 选项
  1481. items:
  1482. type: object
  1483. properties:
  1484. name:
  1485. type: string
  1486. description: 选项
  1487. content:
  1488. type: string
  1489. description: 内容
  1490. isCorrect:
  1491. type: boolean
  1492. description: 是否是答案
  1493. explanation:
  1494. type: string
  1495. description: 题目解析
  1496. explanationImage:
  1497. type: string
  1498. description: 题目解析图片
  1499. LearningQuestionBatchUpload:
  1500. type: object
  1501. required:
  1502. - skillId
  1503. - excelUrl
  1504. properties:
  1505. skillId:
  1506. type: integer
  1507. description: 技能 Id
  1508. excelUrl:
  1509. type: string
  1510. description: excel 地址
  1511. LearningExamRecordAddToMy:
  1512. type: object
  1513. required:
  1514. - skillId
  1515. - testpaperId
  1516. - status
  1517. - detail
  1518. properties:
  1519. skillId:
  1520. type: integer
  1521. description: 技能 Id
  1522. testpaperId:
  1523. type: integer
  1524. description: 试卷 Id
  1525. status:
  1526. type: integer
  1527. description: 状态 1 通过 2 未通过
  1528. detail:
  1529. type: array
  1530. description: 答题详情
  1531. items:
  1532. type: object
  1533. properties:
  1534. questionId:
  1535. type: integer
  1536. description: 问题 Id
  1537. answer:
  1538. type: array
  1539. description: 答案
  1540. items:
  1541. type: string
  1542. LearningExamRecordListMy:
  1543. type: object
  1544. properties:
  1545. page:
  1546. type: object
  1547. description: 分页信息,不传默认不分页,返回所有数据
  1548. properties:
  1549. current:
  1550. type: integer
  1551. description: 当前页面
  1552. size:
  1553. type: integer
  1554. description: 每页条数
  1555. orderBy:
  1556. type: object
  1557. description: 排序
  1558. properties:
  1559. type:
  1560. type: string
  1561. description: 排序方式
  1562. enum:
  1563. - asc
  1564. - desc
  1565. value:
  1566. type: string
  1567. description: 字段名
  1568. skillId:
  1569. type: integer
  1570. description: 技能 Id
  1571. testpaperId:
  1572. type: integer
  1573. description: 试卷 Id
  1574. status:
  1575. type: integer
  1576. description: 状态 1 通过 2 未通过
  1577. LearningExamRecordList:
  1578. type: object
  1579. properties:
  1580. page:
  1581. type: object
  1582. description: 分页信息,不传默认不分页,返回所有数据
  1583. properties:
  1584. current:
  1585. type: integer
  1586. description: 当前页面
  1587. size:
  1588. type: integer
  1589. description: 每页条数
  1590. orderBy:
  1591. type: object
  1592. description: 排序
  1593. properties:
  1594. type:
  1595. type: string
  1596. description: 排序方式
  1597. enum:
  1598. - asc
  1599. - desc
  1600. value:
  1601. type: string
  1602. description: 字段名
  1603. skillId:
  1604. type: integer
  1605. description: 技能 Id
  1606. testpaperId:
  1607. type: integer
  1608. description: 试卷 Id
  1609. status:
  1610. type: integer
  1611. description: 状态 1 通过 2 未通过
  1612. userId:
  1613. type: integer
  1614. description: 用户 Id
  1615. LearningLearningRecordAddToMy:
  1616. type: object
  1617. required:
  1618. - materialId
  1619. - status
  1620. properties:
  1621. materialId:
  1622. type: integer
  1623. description: 资料 Id
  1624. status:
  1625. type: integer
  1626. description: 状态 1 已学习
  1627. LearningLearningRecordListMy:
  1628. type: object
  1629. properties:
  1630. page:
  1631. type: object
  1632. description: 分页信息,不传默认不分页,返回所有数据
  1633. properties:
  1634. current:
  1635. type: integer
  1636. description: 当前页面
  1637. size:
  1638. type: integer
  1639. description: 每页条数
  1640. orderBy:
  1641. type: object
  1642. description: 排序
  1643. properties:
  1644. type:
  1645. type: string
  1646. description: 排序方式
  1647. enum:
  1648. - asc
  1649. - desc
  1650. value:
  1651. type: string
  1652. description: 字段名
  1653. materialId:
  1654. type: integer
  1655. description: 资料 Id
  1656. materialType:
  1657. type: integer
  1658. description: 资料类型 1 资料 2 视频
  1659. status:
  1660. type: integer
  1661. description: 状态 1 已学习
  1662. LearningLearningRecordList:
  1663. type: object
  1664. properties:
  1665. page:
  1666. type: object
  1667. description: 分页信息,不传默认不分页,返回所有数据
  1668. properties:
  1669. current:
  1670. type: integer
  1671. description: 当前页面
  1672. size:
  1673. type: integer
  1674. description: 每页条数
  1675. orderBy:
  1676. type: object
  1677. description: 排序
  1678. properties:
  1679. type:
  1680. type: string
  1681. description: 排序方式
  1682. enum:
  1683. - asc
  1684. - desc
  1685. value:
  1686. type: string
  1687. description: 字段名
  1688. materialId:
  1689. type: integer
  1690. description: 资料 Id
  1691. status:
  1692. type: integer
  1693. description: 状态 1 已学习
  1694. userId:
  1695. type: integer
  1696. description: 用户 Id
  1697. materialType:
  1698. type: integer
  1699. description: 资料类型 1 资料 2 视频
  1700. LearningTestpaperList:
  1701. type: object
  1702. properties:
  1703. page:
  1704. type: object
  1705. description: 分页信息,不传默认不分页,返回所有数据
  1706. properties:
  1707. current:
  1708. type: integer
  1709. description: 当前页面
  1710. size:
  1711. type: integer
  1712. description: 每页条数
  1713. orderBy:
  1714. type: object
  1715. description: 排序
  1716. properties:
  1717. type:
  1718. type: string
  1719. description: 排序方式
  1720. enum:
  1721. - asc
  1722. - desc
  1723. value:
  1724. type: string
  1725. description: 字段名
  1726. skillId:
  1727. type: integer
  1728. description: 技能 Id
  1729. enable:
  1730. type: integer
  1731. description: 是否启用 0 未启用 1 启用
  1732. LearningTestpaperAdd:
  1733. type: object
  1734. required:
  1735. - skillId
  1736. - name
  1737. - timeLimit
  1738. - passLimit
  1739. - question
  1740. properties:
  1741. skillId:
  1742. type: integer
  1743. description: 技能 Id
  1744. name:
  1745. type: string
  1746. description: 试卷名称
  1747. timeLimit:
  1748. type: string
  1749. description: 答题时间/分钟
  1750. passLimit:
  1751. type: string
  1752. description: 合格标准/题数
  1753. question:
  1754. type: string
  1755. description: 关联问题 Id 列表
  1756. LearningTestpaperUpdate:
  1757. type: object
  1758. required:
  1759. - id
  1760. properties:
  1761. id:
  1762. type: integer
  1763. description: 试卷 id
  1764. skillId:
  1765. type: integer
  1766. description: 技能 Id
  1767. name:
  1768. type: string
  1769. description: 试卷名称
  1770. timeLimit:
  1771. type: string
  1772. description: 答题时间/分钟
  1773. passLimit:
  1774. type: string
  1775. description: 合格标准/题数
  1776. question:
  1777. type: string
  1778. description: 关联问题 Id 列表
  1779. enable:
  1780. type: integer
  1781. description: 是否启用 0 未启用 1 启用
  1782. FeedbackList:
  1783. type: object
  1784. properties:
  1785. page:
  1786. type: object
  1787. description: 分页信息,不传默认不分页,返回所有数据
  1788. properties:
  1789. current:
  1790. type: integer
  1791. description: 当前页面
  1792. size:
  1793. type: integer
  1794. description: 每页条数
  1795. enable:
  1796. type: integer
  1797. description: 是否启用 0 未启用 1 启用
  1798. status:
  1799. type: integer
  1800. description: 反馈状态 1 未处理 2 已处理
  1801. createdByName:
  1802. type: string
  1803. description: 创建者用户名
  1804. createdAtStart:
  1805. type: string
  1806. description: 创建时间
  1807. createdAtEnd:
  1808. type: string
  1809. description: 创建时间
  1810. FeedbackAdd:
  1811. type: object
  1812. required:
  1813. - type
  1814. - content
  1815. - mobile
  1816. - email
  1817. properties:
  1818. type:
  1819. type: string
  1820. description: 反馈类型
  1821. content:
  1822. type: string
  1823. description: 反馈内容
  1824. mobile:
  1825. type: string
  1826. description: 联系方式
  1827. email:
  1828. type: string
  1829. description: 邮箱
  1830. FeedbackTrans:
  1831. type: object
  1832. required:
  1833. - id
  1834. - userId
  1835. - note
  1836. properties:
  1837. id:
  1838. type: integer
  1839. description: 反馈 id
  1840. userId:
  1841. type: integer
  1842. description: 转交对象
  1843. note:
  1844. type: string
  1845. description: 描述
  1846. FeedbackProcess:
  1847. type: object
  1848. required:
  1849. - id
  1850. - type
  1851. - note
  1852. properties:
  1853. id:
  1854. type: integer
  1855. description: 反馈 id
  1856. type:
  1857. type: integer
  1858. description: 处理方式
  1859. note:
  1860. type: string
  1861. description: 描述
  1862. FeedbackReactivate:
  1863. type: object
  1864. required:
  1865. - id
  1866. - note
  1867. properties:
  1868. id:
  1869. type: integer
  1870. description: 反馈 id
  1871. note:
  1872. type: string
  1873. description: 描述
  1874. RepairList:
  1875. type: object
  1876. properties:
  1877. page:
  1878. type: object
  1879. description: 分页信息,不传默认不分页,返回所有数据
  1880. properties:
  1881. current:
  1882. type: integer
  1883. description: 当前页面
  1884. size:
  1885. type: integer
  1886. description: 每页条数
  1887. enable:
  1888. type: integer
  1889. description: 是否启用 0 未启用 1 启用
  1890. status:
  1891. type: integer
  1892. description: 处理状态 1 未处理 2 已处理
  1893. createdByName:
  1894. type: string
  1895. description: 创建者用户名
  1896. createdAtStart:
  1897. type: string
  1898. description: 创建时间
  1899. createdAtEnd:
  1900. type: string
  1901. description: 创建时间
  1902. RepairAdd:
  1903. type: object
  1904. required:
  1905. - type
  1906. - content
  1907. - mobile
  1908. - email
  1909. properties:
  1910. type:
  1911. type: string
  1912. description: 报修类型
  1913. content:
  1914. type: string
  1915. description: 报修内容
  1916. mobile:
  1917. type: string
  1918. description: 联系方式
  1919. email:
  1920. type: string
  1921. description: 邮箱
  1922. RepairTrans:
  1923. type: object
  1924. required:
  1925. - id
  1926. - userId
  1927. - note
  1928. properties:
  1929. id:
  1930. type: integer
  1931. description: 报修 id
  1932. userId:
  1933. type: integer
  1934. description: 转交对象
  1935. note:
  1936. type: string
  1937. description: 描述
  1938. RepairProcess:
  1939. type: object
  1940. required:
  1941. - id
  1942. - type
  1943. - note
  1944. properties:
  1945. id:
  1946. type: integer
  1947. description: 报修 id
  1948. type:
  1949. type: integer
  1950. description: 处理方式
  1951. note:
  1952. type: string
  1953. description: 描述
  1954. RepairReactivate:
  1955. type: object
  1956. required:
  1957. - id
  1958. - note
  1959. properties:
  1960. id:
  1961. type: integer
  1962. description: 报修 id
  1963. note:
  1964. type: string
  1965. description: 描述
  1966. examples:
  1967. success:
  1968. summary: 请求成功
  1969. value:
  1970. code: 200,
  1971. msg: "success"
  1972. NullableReqAllPass:
  1973. value:
  1974. Str: ""
  1975. Int: 0
  1976. Bool: false
  1977. Slice: []
  1978. NoArgs:
  1979. value:
  1980. noargs: ""
  1981. LearningSkillGet:
  1982. value:
  1983. Id: 1
  1984. LearningSkillAdd:
  1985. value:
  1986. name: 测试
  1987. instrumentId: [1,2]
  1988. LearningSkillUpdate:
  1989. value:
  1990. name: 测试更新
  1991. instrumentId: [3,4]
  1992. id: 1
  1993. LearningSkillDelete:
  1994. value:
  1995. id: [1]
  1996. LearningMaterialList:
  1997. value:
  1998. page:
  1999. current: 2
  2000. size: 2
  2001. orderBy:
  2002. type: desc
  2003. value: id
  2004. skillId: 2
  2005. name: "测试"
  2006. type: 1
  2007. LearningMaterialListMy:
  2008. value:
  2009. skillId: 2
  2010. type: 1
  2011. LearningMaterialGet:
  2012. value:
  2013. id: 1
  2014. LearningMaterialAdd:
  2015. value:
  2016. skillId: 2
  2017. name: 测试 1
  2018. type: 2
  2019. sortNo:
  2020. enable: 1
  2021. content: 测试
  2022. file:
  2023. -
  2024. name: "1"
  2025. url: 1.txt
  2026. size: "1"
  2027. extend: .txt
  2028. -
  2029. name: "2"
  2030. url: 2.txt
  2031. size: "2"
  2032. extend: .txt
  2033. LearningMaterialUpdate:
  2034. value:
  2035. id: 1
  2036. skillId: 4
  2037. name: 测试修改
  2038. type: 1
  2039. sortNo: 5
  2040. enable: 0
  2041. content: 测试修改
  2042. file:
  2043. -
  2044. name: "3"
  2045. url: 3.txt
  2046. size: "3"
  2047. extend: .txt
  2048. -
  2049. name: "4"
  2050. url: 4.txt
  2051. size: "4"
  2052. extend: .txt
  2053. LearningMaterialDelete:
  2054. value:
  2055. id: [1]
  2056. LearningQuestionGet:
  2057. value:
  2058. id: 1
  2059. LearningQuestionList:
  2060. value:
  2061. page:
  2062. current: 2
  2063. size: 2
  2064. orderBy:
  2065. type: desc
  2066. value: id
  2067. skillId: 2
  2068. name: "测试"
  2069. type: 1
  2070. LearningQuestionAdd:
  2071. value:
  2072. skillId: 2
  2073. name: 测试
  2074. nameImage: https://go.dev/images/gophers/pilot-bust.svg
  2075. type: 1
  2076. enable: 1
  2077. content:
  2078. -
  2079. name: A
  2080. content: 测试A
  2081. image: https://go.dev/images/gophers/pilot-bust.svg
  2082. isCorrect: true
  2083. -
  2084. name: B
  2085. content: 测试B
  2086. image: https://go.dev/images/gophers/pilot-bust.svg
  2087. isCorrect: false
  2088. explanation: 测试
  2089. explanationImage: https://go.dev/images/gophers/pilot-bust.svg
  2090. LearningQuestionUpdate:
  2091. value:
  2092. id: 1
  2093. skillId: 5
  2094. name: 测试修改
  2095. nameImage: https://go.dev/images/gophers/pilot-bust.svg
  2096. type: 2
  2097. enable: 1
  2098. content:
  2099. -
  2100. name: A
  2101. image: https://go.dev/images/gophers/pilot-bust.svg
  2102. content: 测试测试修改A
  2103. isCorrect: true
  2104. -
  2105. name: B
  2106. image: https://go.dev/images/gophers/pilot-bust.svg
  2107. content: 测试测试修改B
  2108. isCorrect: true
  2109. explanation: 测试测试修改
  2110. explanationImage: https://go.dev/images/gophers/pilot-bust.svg
  2111. LearningQuestionDelete:
  2112. value:
  2113. id: [1]
  2114. LearningExamRecordAddToMy:
  2115. value:
  2116. skillId: 2
  2117. testpaperId: 2
  2118. status: 2
  2119. detail:
  2120. -
  2121. questionId: 1
  2122. answer: [A]
  2123. LearningExamRecordListMy:
  2124. value:
  2125. skillId: 2
  2126. LearningExamRecordList:
  2127. value:
  2128. skillId: 2
  2129. LearningLearningRecordAddToMy:
  2130. value:
  2131. materialId: 2
  2132. status: 1
  2133. LearningLearningRecordListMy:
  2134. value:
  2135. materialId: 2
  2136. LearningLearningRecordList:
  2137. value:
  2138. materialId: 2
  2139. LearningTestpaperGet:
  2140. value:
  2141. id: 1
  2142. LearningTestpaperList:
  2143. value:
  2144. page:
  2145. current: 2
  2146. size: 2
  2147. orderBy:
  2148. type: desc
  2149. value: id
  2150. skillId: 2
  2151. LearningTestpaperAdd:
  2152. value:
  2153. skillId: 2
  2154. name: "试卷"
  2155. timeLimit: 5
  2156. passLimit: 2
  2157. question: [2,3]
  2158. LearningTestpaperUpdate:
  2159. value:
  2160. id: 1
  2161. skillId: 5
  2162. name: "测试试卷"
  2163. timeLimit: 10
  2164. passLimit: 1
  2165. question: [4,5,6]
  2166. enable: 1
  2167. LearningTestpaperDelete:
  2168. value:
  2169. id: [1]
  2170. LearningQuestionBatchUpload:
  2171. value:
  2172. skillId: 5
  2173. excelUrl: http://192.168.0.252:9390/9,21086966c07b68
  2174. FeedbackList:
  2175. value:
  2176. createdAtStart: "2022-04-29 11:00:00"
  2177. FeedbackGet:
  2178. value:
  2179. id: 2
  2180. FeedbackAdd:
  2181. value:
  2182. type: 1
  2183. content: 测试
  2184. mobile: "18001156784"
  2185. email: "123@123.com"
  2186. FeedbackTrans:
  2187. value:
  2188. id: 2
  2189. userId: 1
  2190. note: 测试转交
  2191. FeedbackProcess:
  2192. value:
  2193. id: 2
  2194. type: 1
  2195. note: 测试处理
  2196. FeedbackReactivate:
  2197. value:
  2198. id: 2
  2199. note: 测试重新激活
  2200. RepairList:
  2201. value:
  2202. createdAtStart: "2022-04-29 11:00:00"
  2203. RepairGet:
  2204. value:
  2205. id: 2
  2206. RepairAdd:
  2207. value:
  2208. type: 1
  2209. content: 测试
  2210. mobile: "18001156784"
  2211. email: "123@123.com"
  2212. RepairTrans:
  2213. value:
  2214. id: 2
  2215. userId: 1
  2216. note: 测试转交
  2217. RepairProcess:
  2218. value:
  2219. id: 2
  2220. type: 1
  2221. note: 测试处理
  2222. RepairReactivate:
  2223. value:
  2224. id: 2
  2225. note: 测试重新激活