Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
28f73626
Commit
28f73626
authored
Jan 20, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增验证
parent
0c4f1611
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
301 additions
and
155 deletions
+301
-155
AnalysisQuestionTypeModule.cs
Edu.Module.Question/AnalysisQuestionTypeModule.cs
+8
-1
QuestionModule.cs
Edu.Module.Question/QuestionModule.cs
+0
-1
QuestionController.cs
Edu.WebApi/Controllers/Course/QuestionController.cs
+293
-153
No files found.
Edu.Module.Question/AnalysisQuestionTypeModule.cs
View file @
28f73626
...
...
@@ -154,7 +154,14 @@ namespace Edu.Module.Question
break
;
//共用选择题
case
"sharing-choose"
:
obj
=
Common
.
Plugin
.
JsonHelper
.
DeserializeObject
<
List
<
List
<
matchingItem
>>>(
data
);
if
(!
string
.
IsNullOrEmpty
(
data
))
{
obj
=
Common
.
Plugin
.
JsonHelper
.
DeserializeObject
<
List
<
List
<
matchingItem
>>>(
data
);
}
else
{
obj
=
null
;
}
break
;
//其它题
case
"other"
:
...
...
Edu.Module.Question/QuestionModule.cs
View file @
28f73626
...
...
@@ -163,7 +163,6 @@ namespace Edu.Module.Question
var
extModel
=
questionRepository
.
GetEntity
<
RB_Question_ViewModel
>(
QuestionId
);
if
(
extModel
!=
null
)
{
extModel
.
QuestionContentObj
=
ParsingQuestionModule
(
extModel
.
QuestionTypeKey
,
extModel
.
QuestionContent
);
if
(!
string
.
IsNullOrEmpty
(
extModel
.
Knowledge
))
{
...
...
Edu.WebApi/Controllers/Course/QuestionController.cs
View file @
28f73626
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment