5
0

swagger.yml 62 KB

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