Commit d73c981c authored by 黄奎's avatar 黄奎

修改引用

parent d2a448dc
...@@ -5,13 +5,13 @@ ...@@ -5,13 +5,13 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="FreeSpire.Doc" Version="7.11.0" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" /> <PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Formatters.Json" Version="2.2.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.Formatters.Json" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.8" /> <PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.8" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="3.1.8" /> <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="3.1.8" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" /> <PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="NPOI" Version="2.5.1" /> <PackageReference Include="NPOI" Version="2.5.1" />
<PackageReference Include="Spire.Doc" Version="8.12.14" />
</ItemGroup> </ItemGroup>
</Project> </Project>
...@@ -8,39 +8,18 @@ ...@@ -8,39 +8,18 @@
".NETCoreApp,Version=v3.0": { ".NETCoreApp,Version=v3.0": {
"Edu.Common/1.0.0": { "Edu.Common/1.0.0": {
"dependencies": { "dependencies": {
"FreeSpire.Doc": "7.11.0",
"Microsoft.AspNetCore.Http": "2.2.2", "Microsoft.AspNetCore.Http": "2.2.2",
"Microsoft.AspNetCore.Mvc.Formatters.Json": "2.2.0", "Microsoft.AspNetCore.Mvc.Formatters.Json": "2.2.0",
"Microsoft.Extensions.Configuration": "3.1.8", "Microsoft.Extensions.Configuration": "3.1.8",
"Microsoft.Extensions.Configuration.Json": "3.1.8", "Microsoft.Extensions.Configuration.Json": "3.1.8",
"NPOI": "2.5.1", "NPOI": "2.5.1",
"Newtonsoft.Json": "12.0.3" "Newtonsoft.Json": "12.0.3",
"Spire.Doc": "8.12.14"
}, },
"runtime": { "runtime": {
"Edu.Common.dll": {} "Edu.Common.dll": {}
} }
}, },
"FreeSpire.Doc/7.11.0": {
"dependencies": {
"SkiaSharp": "1.68.0",
"System.Security.Cryptography.Xml": "4.5.0",
"System.Text.Encoding.CodePages": "4.5.0"
},
"runtime": {
"lib/netcoreapp2.0/Spire.Doc.dll": {
"assemblyVersion": "7.11.0.41420",
"fileVersion": "7.11.0.41420"
},
"lib/netcoreapp2.0/Spire.License.dll": {
"assemblyVersion": "1.3.7.320",
"fileVersion": "1.3.7.320"
},
"lib/netcoreapp2.0/Spire.Pdf.dll": {
"assemblyVersion": "5.11.0.2420",
"fileVersion": "5.11.0.2420"
}
}
},
"Microsoft.AspNetCore.Authentication.Abstractions/2.2.0": { "Microsoft.AspNetCore.Authentication.Abstractions/2.2.0": {
"dependencies": { "dependencies": {
"Microsoft.AspNetCore.Http.Abstractions": "2.2.0", "Microsoft.AspNetCore.Http.Abstractions": "2.2.0",
...@@ -589,6 +568,27 @@ ...@@ -589,6 +568,27 @@
} }
} }
}, },
"Spire.Doc/8.12.14": {
"dependencies": {
"SkiaSharp": "1.68.0",
"System.Security.Cryptography.Xml": "4.5.0",
"System.Text.Encoding.CodePages": "4.5.0"
},
"runtime": {
"lib/netstandard2.0/Spire.Doc.dll": {
"assemblyVersion": "8.12.14.0",
"fileVersion": "8.12.14.4420"
},
"lib/netstandard2.0/Spire.License.dll": {
"assemblyVersion": "1.3.8.320",
"fileVersion": "1.3.8.320"
},
"lib/netstandard2.0/Spire.Pdf.dll": {
"assemblyVersion": "6.12.20.0",
"fileVersion": "6.12.20.2420"
}
}
},
"System.AppContext/4.1.0": { "System.AppContext/4.1.0": {
"dependencies": { "dependencies": {
"System.Runtime": "4.1.0" "System.Runtime": "4.1.0"
...@@ -978,13 +978,6 @@ ...@@ -978,13 +978,6 @@
"serviceable": false, "serviceable": false,
"sha512": "" "sha512": ""
}, },
"FreeSpire.Doc/7.11.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Rg7axyvwCU8PPuhsetIM4FZuuOL6PROJOXlhJo760wDS/4JJdo99JVDjqpGHej78yLYMSvtSuq0jjuTIYNEZgw==",
"path": "freespire.doc/7.11.0",
"hashPath": "freespire.doc.7.11.0.nupkg.sha512"
},
"Microsoft.AspNetCore.Authentication.Abstractions/2.2.0": { "Microsoft.AspNetCore.Authentication.Abstractions/2.2.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
...@@ -1300,6 +1293,13 @@ ...@@ -1300,6 +1293,13 @@
"path": "skiasharp/1.68.0", "path": "skiasharp/1.68.0",
"hashPath": "skiasharp.1.68.0.nupkg.sha512" "hashPath": "skiasharp.1.68.0.nupkg.sha512"
}, },
"Spire.Doc/8.12.14": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ZHJVAjEcPNvUbEIe+46zXlYG7J7T1Pua7jpsuH3yMllqD1xysMdVhR9hAywkGYnaHodv0gjIP33SiD4Kgh7ykQ==",
"path": "spire.doc/8.12.14",
"hashPath": "spire.doc.8.12.14.nupkg.sha512"
},
"System.AppContext/4.1.0": { "System.AppContext/4.1.0": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
......
...@@ -854,11 +854,11 @@ namespace Edu.WebApi.Controllers.Course ...@@ -854,11 +854,11 @@ namespace Edu.WebApi.Controllers.Course
} }
else if (item.QuestionAnswer.Contains("对")) else if (item.QuestionAnswer.Contains("对"))
{ {
singleModel.IsAnswer = (i == 0) ? true : false; singleModel.IsAnswer = (i == 0);
} }
else if (item.QuestionAnswer.Contains("错")) else if (item.QuestionAnswer.Contains("错"))
{ {
singleModel.IsAnswer = (i > 0) ? true : false; singleModel.IsAnswer = (i > 0);
} }
if (i == 0) if (i == 0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment