Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EduSpider
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
viitto
EduSpider
Commits
cac2db6d
Commit
cac2db6d
authored
May 26, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
5d5f7b52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
CourseService.cs
EduSpider.Services/CourseService.cs
+1
-1
StuController.cs
EduSpider.WebApi/Controllers/Student/StuController.cs
+11
-3
No files found.
EduSpider.Services/CourseService.cs
View file @
cac2db6d
...
...
@@ -72,7 +72,7 @@ namespace EduSpider.Services
item
.
ResultType
,
item
.
ResultTypeStr
,
item
.
Title
,
CreateTime
=
VTX
.
FW
.
Helper
.
ConvertHelper
.
FormatTime
(
item
.
CreateTime
),
CreateTime
=
VTX
.
FW
.
Helper
.
ConvertHelper
.
FormatTime
(
item
.
CreateTime
,
2
),
item
.
Score
,
item
.
Score_p
,
item
.
ScoreType
,
...
...
EduSpider.WebApi/Controllers/Student/StuController.cs
View file @
cac2db6d
...
...
@@ -38,11 +38,19 @@ namespace EduSpider.WebApi.Controllers
if
(
list
!=
null
&&
list
.
Count
>
0
)
{
foreach
(
var
item
in
list
)
{
{
result
.
Add
(
new
{
item
.
courseId
,
item
.
courseName
,
item
.
CoverImg
,
item
.
completeNum
,
item
.
totalClassNum
,
item
.
teacherName
,
});
}
}
return
ApiResult
.
Success
(
data
:
lis
t
);
return
ApiResult
.
Success
(
data
:
resul
t
);
}
/// <summary>
...
...
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