保存数据
This commit is contained in:
parent
6653312957
commit
3f06e72429
|
|
@ -4,7 +4,7 @@
|
||||||
<ActiveDebugProfile>CompetitionAPI</ActiveDebugProfile>
|
<ActiveDebugProfile>CompetitionAPI</ActiveDebugProfile>
|
||||||
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
|
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
|
||||||
<Controller_SelectedScaffolderCategoryPath>root/Common/MVC/Controller</Controller_SelectedScaffolderCategoryPath>
|
<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>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
||||||
|
|
|
||||||
|
|
@ -779,7 +779,7 @@ namespace CompetitionAPI.Controllers
|
||||||
,conn2: {PubConstant.ConnectionString}";
|
,conn2: {PubConstant.ConnectionString}";
|
||||||
|
|
||||||
Console.WriteLine("Time:" + time+","+ msg);
|
Console.WriteLine("Time:" + time+","+ msg);
|
||||||
_logger.Log(LogLevel.Information, msg);
|
LogHelper.WriteLog( "msg:" + msg);
|
||||||
var result = GetResult(true, time, msg);
|
var result = GetResult(true, time, msg);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ namespace CompetitionAPI
|
||||||
Host.CreateDefaultBuilder(args).UseServiceProviderFactory(new AutofacServiceProviderFactory())
|
Host.CreateDefaultBuilder(args).UseServiceProviderFactory(new AutofacServiceProviderFactory())
|
||||||
.ConfigureWebHostDefaults(webBuilder =>
|
.ConfigureWebHostDefaults(webBuilder =>
|
||||||
{
|
{
|
||||||
webBuilder.UseUrls("http://*:5002");
|
//webBuilder.UseUrls("http://*:5002");
|
||||||
webBuilder.UseStartup<Startup>();
|
webBuilder.UseStartup<Startup>();
|
||||||
})
|
})
|
||||||
.ConfigureAppConfiguration((hostingContext, config) =>
|
.ConfigureAppConfiguration((hostingContext, config) =>
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue