d
This commit is contained in:
parent
742999591b
commit
d9d2bdd887
@ -9,11 +9,19 @@ using YD_XinWei.Commons.Dto.Open;
|
|||||||
|
|
||||||
namespace YD_XinWei.Api.Controllers
|
namespace YD_XinWei.Api.Controllers
|
||||||
{
|
{
|
||||||
|
///<summary>
|
||||||
|
/// 大屏数据
|
||||||
|
///</summary>
|
||||||
[ApiVersion("1.0")]
|
[ApiVersion("1.0")]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
public class LargeScreenController : ControllerBase
|
public class LargeScreenController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly ILargeScreenService _largeScreenService;
|
private readonly ILargeScreenService _largeScreenService;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 构造函数
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="largeScreenService"></param>
|
||||||
public LargeScreenController(ILargeScreenService largeScreenService)
|
public LargeScreenController(ILargeScreenService largeScreenService)
|
||||||
{
|
{
|
||||||
_largeScreenService = largeScreenService;
|
_largeScreenService = largeScreenService;
|
||||||
|
@ -282,16 +282,17 @@ namespace YD_XinWei.Api
|
|||||||
// // staticFile.Context.Response.StatusCode;
|
// // staticFile.Context.Response.StatusCode;
|
||||||
// }
|
// }
|
||||||
//});
|
//});
|
||||||
|
|
||||||
//配置HttpContext
|
//配置HttpContext
|
||||||
app.UseStaticHttpContext();
|
app.UseStaticHttpContext();
|
||||||
|
|
||||||
//app.UseSwagger();
|
app.UseSwagger();
|
||||||
//app.UseSwaggerUI(c =>
|
app.UseSwaggerUI(c =>
|
||||||
//{
|
{
|
||||||
// //2个下拉框选项 选择对应的文档
|
//2个下拉框选项 选择对应的文档
|
||||||
// c.SwaggerEndpoint("/swagger/v1/swagger.json", "YD_XinWei.Api");
|
c.SwaggerEndpoint("/swagger/v1/swagger.json", "YD_XinWei.Api");
|
||||||
// c.RoutePrefix = "";
|
c.RoutePrefix = "";
|
||||||
//});
|
});
|
||||||
|
|
||||||
app.UseRouting();
|
app.UseRouting();
|
||||||
app.UseCors();
|
app.UseCors();
|
||||||
@ -300,6 +301,7 @@ namespace YD_XinWei.Api
|
|||||||
app.UseEndpoints(endpoints =>
|
app.UseEndpoints(endpoints =>
|
||||||
{
|
{
|
||||||
endpoints.MapControllers();
|
endpoints.MapControllers();
|
||||||
|
|
||||||
//配置SignalR
|
//配置SignalR
|
||||||
//if (AppSetting.UseSignalR)
|
//if (AppSetting.UseSignalR)
|
||||||
//{
|
//{
|
||||||
|
@ -3412,6 +3412,10 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
|
{
|
||||||
|
"name": "LargeScreen",
|
||||||
|
"description": "大屏数据"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "XinWei",
|
"name": "XinWei",
|
||||||
"description": "芯未"
|
"description": "芯未"
|
||||||
|
@ -14,7 +14,7 @@ using System.Reflection;
|
|||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Api")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_XinWei.Api")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a02788708d17c249598086966005229c44c74ffc")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+742999591b36b697f866a6392a6844b409afaa82")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")]
|
[assembly: System.Reflection.AssemblyProductAttribute("YD_XinWei.Api")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("YD_XinWei.Api")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
@ -1 +1 @@
|
|||||||
93668722b7fb624125cdbbebd817283445fb3f99bcefa434051a1db85667509a
|
0fcde1d812b5c762dec6601502ab55e02892f5f21df0ac17af0d64fd788f3f65
|
||||||
|
Binary file not shown.
16
Server/YD_XinWei/test.cs
Normal file
16
Server/YD_XinWei/test.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
namespace YD_XinWei.Api
|
||||||
|
{
|
||||||
|
public class test
|
||||||
|
{
|
||||||
|
/*「」
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user