ProductPhysicsTpl.php 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Administrator
  5. * Date: 2021/4/1 0001
  6. * Time: 13:56
  7. */
  8. class ProductPhysicsTpl
  9. {
  10. //物理错题本(班级)
  11. const PHYSICS_CLASS_WB ='{
  12. "studentLevelDivide": {
  13. "studentLevel": 4,
  14. "rankBase": "score",
  15. "statisticsMethods": "currentAchieve",
  16. "isPushSameTrain" : false,
  17. "levelDetails": [
  18. {
  19. "level": "A",
  20. "valueStart": {
  21. "score":91,
  22. "grade":1
  23. },
  24. "valueEnd": {
  25. "score":100,
  26. "grade":10
  27. },
  28. "isPushTrain": true,
  29. "errorPushDetail": {
  30. "smallTopic":["pushLose"],
  31. "largeTopic":["pushLose"],
  32. "difficulty": [3]
  33. }
  34. },
  35. {
  36. "valueStart": {
  37. "score":81,
  38. "grade":11
  39. },
  40. "valueEnd": {
  41. "score":90,
  42. "grade":20
  43. },
  44. "level": "B",
  45. "isPushTrain": false,
  46. "errorPushDetail": {
  47. "smallTopic":["pushLose"],
  48. "largeTopic":["pushThree"],
  49. "difficulty": [2,3]
  50. }
  51. },
  52. {
  53. "valueStart": {
  54. "score":61,
  55. "grade":21
  56. },
  57. "valueEnd": {
  58. "score":80,
  59. "grade":40
  60. },
  61. "level": "C",
  62. "isPushTrain": false,
  63. "errorPushDetail": {
  64. "smallTopic":["pushLose"],
  65. "largeTopic":["pushThree"],
  66. "difficulty": [2]
  67. }
  68. },
  69. {
  70. "valueStart": {
  71. "score":0,
  72. "grade":41
  73. },
  74. "valueEnd": {
  75. "score":60,
  76. "grade":60
  77. },
  78. "level": "D",
  79. "isPushTrain": false,
  80. "errorPushDetail": {
  81. "smallTopic":["pushLose"],
  82. "largeTopic":["pushHalf"],
  83. "difficulty": [1]
  84. }
  85. }
  86. ]
  87. },
  88. "errorTypeSetting": {
  89. "hasScoreDetail": true,
  90. "comprehensiveScore":true,
  91. "growthLine":true,
  92. "knowledgeChange":true,
  93. "hasErrorAnalyse":true,
  94. "selfRevision":true,
  95. "myAnswer":true,
  96. "classmateOptimization": true,
  97. "answerAnalysis": true
  98. }
  99. }';
  100. //物理错题本(学生)
  101. const PHYSICS_STU_WB ='{
  102. "studentLevelDivide": {
  103. "levelDetails": [
  104. {
  105. "isPushTrain": false,
  106. "errorPushDetail": {
  107. "smallTopic":["pushLose"],
  108. "largeTopic":["pushThree"],
  109. "difficulty": [2]
  110. }
  111. }
  112. ]
  113. },
  114. "errorTypeSetting": {
  115. "hasScoreDetail": true,
  116. "comprehensiveScore":true,
  117. "growthLine":true,
  118. "knowledgeChange":true,
  119. "hasErrorAnalyse":true,
  120. "selfRevision":true,
  121. "myAnswer":true,
  122. "classmateOptimization": true,
  123. "answerAnalysis": true
  124. }
  125. }';
  126. //物理二步个性化学习宝(班级)
  127. const PHYSICS_CLASS_ISP ='{
  128. "studentLevelDivide": {
  129. "studentLevel": 4,
  130. "rankBase": "score",
  131. "statisticsMethods": "currentAchieve",
  132. "isPushSameTrain" : false,
  133. "pushTopicType": false,
  134. "levelDetails": [
  135. {
  136. "valueStart": {
  137. "score":91,
  138. "grade":1
  139. },
  140. "valueEnd": {
  141. "score":100,
  142. "grade":10
  143. },
  144. "level":"A",
  145. "isPushTrain": true,
  146. "errorPushDetail": {
  147. "smallTopic": ["pushLose"],
  148. "largeTopic": ["pushLose"],
  149. "difficulty": [3]
  150. },
  151. "trainPushDetail": {
  152. "pushNumber": {
  153. "smallTopic": 2,
  154. "largeTopic": 2
  155. },
  156. "pushDifficulty": {"select": [0,3]},
  157. "topicGroupPushTopic": {
  158. "topicGroup": 1,
  159. "pushDifficulty": {"select": [0]}
  160. }
  161. }
  162. },
  163. {
  164. "valueStart": {
  165. "score":81,
  166. "grade":11
  167. },
  168. "valueEnd": {
  169. "score":90,
  170. "grade":20
  171. },
  172. "level":"B",
  173. "isPushTrain": false,
  174. "errorPushDetail": {
  175. "smallTopic": ["pushLose"],
  176. "largeTopic": ["pushThree"],
  177. "difficulty": [2,3]
  178. },
  179. "trainPushDetail": {
  180. "pushNumber": {
  181. "smallTopic": 2,
  182. "largeTopic": 1
  183. },
  184. "pushDifficulty": {"select": [0,3]},
  185. "topicGroupPushTopic": {
  186. "topicGroup": 1,
  187. "pushDifficulty": {"select": [0]}
  188. }
  189. }
  190. },
  191. {
  192. "valueStart": {
  193. "score":61,
  194. "grade":21
  195. },
  196. "valueEnd": {
  197. "score":80,
  198. "grade":40
  199. },
  200. "level":"C",
  201. "isPushTrain": false,
  202. "errorPushDetail": {
  203. "smallTopic": ["pushLose"],
  204. "largeTopic": ["pushThree"],
  205. "difficulty": [2]
  206. },
  207. "trainPushDetail": {
  208. "pushNumber": {
  209. "smallTopic": 2,
  210. "largeTopic": 1
  211. },
  212. "pushDifficulty": {"select": [0,1]},
  213. "topicGroupPushTopic": {
  214. "topicGroup": 1,
  215. "pushDifficulty": {"select": [0]}
  216. }
  217. }
  218. },
  219. {
  220. "valueStart": {
  221. "score":0,
  222. "grade":41
  223. },
  224. "valueEnd": {
  225. "score":60,
  226. "grade":60
  227. },
  228. "level":"D",
  229. "isPushTrain": false,
  230. "errorPushDetail": {
  231. "smallTopic": ["pushLose"],
  232. "largeTopic": ["pushHalf"],
  233. "difficulty": [1]
  234. },
  235. "trainPushDetail": {
  236. "pushNumber": {
  237. "smallTopic": 1,
  238. "largeTopic": 1
  239. },
  240. "pushDifficulty": {"select": [1]},
  241. "topicGroupPushTopic": {
  242. "topicGroup": 1,
  243. "pushDifficulty": {"select": [0]}
  244. }
  245. }
  246. }
  247. ]
  248. },
  249. "errorTypeSetting": {
  250. "hasScoreDetail": true,
  251. "comprehensiveScore": true,
  252. "growthLine": true,
  253. "knowledgeChange": true,
  254. "answerAnalysis": true
  255. }
  256. }';
  257. //物理二步个性化学习宝(学生)
  258. const PHYSICS_STU_ISP ='{
  259. "studentLevelDivide": {
  260. "levelDetails": [
  261. {
  262. "isPushTrain": false,
  263. "errorPushDetail": {
  264. "smallTopic": ["pushLose"],
  265. "largeTopic": ["pushThree"],
  266. "difficulty": [2]
  267. },
  268. "trainPushDetail": {
  269. "pushNumber": {
  270. "smallTopic": 2,
  271. "largeTopic": 1
  272. },
  273. "pushDifficulty": {"select": [0,1]}
  274. }
  275. }
  276. ]
  277. },
  278. "errorTypeSetting": {
  279. "hasScoreDetail": true,
  280. "comprehensiveScore": true,
  281. "growthLine": true,
  282. "knowledgeChange": true,
  283. "answerAnalysis": true
  284. }
  285. }';
  286. //物理三步个性化学习宝(班级)
  287. const PHYSICS_CLASS_WB_ISP='{
  288. "studentLevelDivide": {
  289. "studentLevel": 4,
  290. "rankBase": "score",
  291. "statisticsMethods": "currentAchieve",
  292. "isPushSameTrain" : false,
  293. "pushTopicType": false,
  294. "levelDetails": [
  295. {
  296. "valueStart": {
  297. "score":91,
  298. "grade":1
  299. },
  300. "valueEnd": {
  301. "score":100,
  302. "grade":10
  303. },
  304. "level":"A",
  305. "versionType":1,
  306. "isPushTrain": true,
  307. "errorPushDetail": {
  308. "smallTopic": ["pushLose"],
  309. "largeTopic": ["pushLose"],
  310. "difficulty": [3]
  311. },
  312. "trainPushDetail": {
  313. "pushNumber": {
  314. "smallTopic": 2,
  315. "largeTopic": 2
  316. },
  317. "basics":{
  318. "knowledge":3,
  319. "knowledgePushTopic":2
  320. },
  321. "pushDifficulty": {"select": [0,3]},
  322. "topicGroupPushTopic": {
  323. "topicGroup": 1,
  324. "pushDifficulty": {"select": [0]}
  325. }
  326. }
  327. },
  328. {
  329. "valueStart": {
  330. "score":81,
  331. "grade":11
  332. },
  333. "valueEnd": {
  334. "score":90,
  335. "grade":20
  336. },
  337. "level":"B",
  338. "versionType":1,
  339. "isPushTrain": false,
  340. "errorPushDetail": {
  341. "smallTopic": ["pushLose"],
  342. "largeTopic": ["pushThree"],
  343. "difficulty": [2,3]
  344. },
  345. "trainPushDetail": {
  346. "pushNumber": {
  347. "smallTopic": 2,
  348. "largeTopic": 1
  349. },
  350. "basics":{
  351. "knowledge":3,
  352. "knowledgePushTopic":2
  353. },
  354. "pushDifficulty": {"select": [0,3]},
  355. "topicGroupPushTopic": {
  356. "topicGroup": 1,
  357. "pushDifficulty": {"select": [0]}
  358. }
  359. }
  360. },
  361. {
  362. "valueStart": {
  363. "score":61,
  364. "grade":21
  365. },
  366. "valueEnd": {
  367. "score":80,
  368. "grade":40
  369. },
  370. "level":"C",
  371. "versionType":1,
  372. "isPushTrain": false,
  373. "errorPushDetail": {
  374. "smallTopic": ["pushLose"],
  375. "largeTopic": ["pushThree"],
  376. "difficulty": [2]
  377. },
  378. "trainPushDetail": {
  379. "pushNumber": {
  380. "smallTopic": 2,
  381. "largeTopic": 1
  382. },
  383. "basics":{
  384. "knowledge":3,
  385. "knowledgePushTopic":2
  386. },
  387. "pushDifficulty": {"select": [0,1]},
  388. "topicGroupPushTopic": {
  389. "topicGroup": 1,
  390. "pushDifficulty": {"select": [0]}
  391. }
  392. }
  393. },
  394. {
  395. "valueStart": {
  396. "score":0,
  397. "grade":41
  398. },
  399. "valueEnd": {
  400. "score":60,
  401. "grade":60
  402. },
  403. "level":"D",
  404. "versionType":1,
  405. "isPushTrain": false,
  406. "errorPushDetail": {
  407. "smallTopic": ["pushLose"],
  408. "largeTopic": ["pushHalf"],
  409. "difficulty": [1]
  410. },
  411. "trainPushDetail": {
  412. "pushNumber": {
  413. "smallTopic": 1,
  414. "largeTopic": 1
  415. },
  416. "basics":{
  417. "knowledge":3,
  418. "knowledgePushTopic":2
  419. },
  420. "pushDifficulty": {"select": [1]},
  421. "topicGroupPushTopic": {
  422. "topicGroup": 1,
  423. "pushDifficulty": {"select": [0]}
  424. }
  425. }
  426. }
  427. ]
  428. },
  429. "errorTypeSetting": {
  430. "hasScoreDetail": true,
  431. "comprehensiveScore": true,
  432. "growthLine": true,
  433. "knowledgeChange": true,
  434. "propositionTrend": true,
  435. "strikePain": true,
  436. "physicalScenario": false,
  437. "historyCollection": false,
  438. "errorOriginQuestion": true,
  439. "hasErrorAnalyse": true,
  440. "selfRevision": true,
  441. "promotionTraining": true,
  442. "myAnswer": true,
  443. "classmateOptimization": true,
  444. "commonProblems": true,
  445. "realProblemExpress": false,
  446. "answerAnalysis": true,
  447. "titleAnswerMerge": true
  448. },
  449. "abilityTypeSetting": {
  450. "hasScoreDetail": true,
  451. "comprehensiveScore": true,
  452. "growthLine": true,
  453. "lostPointAnalysis": true,
  454. "errorOriginQuestion": true,
  455. "hasErrorAnalyse": true,
  456. "selfRevision": true,
  457. "promotionTraining": true,
  458. "myAnswer": true,
  459. "classmateOptimization": true,
  460. "informationExtractionCapability": true,
  461. "modelBuildingAbility": true,
  462. "expandInquiryAbility": true,
  463. "flexibleApplicationAbility": true,
  464. "propositionTrend": true,
  465. "throughTestOfHigh": true,
  466. "commonProblems": false,
  467. "answerAnalysis": true,
  468. "titleAnswerMerge": true
  469. },
  470. "basicTypeSetting": {
  471. "hasScoreDetail": true,
  472. "comprehensiveScore": true,
  473. "growthLine": true,
  474. "lostPointAnalysis": true,
  475. "errorOriginQuestion": true,
  476. "hasErrorAnalyse": true,
  477. "selfRevision": true,
  478. "myAnswer": true,
  479. "classmateOptimization": true,
  480. "hasKnowledgeReview": true,
  481. "hasBasicMemory": true,
  482. "hasBasicApply": true,
  483. "hasBasicConsolidate":true,
  484. "commonProblems": false,
  485. "answerAnalysis": true,
  486. "titleAnswerMerge": true
  487. }
  488. }';
  489. //物理三步个性化学习宝(学生)
  490. const PHYSICS_STU_WB_ISP='{
  491. "studentLevelDivide": {
  492. "levelDetails": [
  493. {
  494. "versionType":1,
  495. "isPushTrain": false,
  496. "errorPushDetail": {
  497. "smallTopic": ["pushLose"],
  498. "largeTopic": ["pushThree"],
  499. "difficulty": [2]
  500. },
  501. "trainPushDetail": {
  502. "pushNumber": {
  503. "smallTopic": 2,
  504. "largeTopic": 1
  505. },
  506. "basics":{
  507. "knowledge":3,
  508. "knowledgePushTopic":2
  509. },
  510. "pushDifficulty": {"select": [0,1]}
  511. }
  512. }
  513. ]
  514. },
  515. "errorTypeSetting": {
  516. "hasScoreDetail": true,
  517. "comprehensiveScore": true,
  518. "growthLine": true,
  519. "knowledgeChange": true,
  520. "propositionTrend": true,
  521. "strikePain": true,
  522. "physicalScenario": false,
  523. "historyCollection": false,
  524. "errorOriginQuestion": true,
  525. "hasErrorAnalyse": true,
  526. "selfRevision": true,
  527. "promotionTraining": true,
  528. "myAnswer": true,
  529. "classmateOptimization": true,
  530. "commonProblems": true,
  531. "realProblemExpress": false,
  532. "answerAnalysis": true
  533. },
  534. "abilityTypeSetting": {
  535. "hasScoreDetail": true,
  536. "comprehensiveScore": true,
  537. "growthLine": true,
  538. "lostPointAnalysis": true,
  539. "errorOriginQuestion": true,
  540. "hasErrorAnalyse": true,
  541. "selfRevision": true,
  542. "promotionTraining": true,
  543. "myAnswer": true,
  544. "classmateOptimization": true,
  545. "informationExtractionCapability": true,
  546. "modelBuildingAbility": true,
  547. "expandInquiryAbility": true,
  548. "flexibleApplicationAbility": true,
  549. "propositionTrend": true,
  550. "throughTestOfHigh": true,
  551. "commonProblems": false,
  552. "answerAnalysis": true
  553. },
  554. "basicTypeSetting": {
  555. "hasScoreDetail": true,
  556. "comprehensiveScore": true,
  557. "growthLine": true,
  558. "lostPointAnalysis": true,
  559. "errorOriginQuestion": true,
  560. "hasErrorAnalyse": true,
  561. "selfRevision": true,
  562. "myAnswer": true,
  563. "classmateOptimization": true,
  564. "hasKnowledgeReview": true,
  565. "hasBasicMemory": true,
  566. "hasBasicApply": true,
  567. "hasBasicConsolidate":true,
  568. "commonProblems": false,
  569. "answerAnalysis": true
  570. }
  571. }';
  572. }