保存数据

This commit is contained in:
cgp 2025-02-06 14:41:39 +08:00
parent 6653312957
commit 3f06e72429
5 changed files with 9300 additions and 9267 deletions

View File

@ -4,7 +4,7 @@
<ActiveDebugProfile>CompetitionAPI</ActiveDebugProfile>
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Common/MVC/Controller</Controller_SelectedScaffolderCategoryPath>
<NameOfLastUsedPublishProfile>E:\工作项目\2024项目\农电二期\项目\后台网站\LKJCpowerSupplyOfficeSimulationSystem\CompetitionAPI\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
<NameOfLastUsedPublishProfile>E:\工作项目\2024项目\农电二期\项目\后台网站\CompetitionAPI_dotnet.git\CompetitionAPI_dotnet\CompetitionAPI\Properties\PublishProfiles\FolderProfile3.pubxml</NameOfLastUsedPublishProfile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>

View File

@ -779,7 +779,7 @@ namespace CompetitionAPI.Controllers
,conn2: {PubConstant.ConnectionString}";
Console.WriteLine("Time:" + time+","+ msg);
_logger.Log(LogLevel.Information, msg);
LogHelper.WriteLog( "msg" + msg);
var result = GetResult(true, time, msg);
return result;
}

View File

@ -15,7 +15,7 @@ namespace CompetitionAPI
Host.CreateDefaultBuilder(args).UseServiceProviderFactory(new AutofacServiceProviderFactory())
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseUrls("http://*:5002");
//webBuilder.UseUrls("http://*:5002");
webBuilder.UseStartup<Startup>();
})
.ConfigureAppConfiguration((hostingContext, config) =>

9297
competition_db.sql Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff