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
8ae86737
Commit
8ae86737
authored
3 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e0fce697
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
CourseExamModule.cs
Edu.Module.Exam/CourseExamModule.cs
+10
-2
AppletWordsController.cs
Edu.WebApi/Controllers/Applet/AppletWordsController.cs
+1
-1
No files found.
Edu.Module.Exam/CourseExamModule.cs
View file @
8ae86737
...
@@ -283,7 +283,7 @@ namespace Edu.Module.Exam
...
@@ -283,7 +283,7 @@ namespace Edu.Module.Exam
/// <param name="ChapterId">当前章节编号</param>
/// <param name="ChapterId">当前章节编号</param>
/// <param name="ReviewChapterId">复习章节编号</param>
/// <param name="ReviewChapterId">复习章节编号</param>
/// <returns></returns>
/// <returns></returns>
public
object
GetStudyCourseWords
(
int
CourseId
,
int
ChapterId
,
int
ReviewChapterId
)
public
object
GetStudyCourseWords
(
int
CourseId
,
int
ChapterId
,
int
ReviewChapterId
,
int
Stu_Account_Id
)
{
{
List
<
object
>
list
=
new
List
<
object
>();
List
<
object
>
list
=
new
List
<
object
>();
List
<
object
>
reviewList
=
new
List
<
object
>();
List
<
object
>
reviewList
=
new
List
<
object
>();
...
@@ -326,10 +326,18 @@ namespace Edu.Module.Exam
...
@@ -326,10 +326,18 @@ namespace Edu.Module.Exam
});
});
}
}
}
}
var
prepModel
=
GetStuWordsPrepListModule
(
new
RB_StuWords_Prep_Extend
()
{
Stu_Account_Id
=
Stu_Account_Id
,
CourseId
=
CourseId
,
ChapterId
=
ChapterId
,
})?.
FirstOrDefault
();
return
new
return
new
{
{
StudyList
=
list
,
StudyList
=
list
,
ReviewList
=
reviewList
ReviewList
=
reviewList
,
StartIndex
=
prepModel
?.
StudyNum
??
0
};
};
}
}
...
...
This diff is collapsed.
Click to expand it.
Edu.WebApi/Controllers/Applet/AppletWordsController.cs
View file @
8ae86737
...
@@ -30,7 +30,7 @@ namespace Edu.WebApi.Controllers.Applet
...
@@ -30,7 +30,7 @@ namespace Edu.WebApi.Controllers.Applet
var
CourseId
=
base
.
ParmJObj
.
GetInt
(
"CourseId"
);
var
CourseId
=
base
.
ParmJObj
.
GetInt
(
"CourseId"
);
var
ChapterId
=
base
.
ParmJObj
.
GetInt
(
"ChapterId"
);
var
ChapterId
=
base
.
ParmJObj
.
GetInt
(
"ChapterId"
);
var
ReviewChapterId
=
base
.
ParmJObj
.
GetInt
(
"ReviewChapterId"
);
var
ReviewChapterId
=
base
.
ParmJObj
.
GetInt
(
"ReviewChapterId"
);
var
list
=
courseExamModule
.
GetStudyCourseWords
(
CourseId
,
ChapterId
,
ReviewChapterId
);
var
list
=
courseExamModule
.
GetStudyCourseWords
(
CourseId
,
ChapterId
,
ReviewChapterId
,
base
.
AppletUserInfo
.
Id
);
return
ApiResult
.
Success
(
data
:
list
);
return
ApiResult
.
Success
(
data
:
list
);
}
}
...
...
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