update recvmqtt

master
tayttt 4 months ago
parent b723490c1c
commit df0551888c

@ -7,7 +7,7 @@ using Txgy.RBS.Services;
namespace Txgy.RBS.Server.WebApi.Controllers namespace Txgy.RBS.Server.WebApi.Controllers
{ {
[Route("api/[controller]/[action]")] [Route("rbs/[controller]/[action]")]
[ApiController] [ApiController]
public class GlobalConfigController : ControllerBase public class GlobalConfigController : ControllerBase
{ {

@ -14,7 +14,7 @@ using Txgy.RBS.Services;
namespace Txgy.RBS.Server.WebApi.Controllers namespace Txgy.RBS.Server.WebApi.Controllers
{ {
[Route("api/[controller]/[action]")] [Route("rbs/[controller]/[action]")]
[ApiController] [ApiController]
public class ProjectInfoController : ControllerBase public class ProjectInfoController : ControllerBase
{ {

@ -8,7 +8,7 @@ using Txgy.RBS.Services;
namespace Txgy.RBS.Server.WebApi.Controllers namespace Txgy.RBS.Server.WebApi.Controllers
{ {
[Route("api/[controller]/[action]")] [Route("rbs/[controller]/[action]")]
[ApiController] [ApiController]
public class ResultInfoController : ControllerBase public class ResultInfoController : ControllerBase
{ {

@ -7,7 +7,7 @@ using Txgy.RBS.IServices;
namespace Txgy.RBS.Server.WebApi.Controllers namespace Txgy.RBS.Server.WebApi.Controllers
{ {
[Route("api/[controller]/[action]")] [Route("rbs/[controller]/[action]")]
[ApiController] [ApiController]
public class StationsController : ControllerBase public class StationsController : ControllerBase
{ {

@ -6,7 +6,7 @@ using Txgy.RBS.IServices;
namespace Txgy.RBS.Server.WebApi.Controllers namespace Txgy.RBS.Server.WebApi.Controllers
{ {
[Route("api/[controller]/[action]")] [Route("rbs/[controller]/[action]")]
[ApiController] [ApiController]
public class TimeTabController : ControllerBase public class TimeTabController : ControllerBase
{ {

@ -25,6 +25,7 @@ var app = builder.Build();
// Configure the HTTP request pipeline. // Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment()) if (app.Environment.IsDevelopment())
{ {
Console.WriteLine("app.Environment.IsDevelopment");
app.UseSwagger(); app.UseSwagger();
app.UseSwaggerUI(); app.UseSwaggerUI();
} }

@ -56,5 +56,7 @@
"RecordeLog": true "RecordeLog": true
}, },
"AllowedHosts": "*" "AllowedHosts": "*",
"Urls": "http://localhost:5094"
} }

Binary file not shown.
Loading…
Cancel
Save