正在显示
10 个修改的文件
包含
145 行增加
和
43 行删除
@@ -97,7 +97,15 @@ | @@ -97,7 +97,15 @@ | ||
97 | <div class="form-group"> | 97 | <div class="form-group"> |
98 | <label class="control-label col-xs-12 col-sm-2">{:__('Analysis_video')}:</label> | 98 | <label class="control-label col-xs-12 col-sm-2">{:__('Analysis_video')}:</label> |
99 | <div class="col-xs-12 col-sm-8"> | 99 | <div class="col-xs-12 col-sm-8"> |
100 | - <input id="c-analysis_video" class="form-control" name="row[analysis_video]" type="text" value=""> | 100 | + <div class="input-group"> |
101 | + <input id="c-analysis_video" class="form-control" size="50" name="row[analysis_video]" type="text"> | ||
102 | + <div class="input-group-addon no-border no-padding"> | ||
103 | + <span><button type="button" id="plupload-analysis_video" class="btn btn-danger plupload" data-input-id="c-analysis_video" data-mimetype="video/mp4,video/flv,video/mp3,video/wma" data-multiple="false" data-preview-id="p-analysis_video"><i class="fa fa-upload"></i> {:__('Upload')}</button></span> | ||
104 | + <span><button type="button" id="fachoose-analysis_video" class="btn btn-primary fachoose" data-input-id="c-analysis_video" data-mimetype="video/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> | ||
105 | + </div> | ||
106 | + <span class="msg-box n-right" for="c-analysis_video"></span> | ||
107 | + </div> | ||
108 | + <ul class="row list-inline plupload-preview" id="p-analysis_video"></ul> | ||
101 | </div> | 109 | </div> |
102 | </div> | 110 | </div> |
103 | <div class="form-group"> | 111 | <div class="form-group"> |
@@ -109,7 +109,15 @@ | @@ -109,7 +109,15 @@ | ||
109 | <div class="form-group"> | 109 | <div class="form-group"> |
110 | <label class="control-label col-xs-12 col-sm-2">{:__('Analysis_video')}:</label> | 110 | <label class="control-label col-xs-12 col-sm-2">{:__('Analysis_video')}:</label> |
111 | <div class="col-xs-12 col-sm-8"> | 111 | <div class="col-xs-12 col-sm-8"> |
112 | - <input id="c-analysis_video" class="form-control" name="row[analysis_video]" type="text" value="{$row.analysis_video|htmlentities}"> | 112 | + <div class="input-group"> |
113 | + <input id="c-analysis_video" class="form-control" size="50" name="row[analysis_video]" type="text" value="{$row.analysis_video|htmlentities}"> | ||
114 | + <div class="input-group-addon no-border no-padding"> | ||
115 | + <span><button type="button" id="plupload-analysis_video" class="btn btn-danger plupload" data-input-id="c-analysis_video" data-multiple="false" data-mimetype="video/mp4,video/flv,video/mp3,video/wma" data-preview-id="p-analysis_video"><i class="fa fa-upload"></i> {:__('Upload')}</button></span> | ||
116 | + <span><button type="button" id="fachoose-analysis_video" class="btn btn-primary fachoose" data-input-id="c-analysis_video" data-mimetype="video/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> | ||
117 | + </div> | ||
118 | + <span class="msg-box n-right" for="c-analysis_video"></span> | ||
119 | + </div> | ||
120 | + <ul class="row list-inline plupload-preview" id="p-analysis_video"></ul> | ||
113 | </div> | 121 | </div> |
114 | </div> | 122 | </div> |
115 | <div class="form-group"> | 123 | <div class="form-group"> |
@@ -61,6 +61,20 @@ | @@ -61,6 +61,20 @@ | ||
61 | </div> | 61 | </div> |
62 | </div> | 62 | </div> |
63 | <div class="form-group"> | 63 | <div class="form-group"> |
64 | + <label class="control-label col-xs-12 col-sm-2">错题训练广告图:</label> | ||
65 | + <div class="col-xs-12 col-sm-8"> | ||
66 | + <div class="input-group"> | ||
67 | + <input id="c-wrong_adver" class="form-control" size="35" name="row[wrong_adver]" type="text" value="{$row.wrong_adver}"> | ||
68 | + <div class="input-group-addon no-border no-padding"> | ||
69 | + <span><button type="button" id="plupload-wrong_adver" class="btn btn-danger plupload" data-input-id="c-wrong_adver" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-wrong_adver"><i class="fa fa-upload"></i> {:__('Upload')}</button></span> | ||
70 | + <span><button type="button" id="fachoose-wrong_adver" class="btn btn-primary fachoose" data-input-id="c-wrong_adver" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> | ||
71 | + </div> | ||
72 | + <span class="msg-box n-right"></span> | ||
73 | + </div> | ||
74 | + <ul class="row list-inline plupload-preview" id="p-wrong_adver"></ul> | ||
75 | + </div> | ||
76 | + </div> | ||
77 | + <div class="form-group"> | ||
64 | <label class="control-label col-xs-12 col-sm-2">通关密卷套餐说明:</label> | 78 | <label class="control-label col-xs-12 col-sm-2">通关密卷套餐说明:</label> |
65 | <div class="col-xs-12 col-sm-8"> | 79 | <div class="col-xs-12 col-sm-8"> |
66 | <textarea id="c-secret_spec_intro" class="form-control editor" rows="5" name="row[secret_spec_intro]" cols="50">{$row.secret_spec_intro|htmlentities}</textarea> | 80 | <textarea id="c-secret_spec_intro" class="form-control editor" rows="5" name="row[secret_spec_intro]" cols="50">{$row.secret_spec_intro|htmlentities}</textarea> |
@@ -97,7 +97,15 @@ | @@ -97,7 +97,15 @@ | ||
97 | <div class="form-group"> | 97 | <div class="form-group"> |
98 | <label class="control-label col-xs-12 col-sm-2">{:__('Analysis_video')}:</label> | 98 | <label class="control-label col-xs-12 col-sm-2">{:__('Analysis_video')}:</label> |
99 | <div class="col-xs-12 col-sm-8"> | 99 | <div class="col-xs-12 col-sm-8"> |
100 | - <input id="c-analysis_video" class="form-control" name="row[analysis_video]" type="text" value=""> | 100 | + <div class="input-group"> |
101 | + <input id="c-analysis_video" class="form-control" size="50" name="row[analysis_video]" type="text"> | ||
102 | + <div class="input-group-addon no-border no-padding"> | ||
103 | + <span><button type="button" id="plupload-analysis_video" class="btn btn-danger plupload" data-input-id="c-analysis_video" data-mimetype="video/mp4,video/flv,video/mp3,video/wma" data-multiple="false" data-preview-id="p-analysis_video"><i class="fa fa-upload"></i> {:__('Upload')}</button></span> | ||
104 | + <span><button type="button" id="fachoose-analysis_video" class="btn btn-primary fachoose" data-input-id="c-analysis_video" data-mimetype="video/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> | ||
105 | + </div> | ||
106 | + <span class="msg-box n-right" for="c-analysis_video"></span> | ||
107 | + </div> | ||
108 | + <ul class="row list-inline plupload-preview" id="p-analysis_video"></ul> | ||
101 | </div> | 109 | </div> |
102 | </div> | 110 | </div> |
103 | <div class="form-group"> | 111 | <div class="form-group"> |
@@ -109,7 +109,15 @@ | @@ -109,7 +109,15 @@ | ||
109 | <div class="form-group"> | 109 | <div class="form-group"> |
110 | <label class="control-label col-xs-12 col-sm-2">{:__('Analysis_video')}:</label> | 110 | <label class="control-label col-xs-12 col-sm-2">{:__('Analysis_video')}:</label> |
111 | <div class="col-xs-12 col-sm-8"> | 111 | <div class="col-xs-12 col-sm-8"> |
112 | - <input id="c-analysis_video" class="form-control" name="row[analysis_video]" type="text" value="{$row.analysis_video|htmlentities}"> | 112 | + <div class="input-group"> |
113 | + <input id="c-analysis_video" class="form-control" size="50" name="row[analysis_video]" type="text" value="{$row.analysis_video|htmlentities}"> | ||
114 | + <div class="input-group-addon no-border no-padding"> | ||
115 | + <span><button type="button" id="plupload-analysis_video" class="btn btn-danger plupload" data-input-id="c-analysis_video" data-multiple="false" data-mimetype="video/mp4,video/flv,video/mp3,video/wma" data-preview-id="p-analysis_video"><i class="fa fa-upload"></i> {:__('Upload')}</button></span> | ||
116 | + <span><button type="button" id="fachoose-analysis_video" class="btn btn-primary fachoose" data-input-id="c-analysis_video" data-mimetype="video/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span> | ||
117 | + </div> | ||
118 | + <span class="msg-box n-right" for="c-analysis_video"></span> | ||
119 | + </div> | ||
120 | + <ul class="row list-inline plupload-preview" id="p-analysis_video"></ul> | ||
113 | </div> | 121 | </div> |
114 | </div> | 122 | </div> |
115 | <div class="form-group"> | 123 | <div class="form-group"> |
@@ -6,7 +6,9 @@ use think\Db; | @@ -6,7 +6,9 @@ use think\Db; | ||
6 | use app\common\controller\Api; | 6 | use app\common\controller\Api; |
7 | use app\mobile\model\Question; | 7 | use app\mobile\model\Question; |
8 | use app\mobile\model\Simulation; | 8 | use app\mobile\model\Simulation; |
9 | +use app\mobile\model\Old; | ||
9 | use app\mobile\model\Everyday; | 10 | use app\mobile\model\Everyday; |
11 | +use app\mobile\model\Secret; | ||
10 | use app\mobile\model\QuestionAnswer; | 12 | use app\mobile\model\QuestionAnswer; |
11 | use app\mobile\model\QuestionNote; | 13 | use app\mobile\model\QuestionNote; |
12 | use app\mobile\model\QuestionWrong; | 14 | use app\mobile\model\QuestionWrong; |
@@ -211,16 +213,13 @@ class Almighty extends Api | @@ -211,16 +213,13 @@ class Almighty extends Api | ||
211 | * @ApiReturn({ | 213 | * @ApiReturn({ |
212 | "code": 1, | 214 | "code": 1, |
213 | "msg": "成功", | 215 | "msg": "成功", |
214 | - "time": "1599032660", | 216 | + "time": "1600675472", |
215 | "data": { | 217 | "data": { |
216 | - "total": 1, //题目总数 | ||
217 | - "list": [{ //题目列表 | ||
218 | - "id": 1, //题目ID | ||
219 | - "title": "测定混凝土立方体抗压强度时,标准试件的尺寸是( )㎜。", //题目 | ||
220 | - "option": "[{\"name\":\"A\",\"gender\":\"100\\u00d7100\\u00d7100\"},{\"name\":\"B\",\"gender\":\"150\\u00d7150\\u00d7150\"},{\"name\":\"C\",\"gender\":\"200\\u00d7200\\u00d7200\"},{\"name\":\"D\",\"gender\":\"70.7\\u00d770.7\\u00d770.7\"}]", //题目选项 | ||
221 | - "type": "1", //题目类型:1=单选题,2=多选题,3=判断题,4=简答题 | ||
222 | - "answer": "A" //答案 | ||
223 | - }] | 218 | + "analysis_video": { //解析视频 |
219 | + "cover": "http://qizhibang.brotop.cn/uploads/20200921/Fkp1Dv0c4dyYfVzAFBjhTuv25BNv.mp4?vframe/jpg/offset/1/w/1280/h/720", //封面图 | ||
220 | + "video": "http://qizhibang.brotop.cn/uploads/20200921/Fkp1Dv0c4dyYfVzAFBjhTuv25BNv.mp4" //视频 | ||
221 | + }, | ||
222 | + "analysis_text": "" //解析文字 | ||
224 | } | 223 | } |
225 | }) | 224 | }) |
226 | */ | 225 | */ |
@@ -387,23 +386,32 @@ class Almighty extends Api | @@ -387,23 +386,32 @@ class Almighty extends Api | ||
387 | * @ApiReturn({ | 386 | * @ApiReturn({ |
388 | "code": 1, | 387 | "code": 1, |
389 | "msg": "成功", | 388 | "msg": "成功", |
390 | - "time": "1599136054", | 389 | + "time": "1600678092", |
391 | "data": { | 390 | "data": { |
392 | - "1": { | ||
393 | - "pan": 0, //判断题数 | 391 | + "banner": "http://www.enterprise.top/uploads/20200911/8894d62100f2f920ffb2f38063b63f2d.jpg", //广告图 |
392 | + "list": [{ // 试卷列表 | ||
393 | + "0": { | ||
394 | + "id": 11, | ||
395 | + "target_type": "1", | ||
396 | + "target_id": 0, | ||
397 | + "type": "3" | ||
398 | + }, | ||
399 | + "pan": 1, //判断题数 | ||
394 | "duo": 0, //多选题数 | 400 | "duo": 0, //多选题数 |
395 | - "dan": 2, //单选题数 | ||
396 | - "title": "测试每日一练", //试卷标题 | ||
397 | - "id": 1 //试卷ID(全能题库为0) | ||
398 | - } | 401 | + "dan": 0, //单选题数 |
402 | + "title": "《全能题库》", //试卷标题 | ||
403 | + "type": "1", //题目归属类型:1=全能题库,2=模拟试题,3=历年真题,4=每日一练,5=通关密卷 | ||
404 | + "id": 0 //试卷ID(全能题库为0) | ||
405 | + }] | ||
399 | } | 406 | } |
400 | }) | 407 | }) |
401 | */ | 408 | */ |
402 | public function wrongQuestion() | 409 | public function wrongQuestion() |
403 | { | 410 | { |
404 | - $user_id = $this->auth->id; | 411 | + $banner = Db::name('mobile_config')->where('id',1)->value('wrong_adver'); |
412 | + $banner = !empty($banner) ? cdnurl($banner,true) : ''; | ||
405 | $question_list = Question::alias('q') | 413 | $question_list = Question::alias('q') |
406 | - ->join('mobile_question_answer qa','q.id = qa.question_id and user_id='.$user_id,'left') | 414 | + ->join('mobile_question_answer qa','q.id = qa.question_id and user_id='.$this->auth->id,'left') |
407 | ->where('qa.is_wrong','1') | 415 | ->where('qa.is_wrong','1') |
408 | ->field('q.id,q.target_type,q.target_id,q.type') | 416 | ->field('q.id,q.target_type,q.target_id,q.type') |
409 | ->select(); | 417 | ->select(); |
@@ -432,15 +440,21 @@ class Almighty extends Api | @@ -432,15 +440,21 @@ class Almighty extends Api | ||
432 | $v['title'] = '《全能题库》'; | 440 | $v['title'] = '《全能题库》'; |
433 | break; | 441 | break; |
434 | case '2': | 442 | case '2': |
435 | - case '3': | ||
436 | $v['title'] = Simulation::where('id',$v[0]['target_id'])->value('title'); | 443 | $v['title'] = Simulation::where('id',$v[0]['target_id'])->value('title'); |
437 | break; | 444 | break; |
445 | + case '3': | ||
446 | + $v['title'] = Old::where('id',$v[0]['target_id'])->value('title'); | ||
447 | + break; | ||
438 | case '4': | 448 | case '4': |
439 | $v['title'] = Everyday::where('id',$v[0]['target_id'])->value('title'); | 449 | $v['title'] = Everyday::where('id',$v[0]['target_id'])->value('title'); |
440 | break; | 450 | break; |
451 | + case '5': | ||
452 | + $v['title'] = Secret::where('id',$v[0]['target_id'])->value('title'); | ||
453 | + break; | ||
441 | } | 454 | } |
455 | + $v['type'] = $v[0]['target_type']; | ||
442 | $v['id'] = $v[0]['target_id']; | 456 | $v['id'] = $v[0]['target_id']; |
443 | } | 457 | } |
444 | - $this->success('成功',$list); | 458 | + $this->success('成功',compact('banner','list')); |
445 | } | 459 | } |
446 | } | 460 | } |
@@ -71,6 +71,7 @@ class Old extends Api | @@ -71,6 +71,7 @@ class Old extends Api | ||
71 | "year": 2015, //年费(单位:年) | 71 | "year": 2015, //年费(单位:年) |
72 | "time": 100, //答题时间(单位:分) | 72 | "time": 100, //答题时间(单位:分) |
73 | "pass_score": 80, //合格分数 | 73 | "pass_score": 80, //合格分数 |
74 | + "satisfaction": 0, //满意度 | ||
74 | "description": "这个还行", //试卷描述 | 75 | "description": "这个还行", //试卷描述 |
75 | "do_num": 10, //回答人数 | 76 | "do_num": 10, //回答人数 |
76 | "full_score": 100 //试卷分数(单位:分) | 77 | "full_score": 100 //试卷分数(单位:分) |
@@ -84,7 +85,7 @@ class Old extends Api | @@ -84,7 +85,7 @@ class Old extends Api | ||
84 | $info = $this->model->get($old_id); | 85 | $info = $this->model->get($old_id); |
85 | empty($info) && $this->error('试卷信息不存在'); | 86 | empty($info) && $this->error('试卷信息不存在'); |
86 | $info['full_score'] = Question::where('target_id',$old_id)->sum('score'); | 87 | $info['full_score'] = Question::where('target_id',$old_id)->sum('score'); |
87 | - $info = $info->visible(['id','title','year','time','pass_score','goods_degree','description','do_num'])->append(['full_score']); | 88 | + $info = $info->visible(['id','title','year','time','pass_score','satisfaction','description','do_num'])->append(['full_score']); |
88 | $this->success('成功',$info); | 89 | $this->success('成功',$info); |
89 | } | 90 | } |
90 | 91 |
@@ -71,6 +71,7 @@ class Simulation extends Api | @@ -71,6 +71,7 @@ class Simulation extends Api | ||
71 | "year": 2015, //年费(单位:年) | 71 | "year": 2015, //年费(单位:年) |
72 | "time": 100, //答题时间(单位:分) | 72 | "time": 100, //答题时间(单位:分) |
73 | "pass_score": 80, //合格分数 | 73 | "pass_score": 80, //合格分数 |
74 | + "satisfaction": 0, //满意度 | ||
74 | "description": "这个还行", //试卷描述 | 75 | "description": "这个还行", //试卷描述 |
75 | "do_num": 10, //回答人数 | 76 | "do_num": 10, //回答人数 |
76 | "full_score": 100 //试卷分数(单位:分) | 77 | "full_score": 100 //试卷分数(单位:分) |
@@ -84,7 +85,7 @@ class Simulation extends Api | @@ -84,7 +85,7 @@ class Simulation extends Api | ||
84 | $info = $this->model->get($simulation_id); | 85 | $info = $this->model->get($simulation_id); |
85 | empty($info) && $this->error('试卷信息不存在'); | 86 | empty($info) && $this->error('试卷信息不存在'); |
86 | $info['full_score'] = Question::where('target_id',$simulation_id)->sum('score'); | 87 | $info['full_score'] = Question::where('target_id',$simulation_id)->sum('score'); |
87 | - $info = $info->visible(['id','title','year','time','pass_score','goods_degree','description','do_num'])->append(['full_score']); | 88 | + $info = $info->visible(['id','title','year','time','pass_score','satisfaction','description','do_num'])->append(['full_score']); |
88 | $this->success('成功',$info); | 89 | $this->success('成功',$info); |
89 | } | 90 | } |
90 | 91 |
@@ -12,4 +12,37 @@ class Question extends Model | @@ -12,4 +12,37 @@ class Question extends Model | ||
12 | // 定义时间戳字段名 | 12 | // 定义时间戳字段名 |
13 | protected $createTime = 'createtime'; | 13 | protected $createTime = 'createtime'; |
14 | protected $updateTime = 'updatetime'; | 14 | protected $updateTime = 'updatetime'; |
15 | + | ||
16 | + // 获取视频解析封面和地址 | ||
17 | + public function getAnalysisVideoAttr($value,$data){ | ||
18 | + if(empty($value)){ | ||
19 | + return []; | ||
20 | + } | ||
21 | + // 获取网络视频信息 | ||
22 | + if(preg_match("/^http(s)?:\\/\\/.+/",$value)){ | ||
23 | + return [ | ||
24 | + 'cover' => request()->domain().'/assets/img/bg-middle.jpg', | ||
25 | + 'video' => $value | ||
26 | + ]; | ||
27 | + } | ||
28 | + // 获取七牛云视频信息 | ||
29 | + $analysis_video = cdnurl($value,true); | ||
30 | + $analysis_video_info = json_decode(file_get_contents($analysis_video.'?avinfo'),true); | ||
31 | + return [ | ||
32 | + 'cover' => $this->getCoverImagesQiniu($analysis_video,$analysis_video_info), | ||
33 | + 'video' => $analysis_video | ||
34 | + ]; | ||
35 | + } | ||
36 | + | ||
37 | + // 获取七牛云视频的封面图 | ||
38 | + public function getCoverImagesQiniu($video_url,$video_info){ | ||
39 | + if(empty($video_info['streams'][0]['width'])) { | ||
40 | + $width = $video_info['streams'][1]['width']; | ||
41 | + $height = $video_info['streams'][1]['height']; | ||
42 | + } else { | ||
43 | + $width = $video_info['streams'][0]['width']; | ||
44 | + $height = $video_info['streams'][0]['height']; | ||
45 | + } | ||
46 | + return $video_url.'?vframe/jpg/offset/1/w/'.$width.'/h/'.$height; | ||
47 | + } | ||
15 | } | 48 | } |
@@ -1264,16 +1264,13 @@ | @@ -1264,16 +1264,13 @@ | ||
1264 | <pre id="sample_response3">{ | 1264 | <pre id="sample_response3">{ |
1265 | "code": 1, | 1265 | "code": 1, |
1266 | "msg": "成功", | 1266 | "msg": "成功", |
1267 | - "time": "1599032660", | 1267 | + "time": "1600675472", |
1268 | "data": { | 1268 | "data": { |
1269 | - "total": 1, //题目总数 | ||
1270 | - "list": [{ //题目列表 | ||
1271 | - "id": 1, //题目ID | ||
1272 | - "title": "测定混凝土立方体抗压强度时,标准试件的尺寸是( )㎜。", //题目 | ||
1273 | - "option": "[{\"name\":\"A\",\"gender\":\"100\\u00d7100\\u00d7100\"},{\"name\":\"B\",\"gender\":\"150\\u00d7150\\u00d7150\"},{\"name\":\"C\",\"gender\":\"200\\u00d7200\\u00d7200\"},{\"name\":\"D\",\"gender\":\"70.7\\u00d770.7\\u00d770.7\"}]", //题目选项 | ||
1274 | - "type": "1", //题目类型:1=单选题,2=多选题,3=判断题,4=简答题 | ||
1275 | - "answer": "A" //答案 | ||
1276 | - }] | 1269 | + "analysis_video": { //解析视频 |
1270 | + "cover": "http://qizhibang.brotop.cn/uploads/20200921/Fkp1Dv0c4dyYfVzAFBjhTuv25BNv.mp4?vframe/jpg/offset/1/w/1280/h/720", //封面图 | ||
1271 | + "video": "http://qizhibang.brotop.cn/uploads/20200921/Fkp1Dv0c4dyYfVzAFBjhTuv25BNv.mp4" //视频 | ||
1272 | + }, | ||
1273 | + "analysis_text": "" //解析文字 | ||
1277 | } | 1274 | } |
1278 | }</pre> | 1275 | }</pre> |
1279 | </div> | 1276 | </div> |
@@ -2025,15 +2022,23 @@ | @@ -2025,15 +2022,23 @@ | ||
2025 | <pre id="sample_response8">{ | 2022 | <pre id="sample_response8">{ |
2026 | "code": 1, | 2023 | "code": 1, |
2027 | "msg": "成功", | 2024 | "msg": "成功", |
2028 | - "time": "1599136054", | 2025 | + "time": "1600678092", |
2029 | "data": { | 2026 | "data": { |
2030 | - "1": { | ||
2031 | - "pan": 0, //判断题数 | 2027 | + "banner": "http://www.enterprise.top/uploads/20200911/8894d62100f2f920ffb2f38063b63f2d.jpg", //广告图 |
2028 | + "list": [{ // 试卷列表 | ||
2029 | + "0": { | ||
2030 | + "id": 11, | ||
2031 | + "target_type": "1", | ||
2032 | + "target_id": 0, | ||
2033 | + "type": "3" | ||
2034 | + }, | ||
2035 | + "pan": 1, //判断题数 | ||
2032 | "duo": 0, //多选题数 | 2036 | "duo": 0, //多选题数 |
2033 | - "dan": 2, //单选题数 | ||
2034 | - "title": "测试每日一练", //试卷标题 | ||
2035 | - "id": 1 //试卷ID(全能题库为0) | ||
2036 | - } | 2037 | + "dan": 0, //单选题数 |
2038 | + "title": "《全能题库》", //试卷标题 | ||
2039 | + "type": "1", //题目归属类型:1=全能题库,2=模拟试题,3=历年真题,4=每日一练,5=通关密卷 | ||
2040 | + "id": 0 //试卷ID(全能题库为0) | ||
2041 | + }] | ||
2037 | } | 2042 | } |
2038 | }</pre> | 2043 | }</pre> |
2039 | </div> | 2044 | </div> |
@@ -2261,6 +2266,7 @@ | @@ -2261,6 +2266,7 @@ | ||
2261 | "year": 2015, //年费(单位:年) | 2266 | "year": 2015, //年费(单位:年) |
2262 | "time": 100, //答题时间(单位:分) | 2267 | "time": 100, //答题时间(单位:分) |
2263 | "pass_score": 80, //合格分数 | 2268 | "pass_score": 80, //合格分数 |
2269 | + "satisfaction": 0, //满意度 | ||
2264 | "description": "这个还行", //试卷描述 | 2270 | "description": "这个还行", //试卷描述 |
2265 | "do_num": 10, //回答人数 | 2271 | "do_num": 10, //回答人数 |
2266 | "full_score": 100 //试卷分数(单位:分) | 2272 | "full_score": 100 //试卷分数(单位:分) |
@@ -3079,6 +3085,7 @@ | @@ -3079,6 +3085,7 @@ | ||
3079 | "year": 2015, //年费(单位:年) | 3085 | "year": 2015, //年费(单位:年) |
3080 | "time": 100, //答题时间(单位:分) | 3086 | "time": 100, //答题时间(单位:分) |
3081 | "pass_score": 80, //合格分数 | 3087 | "pass_score": 80, //合格分数 |
3088 | + "satisfaction": 0, //满意度 | ||
3082 | "description": "这个还行", //试卷描述 | 3089 | "description": "这个还行", //试卷描述 |
3083 | "do_num": 10, //回答人数 | 3090 | "do_num": 10, //回答人数 |
3084 | "full_score": 100 //试卷分数(单位:分) | 3091 | "full_score": 100 //试卷分数(单位:分) |
@@ -13456,7 +13463,7 @@ | @@ -13456,7 +13463,7 @@ | ||
13456 | 13463 | ||
13457 | <div class="row mt0 footer"> | 13464 | <div class="row mt0 footer"> |
13458 | <div class="col-md-6" align="left"> | 13465 | <div class="col-md-6" align="left"> |
13459 | - Generated on 2020-09-19 19:38:02 </div> | 13466 | + Generated on 2020-09-21 18:05:32 </div> |
13460 | <div class="col-md-6" align="right"> | 13467 | <div class="col-md-6" align="right"> |
13461 | <a href="./" target="_blank">企智帮</a> | 13468 | <a href="./" target="_blank">企智帮</a> |
13462 | </div> | 13469 | </div> |
-
请 注册 或 登录 后发表评论