6
0

swagger.yml 63 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423
  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.Export:
  944. post:
  945. tags:
  946. - 反馈
  947. operationId: FeedbackExport
  948. summary: 导出反馈
  949. requestBody:
  950. required: true
  951. content:
  952. application/json:
  953. schema:
  954. oneOf:
  955. - $ref: '#/components/schemas/FeedbackExport'
  956. examples:
  957. FeedbackExport:
  958. $ref: '#/components/examples/FeedbackExport'
  959. responses:
  960. 200:
  961. description: 请求成功
  962. content:
  963. application/json:
  964. examples:
  965. success:
  966. $ref: "#/components/examples/success"
  967. /Feedback.Processor:
  968. post:
  969. tags:
  970. - 反馈
  971. operationId: FeedbackProcessor
  972. summary: 获取具有处理反馈权限的用户
  973. requestBody:
  974. required: true
  975. content:
  976. application/json:
  977. schema:
  978. oneOf:
  979. - $ref: '#/components/schemas/NoArgs'
  980. examples:
  981. FeedbackProcessor:
  982. $ref: '#/components/examples/NoArgs'
  983. responses:
  984. 200:
  985. description: 请求成功
  986. content:
  987. application/json:
  988. examples:
  989. success:
  990. $ref: "#/components/examples/success"
  991. /Feedback.Delete:
  992. post:
  993. tags:
  994. - 反馈
  995. operationId: FeedbackDelete
  996. summary: 删除反馈
  997. requestBody:
  998. required: true
  999. content:
  1000. application/json:
  1001. schema:
  1002. oneOf:
  1003. - $ref: '#/components/schemas/IdsReq'
  1004. examples:
  1005. FeedbackDelete:
  1006. $ref: '#/components/examples/FeedbackDelete'
  1007. responses:
  1008. 200:
  1009. description: 请求成功
  1010. content:
  1011. application/json:
  1012. examples:
  1013. success:
  1014. $ref: "#/components/examples/success"
  1015. /Repair.List:
  1016. post:
  1017. tags:
  1018. - 报修
  1019. operationId: RepairList
  1020. summary: 查询报修
  1021. requestBody:
  1022. required: true
  1023. content:
  1024. application/json:
  1025. schema:
  1026. oneOf:
  1027. - $ref: '#/components/schemas/RepairList'
  1028. examples:
  1029. RepairList:
  1030. $ref: '#/components/examples/RepairList'
  1031. responses:
  1032. 200:
  1033. description: 请求成功
  1034. content:
  1035. application/json:
  1036. examples:
  1037. success:
  1038. $ref: "#/components/examples/success"
  1039. /Repair.Add:
  1040. post:
  1041. tags:
  1042. - 报修
  1043. operationId: RepairAdd
  1044. summary: 新增报修
  1045. requestBody:
  1046. required: true
  1047. content:
  1048. application/json:
  1049. schema:
  1050. oneOf:
  1051. - $ref: '#/components/schemas/RepairAdd'
  1052. examples:
  1053. RepairAdd:
  1054. $ref: '#/components/examples/RepairAdd'
  1055. responses:
  1056. 200:
  1057. description: 请求成功
  1058. content:
  1059. application/json:
  1060. examples:
  1061. success:
  1062. $ref: "#/components/examples/success"
  1063. /Repair.Get:
  1064. post:
  1065. tags:
  1066. - 报修
  1067. operationId: RepairGet
  1068. summary: 报修详情
  1069. requestBody:
  1070. required: true
  1071. content:
  1072. application/json:
  1073. schema:
  1074. oneOf:
  1075. - $ref: '#/components/schemas/IdReq'
  1076. examples:
  1077. RepairGet:
  1078. $ref: '#/components/examples/RepairGet'
  1079. responses:
  1080. 200:
  1081. description: 请求成功
  1082. content:
  1083. application/json:
  1084. examples:
  1085. success:
  1086. $ref: "#/components/examples/success"
  1087. /Repair.Trans:
  1088. post:
  1089. tags:
  1090. - 报修
  1091. operationId: RepairTrans
  1092. summary: 转交
  1093. requestBody:
  1094. required: true
  1095. content:
  1096. application/json:
  1097. schema:
  1098. oneOf:
  1099. - $ref: '#/components/schemas/RepairTrans'
  1100. examples:
  1101. RepairTrans:
  1102. $ref: '#/components/examples/RepairTrans'
  1103. responses:
  1104. 200:
  1105. description: 请求成功
  1106. content:
  1107. application/json:
  1108. examples:
  1109. success:
  1110. $ref: "#/components/examples/success"
  1111. /Repair.Process:
  1112. post:
  1113. tags:
  1114. - 报修
  1115. operationId: RepairProcess
  1116. summary: 处理
  1117. requestBody:
  1118. required: true
  1119. content:
  1120. application/json:
  1121. schema:
  1122. oneOf:
  1123. - $ref: '#/components/schemas/RepairProcess'
  1124. examples:
  1125. RepairProcess:
  1126. $ref: '#/components/examples/RepairProcess'
  1127. responses:
  1128. 200:
  1129. description: 请求成功
  1130. content:
  1131. application/json:
  1132. examples:
  1133. success:
  1134. $ref: "#/components/examples/success"
  1135. /Repair.Reactivate:
  1136. post:
  1137. tags:
  1138. - 报修
  1139. operationId: RepairReactivate
  1140. summary: 重新激活
  1141. requestBody:
  1142. required: true
  1143. content:
  1144. application/json:
  1145. schema:
  1146. oneOf:
  1147. - $ref: '#/components/schemas/RepairReactivate'
  1148. examples:
  1149. RepairReactivate:
  1150. $ref: '#/components/examples/RepairReactivate'
  1151. responses:
  1152. 200:
  1153. description: 请求成功
  1154. content:
  1155. application/json:
  1156. examples:
  1157. success:
  1158. $ref: "#/components/examples/success"
  1159. /Repair.Export:
  1160. post:
  1161. tags:
  1162. - 报修
  1163. operationId: RepairExport
  1164. summary: 导出报修
  1165. requestBody:
  1166. required: true
  1167. content:
  1168. application/json:
  1169. schema:
  1170. oneOf:
  1171. - $ref: '#/components/schemas/RepairExport'
  1172. examples:
  1173. RepairExport:
  1174. $ref: '#/components/examples/RepairExport'
  1175. responses:
  1176. 200:
  1177. description: 请求成功
  1178. content:
  1179. application/json:
  1180. examples:
  1181. success:
  1182. $ref: "#/components/examples/success"
  1183. /Repair.Processor:
  1184. post:
  1185. tags:
  1186. - 报修
  1187. operationId: RepairProcessor
  1188. summary: 获取具有处理报修权限的用户
  1189. requestBody:
  1190. required: true
  1191. content:
  1192. application/json:
  1193. schema:
  1194. oneOf:
  1195. - $ref: '#/components/schemas/NoArgs'
  1196. examples:
  1197. RepairProcessor:
  1198. $ref: '#/components/examples/NoArgs'
  1199. responses:
  1200. 200:
  1201. description: 请求成功
  1202. content:
  1203. application/json:
  1204. examples:
  1205. success:
  1206. $ref: "#/components/examples/success"
  1207. /Repair.Delete:
  1208. post:
  1209. tags:
  1210. - 报修
  1211. operationId: RepairDelete
  1212. summary: 删除报修
  1213. requestBody:
  1214. required: true
  1215. content:
  1216. application/json:
  1217. schema:
  1218. oneOf:
  1219. - $ref: '#/components/schemas/IdsReq'
  1220. examples:
  1221. RepairDelete:
  1222. $ref: '#/components/examples/RepairDelete'
  1223. responses:
  1224. 200:
  1225. description: 请求成功
  1226. content:
  1227. application/json:
  1228. examples:
  1229. success:
  1230. $ref: "#/components/examples/success"
  1231. # 添加这个 swagger ui 会显示授权按钮
  1232. security:
  1233. - bearerAuth: []
  1234. components:
  1235. securitySchemes:
  1236. basicAuth:
  1237. type: http
  1238. scheme: basic
  1239. bearerAuth:
  1240. type: http
  1241. scheme: bearer
  1242. schemas:
  1243. Nullable:
  1244. type: object
  1245. required:
  1246. - Str
  1247. - Int
  1248. - Bool
  1249. - Slice
  1250. properties:
  1251. Str:
  1252. type: string
  1253. description: 字符串参数
  1254. Int:
  1255. type: integer
  1256. description: Int 参数
  1257. Bool:
  1258. type: boolean
  1259. description: Bool 参数
  1260. Slice:
  1261. type: array
  1262. description: Slice 参数
  1263. items:
  1264. type: integer
  1265. NoArgs:
  1266. type: object
  1267. properties:
  1268. noargs:
  1269. type: string
  1270. description: 无参数,但是 body 中必须传输一个 json 空对象 "{}"
  1271. LearningSkillGet:
  1272. properties:
  1273. id:
  1274. type: string
  1275. description: 技能 id
  1276. name:
  1277. type: string
  1278. description: 技能名称
  1279. LearningSkillAdd:
  1280. properties:
  1281. instrumentId:
  1282. type: string
  1283. description: 技能关联的设备 id
  1284. name:
  1285. type: string
  1286. description: 技能名称
  1287. LearningSkillUpdate:
  1288. required:
  1289. - id
  1290. properties:
  1291. id:
  1292. type: string
  1293. description: 技能 id
  1294. instrumentId:
  1295. type: string
  1296. description: 技能关联的设备 id
  1297. name:
  1298. type: string
  1299. description: 技能名称
  1300. IdReq:
  1301. type: object
  1302. required:
  1303. - id
  1304. properties:
  1305. id:
  1306. type: integer
  1307. description: ID
  1308. IdsReq:
  1309. type: object
  1310. required:
  1311. - id
  1312. properties:
  1313. id:
  1314. type: array
  1315. description: ID
  1316. items:
  1317. type: integer
  1318. LearningMaterialList:
  1319. type: object
  1320. properties:
  1321. page:
  1322. type: object
  1323. description: 分页信息,不传默认不分页,返回所有数据
  1324. properties:
  1325. current:
  1326. type: integer
  1327. description: 当前页面
  1328. size:
  1329. type: integer
  1330. description: 每页条数
  1331. orderBy:
  1332. type: object
  1333. description: 排序
  1334. properties:
  1335. type:
  1336. type: string
  1337. description: 排序方式
  1338. enum:
  1339. - asc
  1340. - desc
  1341. value:
  1342. type: string
  1343. description: 字段名
  1344. skillId:
  1345. type: integer
  1346. description: 按技能 Id 查询
  1347. name:
  1348. type: string
  1349. description: 按资料名称模糊查询
  1350. type:
  1351. type: integer
  1352. description: 资料类型 1 资料 2 视频
  1353. LearningMaterialListMy:
  1354. type: object
  1355. required:
  1356. - skillId
  1357. properties:
  1358. skillId:
  1359. type: integer
  1360. description: 按技能 Id 查询
  1361. type:
  1362. type: integer
  1363. description: 资料类型 1 资料 2 视频
  1364. LearningMaterialPublishRecordList:
  1365. page:
  1366. type: object
  1367. description: 分页信息,不传默认不分页,返回所有数据
  1368. properties:
  1369. current:
  1370. type: integer
  1371. description: 当前页面
  1372. size:
  1373. type: integer
  1374. description: 每页条数
  1375. LearningMaterialGet:
  1376. type: object
  1377. properties:
  1378. id:
  1379. type: string
  1380. description: 资料 id
  1381. name:
  1382. type: string
  1383. description: 资料名称
  1384. LearningMaterialAdd:
  1385. type: object
  1386. required:
  1387. - skillId
  1388. - name
  1389. - type
  1390. - enable
  1391. - content
  1392. properties:
  1393. skillId:
  1394. type: integer
  1395. description: 技能 Id
  1396. name:
  1397. type: string
  1398. description: 资料名称
  1399. type:
  1400. type: integer
  1401. description: 资料类型 1 资料 2 视频
  1402. sortNo:
  1403. type: integer
  1404. description: 排序
  1405. enable:
  1406. type: integer
  1407. description: 是否启用 0 未启用 1 启用
  1408. content:
  1409. type: string
  1410. description: 资料内容
  1411. file:
  1412. type: array
  1413. description: 附件
  1414. items:
  1415. type: object
  1416. properties:
  1417. name:
  1418. type: string
  1419. description: 文件名
  1420. url:
  1421. type: string
  1422. description: 文件地址
  1423. size:
  1424. type: string
  1425. description: 文件大小
  1426. extend:
  1427. type: string
  1428. description: 文件扩展名
  1429. LearningMaterialUpdate:
  1430. type: object
  1431. required:
  1432. - id
  1433. properties:
  1434. id:
  1435. type: integer
  1436. description: 资料 id
  1437. skillId:
  1438. type: integer
  1439. description: 技能 Id
  1440. name:
  1441. type: string
  1442. description: 资料名称
  1443. type:
  1444. type: integer
  1445. description: 资料类型 1 资料 2 视频
  1446. sortNo:
  1447. type: integer
  1448. description: 排序
  1449. enable:
  1450. type: integer
  1451. description: 是否启用 0 未启用 1 启用
  1452. content:
  1453. type: string
  1454. description: 资料内容
  1455. file:
  1456. type: array
  1457. description: 附件
  1458. items:
  1459. type: object
  1460. properties:
  1461. name:
  1462. type: string
  1463. description: 文件名
  1464. url:
  1465. type: string
  1466. description: 文件地址
  1467. size:
  1468. type: string
  1469. description: 文件大小
  1470. extend:
  1471. type: string
  1472. description: 文件扩展名
  1473. LearningQuestionList:
  1474. type: object
  1475. properties:
  1476. page:
  1477. type: object
  1478. description: 分页信息,不传默认不分页,返回所有数据
  1479. properties:
  1480. current:
  1481. type: integer
  1482. description: 当前页面
  1483. size:
  1484. type: integer
  1485. description: 每页条数
  1486. orderBy:
  1487. type: object
  1488. description: 排序
  1489. properties:
  1490. type:
  1491. type: string
  1492. description: 排序方式
  1493. enum:
  1494. - asc
  1495. - desc
  1496. value:
  1497. type: string
  1498. description: 字段名
  1499. skillId:
  1500. type: integer
  1501. description: 按技能 Id 查询
  1502. name:
  1503. type: string
  1504. description: 按题目名称模糊查询
  1505. type:
  1506. type: integer
  1507. description: 题型 1 单选 2 多选 3 判断
  1508. LearningQuestionAdd:
  1509. type: object
  1510. required:
  1511. - skillId
  1512. - type
  1513. - content
  1514. properties:
  1515. skillId:
  1516. type: integer
  1517. description: 技能 Id
  1518. name:
  1519. type: string
  1520. description: 题目
  1521. nameImage:
  1522. type: string
  1523. description: 题目图片
  1524. type:
  1525. type: integer
  1526. description: 题型 1 单选 2 多选 3 判断
  1527. enable:
  1528. type: integer
  1529. description: 是否启用 0 未启用 1 启用
  1530. content:
  1531. type: array
  1532. description: 选项
  1533. items:
  1534. type: object
  1535. properties:
  1536. name:
  1537. type: string
  1538. description: 选项
  1539. content:
  1540. type: string
  1541. description: 内容
  1542. isCorrect:
  1543. type: boolean
  1544. description: 是否是答案
  1545. explanation:
  1546. type: string
  1547. description: 题目解析
  1548. explanationImage:
  1549. type: string
  1550. description: 题目解析图片
  1551. LearningQuestionUpdate:
  1552. type: object
  1553. required:
  1554. - id
  1555. properties:
  1556. id:
  1557. type: integer
  1558. description: 题目 id
  1559. skillId:
  1560. type: integer
  1561. description: 技能 Id
  1562. name:
  1563. type: string
  1564. description: 题目
  1565. nameImage:
  1566. type: string
  1567. description: 题目图片
  1568. type:
  1569. type: integer
  1570. description: 题型 1 单选 2 多选 3 判断
  1571. enable:
  1572. type: integer
  1573. description: 是否启用 0 未启用 1 启用
  1574. content:
  1575. type: array
  1576. description: 选项
  1577. items:
  1578. type: object
  1579. properties:
  1580. name:
  1581. type: string
  1582. description: 选项
  1583. content:
  1584. type: string
  1585. description: 内容
  1586. isCorrect:
  1587. type: boolean
  1588. description: 是否是答案
  1589. explanation:
  1590. type: string
  1591. description: 题目解析
  1592. explanationImage:
  1593. type: string
  1594. description: 题目解析图片
  1595. LearningQuestionBatchUpload:
  1596. type: object
  1597. required:
  1598. - skillId
  1599. - excelUrl
  1600. properties:
  1601. skillId:
  1602. type: integer
  1603. description: 技能 Id
  1604. excelUrl:
  1605. type: string
  1606. description: excel 地址
  1607. LearningExamRecordAddToMy:
  1608. type: object
  1609. required:
  1610. - skillId
  1611. - testpaperId
  1612. - status
  1613. - detail
  1614. properties:
  1615. skillId:
  1616. type: integer
  1617. description: 技能 Id
  1618. testpaperId:
  1619. type: integer
  1620. description: 试卷 Id
  1621. status:
  1622. type: integer
  1623. description: 状态 1 通过 2 未通过
  1624. detail:
  1625. type: array
  1626. description: 答题详情
  1627. items:
  1628. type: object
  1629. properties:
  1630. questionId:
  1631. type: integer
  1632. description: 问题 Id
  1633. answer:
  1634. type: array
  1635. description: 答案
  1636. items:
  1637. type: string
  1638. LearningExamRecordListMy:
  1639. type: object
  1640. properties:
  1641. page:
  1642. type: object
  1643. description: 分页信息,不传默认不分页,返回所有数据
  1644. properties:
  1645. current:
  1646. type: integer
  1647. description: 当前页面
  1648. size:
  1649. type: integer
  1650. description: 每页条数
  1651. orderBy:
  1652. type: object
  1653. description: 排序
  1654. properties:
  1655. type:
  1656. type: string
  1657. description: 排序方式
  1658. enum:
  1659. - asc
  1660. - desc
  1661. value:
  1662. type: string
  1663. description: 字段名
  1664. skillId:
  1665. type: integer
  1666. description: 技能 Id
  1667. testpaperId:
  1668. type: integer
  1669. description: 试卷 Id
  1670. status:
  1671. type: integer
  1672. description: 状态 1 通过 2 未通过
  1673. LearningExamRecordList:
  1674. type: object
  1675. properties:
  1676. page:
  1677. type: object
  1678. description: 分页信息,不传默认不分页,返回所有数据
  1679. properties:
  1680. current:
  1681. type: integer
  1682. description: 当前页面
  1683. size:
  1684. type: integer
  1685. description: 每页条数
  1686. orderBy:
  1687. type: object
  1688. description: 排序
  1689. properties:
  1690. type:
  1691. type: string
  1692. description: 排序方式
  1693. enum:
  1694. - asc
  1695. - desc
  1696. value:
  1697. type: string
  1698. description: 字段名
  1699. skillId:
  1700. type: integer
  1701. description: 技能 Id
  1702. testpaperId:
  1703. type: integer
  1704. description: 试卷 Id
  1705. status:
  1706. type: integer
  1707. description: 状态 1 通过 2 未通过
  1708. userId:
  1709. type: integer
  1710. description: 用户 Id
  1711. LearningLearningRecordAddToMy:
  1712. type: object
  1713. required:
  1714. - materialId
  1715. - status
  1716. properties:
  1717. materialId:
  1718. type: integer
  1719. description: 资料 Id
  1720. status:
  1721. type: integer
  1722. description: 状态 1 已学习
  1723. LearningLearningRecordListMy:
  1724. type: object
  1725. properties:
  1726. page:
  1727. type: object
  1728. description: 分页信息,不传默认不分页,返回所有数据
  1729. properties:
  1730. current:
  1731. type: integer
  1732. description: 当前页面
  1733. size:
  1734. type: integer
  1735. description: 每页条数
  1736. orderBy:
  1737. type: object
  1738. description: 排序
  1739. properties:
  1740. type:
  1741. type: string
  1742. description: 排序方式
  1743. enum:
  1744. - asc
  1745. - desc
  1746. value:
  1747. type: string
  1748. description: 字段名
  1749. materialId:
  1750. type: integer
  1751. description: 资料 Id
  1752. materialType:
  1753. type: integer
  1754. description: 资料类型 1 资料 2 视频
  1755. status:
  1756. type: integer
  1757. description: 状态 1 已学习
  1758. LearningLearningRecordList:
  1759. type: object
  1760. properties:
  1761. page:
  1762. type: object
  1763. description: 分页信息,不传默认不分页,返回所有数据
  1764. properties:
  1765. current:
  1766. type: integer
  1767. description: 当前页面
  1768. size:
  1769. type: integer
  1770. description: 每页条数
  1771. orderBy:
  1772. type: object
  1773. description: 排序
  1774. properties:
  1775. type:
  1776. type: string
  1777. description: 排序方式
  1778. enum:
  1779. - asc
  1780. - desc
  1781. value:
  1782. type: string
  1783. description: 字段名
  1784. materialId:
  1785. type: integer
  1786. description: 资料 Id
  1787. status:
  1788. type: integer
  1789. description: 状态 1 已学习
  1790. userId:
  1791. type: integer
  1792. description: 用户 Id
  1793. materialType:
  1794. type: integer
  1795. description: 资料类型 1 资料 2 视频
  1796. LearningTestpaperList:
  1797. type: object
  1798. properties:
  1799. page:
  1800. type: object
  1801. description: 分页信息,不传默认不分页,返回所有数据
  1802. properties:
  1803. current:
  1804. type: integer
  1805. description: 当前页面
  1806. size:
  1807. type: integer
  1808. description: 每页条数
  1809. orderBy:
  1810. type: object
  1811. description: 排序
  1812. properties:
  1813. type:
  1814. type: string
  1815. description: 排序方式
  1816. enum:
  1817. - asc
  1818. - desc
  1819. value:
  1820. type: string
  1821. description: 字段名
  1822. skillId:
  1823. type: integer
  1824. description: 技能 Id
  1825. enable:
  1826. type: integer
  1827. description: 是否启用 0 未启用 1 启用
  1828. LearningTestpaperAdd:
  1829. type: object
  1830. required:
  1831. - skillId
  1832. - name
  1833. - timeLimit
  1834. - passLimit
  1835. - question
  1836. properties:
  1837. skillId:
  1838. type: integer
  1839. description: 技能 Id
  1840. name:
  1841. type: string
  1842. description: 试卷名称
  1843. timeLimit:
  1844. type: string
  1845. description: 答题时间/分钟
  1846. passLimit:
  1847. type: string
  1848. description: 合格标准/题数
  1849. question:
  1850. type: string
  1851. description: 关联问题 Id 列表
  1852. LearningTestpaperUpdate:
  1853. type: object
  1854. required:
  1855. - id
  1856. properties:
  1857. id:
  1858. type: integer
  1859. description: 试卷 id
  1860. skillId:
  1861. type: integer
  1862. description: 技能 Id
  1863. name:
  1864. type: string
  1865. description: 试卷名称
  1866. timeLimit:
  1867. type: string
  1868. description: 答题时间/分钟
  1869. passLimit:
  1870. type: string
  1871. description: 合格标准/题数
  1872. question:
  1873. type: string
  1874. description: 关联问题 Id 列表
  1875. enable:
  1876. type: integer
  1877. description: 是否启用 0 未启用 1 启用
  1878. FeedbackList:
  1879. type: object
  1880. properties:
  1881. page:
  1882. type: object
  1883. description: 分页信息,不传默认不分页,返回所有数据
  1884. properties:
  1885. current:
  1886. type: integer
  1887. description: 当前页面
  1888. size:
  1889. type: integer
  1890. description: 每页条数
  1891. type:
  1892. type: string
  1893. description: 反馈类型
  1894. status:
  1895. type: integer
  1896. description: 反馈状态 1 未处理 2 已处理
  1897. createdByName:
  1898. type: string
  1899. description: 创建者用户名
  1900. createdAtStart:
  1901. type: string
  1902. description: 创建时间
  1903. createdAtEnd:
  1904. type: string
  1905. description: 创建时间
  1906. FeedbackAdd:
  1907. type: object
  1908. required:
  1909. - type
  1910. - content
  1911. - mobile
  1912. - email
  1913. properties:
  1914. type:
  1915. type: string
  1916. description: 反馈类型
  1917. content:
  1918. type: string
  1919. description: 反馈内容
  1920. mobile:
  1921. type: string
  1922. description: 联系方式
  1923. email:
  1924. type: string
  1925. description: 邮箱
  1926. FeedbackTrans:
  1927. type: object
  1928. required:
  1929. - id
  1930. - userId
  1931. - note
  1932. properties:
  1933. id:
  1934. type: integer
  1935. description: 反馈 id
  1936. userId:
  1937. type: integer
  1938. description: 转交对象
  1939. note:
  1940. type: string
  1941. description: 描述
  1942. FeedbackProcess:
  1943. type: object
  1944. required:
  1945. - id
  1946. - type
  1947. - note
  1948. properties:
  1949. id:
  1950. type: string
  1951. description: 反馈 id
  1952. type:
  1953. type: integer
  1954. description: 处理方式
  1955. note:
  1956. type: string
  1957. description: 描述
  1958. FeedbackReactivate:
  1959. type: object
  1960. required:
  1961. - id
  1962. - note
  1963. properties:
  1964. id:
  1965. type: integer
  1966. description: 反馈 id
  1967. note:
  1968. type: string
  1969. description: 描述
  1970. FeedbackExport:
  1971. type: object
  1972. properties:
  1973. type:
  1974. type: string
  1975. description: 反馈类型
  1976. status:
  1977. type: integer
  1978. description: 反馈状态 1 未处理 2 已处理
  1979. createdByName:
  1980. type: string
  1981. description: 创建者用户名
  1982. createdAtStart:
  1983. type: string
  1984. description: 创建时间
  1985. createdAtEnd:
  1986. type: string
  1987. description: 创建时间
  1988. RepairList:
  1989. type: object
  1990. properties:
  1991. page:
  1992. type: object
  1993. description: 分页信息,不传默认不分页,返回所有数据
  1994. properties:
  1995. current:
  1996. type: integer
  1997. description: 当前页面
  1998. size:
  1999. type: integer
  2000. description: 每页条数
  2001. type:
  2002. type: string
  2003. description: 报修类型
  2004. status:
  2005. type: integer
  2006. description: 处理状态 1 未处理 2 已处理
  2007. createdByName:
  2008. type: string
  2009. description: 创建者用户名
  2010. createdAtStart:
  2011. type: string
  2012. description: 创建时间
  2013. createdAtEnd:
  2014. type: string
  2015. description: 创建时间
  2016. RepairAdd:
  2017. type: object
  2018. required:
  2019. - type
  2020. - content
  2021. - mobile
  2022. - email
  2023. properties:
  2024. type:
  2025. type: string
  2026. description: 报修类型
  2027. content:
  2028. type: string
  2029. description: 报修内容
  2030. mobile:
  2031. type: string
  2032. description: 联系方式
  2033. email:
  2034. type: string
  2035. description: 邮箱
  2036. RepairTrans:
  2037. type: object
  2038. required:
  2039. - id
  2040. - userId
  2041. - note
  2042. properties:
  2043. id:
  2044. type: integer
  2045. description: 报修 id
  2046. userId:
  2047. type: integer
  2048. description: 转交对象
  2049. note:
  2050. type: string
  2051. description: 描述
  2052. RepairProcess:
  2053. type: object
  2054. required:
  2055. - id
  2056. - type
  2057. - note
  2058. properties:
  2059. id:
  2060. type: integer
  2061. description: 报修 id
  2062. type:
  2063. type: string
  2064. description: 处理方式
  2065. note:
  2066. type: string
  2067. description: 描述
  2068. RepairReactivate:
  2069. type: object
  2070. required:
  2071. - id
  2072. - note
  2073. properties:
  2074. id:
  2075. type: integer
  2076. description: 报修 id
  2077. note:
  2078. type: string
  2079. description: 描述
  2080. RepairExport:
  2081. type: object
  2082. properties:
  2083. type:
  2084. type: string
  2085. description: 报修类型
  2086. status:
  2087. type: integer
  2088. description: 处理状态 1 未处理 2 已处理
  2089. createdByName:
  2090. type: string
  2091. description: 创建者用户名
  2092. createdAtStart:
  2093. type: string
  2094. description: 创建时间
  2095. createdAtEnd:
  2096. type: string
  2097. description: 创建时间
  2098. examples:
  2099. success:
  2100. summary: 请求成功
  2101. value:
  2102. code: 200,
  2103. msg: "success"
  2104. NullableReqAllPass:
  2105. value:
  2106. Str: ""
  2107. Int: 0
  2108. Bool: false
  2109. Slice: []
  2110. NoArgs:
  2111. value:
  2112. noargs: ""
  2113. LearningSkillGet:
  2114. value:
  2115. Id: 1
  2116. LearningSkillAdd:
  2117. value:
  2118. name: 测试
  2119. instrumentId: [1,2]
  2120. LearningSkillUpdate:
  2121. value:
  2122. name: 测试更新
  2123. instrumentId: [3,4]
  2124. id: 1
  2125. LearningSkillDelete:
  2126. value:
  2127. id: [1]
  2128. LearningMaterialList:
  2129. value:
  2130. page:
  2131. current: 2
  2132. size: 2
  2133. orderBy:
  2134. type: desc
  2135. value: id
  2136. skillId: 2
  2137. name: "测试"
  2138. type: 1
  2139. LearningMaterialListMy:
  2140. value:
  2141. skillId: 2
  2142. type: 1
  2143. LearningMaterialGet:
  2144. value:
  2145. id: 1
  2146. LearningMaterialAdd:
  2147. value:
  2148. skillId: 2
  2149. name: 测试 1
  2150. type: 2
  2151. sortNo:
  2152. enable: 1
  2153. content: 测试
  2154. file:
  2155. -
  2156. name: "1"
  2157. url: 1.txt
  2158. size: "1"
  2159. extend: .txt
  2160. -
  2161. name: "2"
  2162. url: 2.txt
  2163. size: "2"
  2164. extend: .txt
  2165. LearningMaterialUpdate:
  2166. value:
  2167. id: 1
  2168. skillId: 4
  2169. name: 测试修改
  2170. type: 1
  2171. sortNo: 5
  2172. enable: 0
  2173. content: 测试修改
  2174. file:
  2175. -
  2176. name: "3"
  2177. url: 3.txt
  2178. size: "3"
  2179. extend: .txt
  2180. -
  2181. name: "4"
  2182. url: 4.txt
  2183. size: "4"
  2184. extend: .txt
  2185. LearningMaterialDelete:
  2186. value:
  2187. id: [1]
  2188. LearningQuestionGet:
  2189. value:
  2190. id: 1
  2191. LearningQuestionList:
  2192. value:
  2193. page:
  2194. current: 2
  2195. size: 2
  2196. orderBy:
  2197. type: desc
  2198. value: id
  2199. skillId: 2
  2200. name: "测试"
  2201. type: 1
  2202. LearningQuestionAdd:
  2203. value:
  2204. skillId: 2
  2205. name: 测试
  2206. nameImage: https://go.dev/images/gophers/pilot-bust.svg
  2207. type: 1
  2208. enable: 1
  2209. content:
  2210. -
  2211. name: A
  2212. content: 测试A
  2213. image: https://go.dev/images/gophers/pilot-bust.svg
  2214. isCorrect: true
  2215. -
  2216. name: B
  2217. content: 测试B
  2218. image: https://go.dev/images/gophers/pilot-bust.svg
  2219. isCorrect: false
  2220. explanation: 测试
  2221. explanationImage: https://go.dev/images/gophers/pilot-bust.svg
  2222. LearningQuestionUpdate:
  2223. value:
  2224. id: 1
  2225. skillId: 5
  2226. name: 测试修改
  2227. nameImage: https://go.dev/images/gophers/pilot-bust.svg
  2228. type: 2
  2229. enable: 1
  2230. content:
  2231. -
  2232. name: A
  2233. image: https://go.dev/images/gophers/pilot-bust.svg
  2234. content: 测试测试修改A
  2235. isCorrect: true
  2236. -
  2237. name: B
  2238. image: https://go.dev/images/gophers/pilot-bust.svg
  2239. content: 测试测试修改B
  2240. isCorrect: true
  2241. explanation: 测试测试修改
  2242. explanationImage: https://go.dev/images/gophers/pilot-bust.svg
  2243. LearningQuestionDelete:
  2244. value:
  2245. id: [1]
  2246. LearningExamRecordAddToMy:
  2247. value:
  2248. skillId: 2
  2249. testpaperId: 2
  2250. status: 2
  2251. detail:
  2252. -
  2253. questionId: 1
  2254. answer: [A]
  2255. LearningExamRecordListMy:
  2256. value:
  2257. skillId: 2
  2258. LearningExamRecordList:
  2259. value:
  2260. skillId: 2
  2261. LearningLearningRecordAddToMy:
  2262. value:
  2263. materialId: 2
  2264. status: 1
  2265. LearningLearningRecordListMy:
  2266. value:
  2267. materialId: 2
  2268. LearningLearningRecordList:
  2269. value:
  2270. materialId: 2
  2271. LearningTestpaperGet:
  2272. value:
  2273. id: 1
  2274. LearningTestpaperList:
  2275. value:
  2276. page:
  2277. current: 2
  2278. size: 2
  2279. orderBy:
  2280. type: desc
  2281. value: id
  2282. skillId: 2
  2283. LearningTestpaperAdd:
  2284. value:
  2285. skillId: 2
  2286. name: "试卷"
  2287. timeLimit: 5
  2288. passLimit: 2
  2289. question: [2,3]
  2290. LearningTestpaperUpdate:
  2291. value:
  2292. id: 1
  2293. skillId: 5
  2294. name: "测试试卷"
  2295. timeLimit: 10
  2296. passLimit: 1
  2297. question: [4,5,6]
  2298. enable: 1
  2299. LearningTestpaperDelete:
  2300. value:
  2301. id: [1]
  2302. LearningQuestionBatchUpload:
  2303. value:
  2304. skillId: 5
  2305. excelUrl: http://192.168.0.252:9390/9,21086966c07b68
  2306. FeedbackList:
  2307. value:
  2308. createdAtStart: "2022-04-29 11:00:00"
  2309. FeedbackGet:
  2310. value:
  2311. id: 2
  2312. FeedbackAdd:
  2313. value:
  2314. type: "1"
  2315. content: 测试
  2316. mobile: "18001156784"
  2317. email: "123@123.com"
  2318. FeedbackTrans:
  2319. value:
  2320. id: 2
  2321. userId: 1
  2322. note: 测试转交
  2323. FeedbackProcess:
  2324. value:
  2325. id: 2
  2326. type: "1"
  2327. note: 测试处理
  2328. FeedbackReactivate:
  2329. value:
  2330. id: 2
  2331. note: 测试重新激活
  2332. FeedbackExport:
  2333. value:
  2334. createdAtStart: "2022-04-29 11:00:00"
  2335. RepairList:
  2336. value:
  2337. createdAtStart: "2022-04-29 11:00:00"
  2338. RepairGet:
  2339. value:
  2340. id: 2
  2341. RepairAdd:
  2342. value:
  2343. type: "1"
  2344. content: 测试
  2345. mobile: "18001156784"
  2346. email: "123@123.com"
  2347. RepairTrans:
  2348. value:
  2349. id: 2
  2350. userId: 1
  2351. note: 测试转交
  2352. RepairProcess:
  2353. value:
  2354. id: 2
  2355. type: 1
  2356. note: 测试处理
  2357. RepairReactivate:
  2358. value:
  2359. id: 2
  2360. note: 测试重新激活
  2361. RepairExport:
  2362. value:
  2363. createdAtStart: "2022-04-29 11:00:00"
  2364. FeedbackDelete:
  2365. value:
  2366. id: [1]
  2367. RepairDelete:
  2368. value:
  2369. id: [1]