完善Dockerfile,更改数据库配置文件,日志记录增加Id主键
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.Net.Sockets;
|
||||
using Microsoft.AspNetCore.SignalR;
|
||||
using Microsoft.AspNetCore.SignalR.Client;
|
||||
using NLog;
|
||||
using SqlSugar;
|
||||
using ZR.Admin.WebApi.Filters;
|
||||
using ZR.Model;
|
||||
@@ -28,6 +29,7 @@ namespace ZR.Admin.WebApi.Controllers.System
|
||||
private readonly IHubContext<MessageHub> _hubContext;
|
||||
private readonly ISysNoticeLogService _sysNoticeLogService;
|
||||
private readonly IWebHostEnvironment _webHostEnvironment;
|
||||
private readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
||||
public SysNoticeController(ISysNoticeService sysNoticeService, IHubContext<MessageHub> hubContext, ISysNoticeLogService sysNoticeLogService, IWebHostEnvironment webHostEnvironment)
|
||||
{
|
||||
_sysNoticeService = sysNoticeService;
|
||||
|
||||
Reference in New Issue
Block a user