swagger.yml 52 KB

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