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
6eff924f
Commit
6eff924f
authored
Jun 10, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
8c88a203
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
21 deletions
+3
-21
FolderProfile.pubxml
...er.WebApi/Properties/PublishProfiles/FolderProfile.pubxml
+0
-20
QuestionManager.cs
EduSpider/Spiders/ClassInRule/QuestionManager.cs
+3
-1
No files found.
EduSpider.WebApi/Properties/PublishProfiles/FolderProfile.pubxml
deleted
100644 → 0
View file @
8c88a203
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project
ToolsVersion=
"4.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<DeleteExistingFiles>
False
</DeleteExistingFiles>
<ExcludeApp_Data>
False
</ExcludeApp_Data>
<LaunchSiteAfterPublish>
True
</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>
Release
</LastUsedBuildConfiguration>
<LastUsedPlatform>
Any CPU
</LastUsedPlatform>
<PublishProvider>
FileSystem
</PublishProvider>
<PublishUrl>
G:\Publish\jinjie_publish
</PublishUrl>
<WebPublishMethod>
FileSystem
</WebPublishMethod>
<SiteUrlToLaunchAfterPublish
/>
<TargetFramework>
net5.0
</TargetFramework>
<ProjectGuid>
f0a5853b-7aa9-43bf-8e81-98b65f44a269
</ProjectGuid>
<SelfContained>
false
</SelfContained>
</PropertyGroup>
</Project>
\ No newline at end of file
EduSpider/Spiders/ClassInRule/QuestionManager.cs
View file @
6eff924f
...
...
@@ -247,6 +247,8 @@ namespace EduSpider.Spiders.ClassInRule
JObject
lastObj
=
JObject
.
Parse
(
sItem
.
ToString
());
var
tempCream
=
lastObj
.
GetString
(
"scoreRate"
).
Replace
(
"%"
,
""
);
tempCream
=
tempCream
==
"-"
?
"0"
:
tempCream
;
var
tempStatus
=
lastObj
.
GetInt
(
"stStatus"
);
tempStatus
=
tempStatus
==
0
?
0
:
(
tempStatus
==
6
?
2
:
1
);
list
.
Add
(
new
RB_Stu_HomeWork
()
{
stu_homework_id
=
Int64
.
Parse
(
$"
{
homework_id
}{
lastObj
.
GetInt
(
"studentId"
)}
"
),
...
...
@@ -272,7 +274,7 @@ namespace EduSpider.Spiders.ClassInRule
score_p
=
Convert
.
ToDecimal
(
tempCream
)/
100
,
score_type
=
5
,
show_time
=
ConvertHelper
.
UnixToDateTime
(
lastObj
.
GetInt
(
"endTime"
)),
status
=
lastObj
.
GetInt
(
"stStatus"
)
,
status
=
tempStatus
,
stu_homework_share_key
=
string
.
Empty
,
student_account
=
lastObj
.
GetString
(
"studentAccount"
),
student_name
=
lastObj
.
GetString
(
"studentName"
),
...
...
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