首检添加数据看板

This commit is contained in:
2024-06-07 11:04:26 +08:00
parent c93711290e
commit 769d2da1e0
344 changed files with 1772 additions and 2526 deletions

View File

@@ -1,6 +1,4 @@
using Infrastructure;
using Infrastructure.Attribute;
using System.Reflection;
using System.Reflection;
namespace ZR.Admin.WebApi.Extensions
{

View File

@@ -1,6 +1,5 @@
using Infrastructure;
using SqlSugar;
using SqlSugar.IOC;
using SqlSugar;
using ZR.Admin.WebApi.Framework;
using ZR.Model.System;

View File

@@ -1,4 +1,3 @@
using Infrastructure;
using Infrastructure.Extensions;
using SqlSugar;
using SqlSugar.IOC;

View File

@@ -1,5 +1,4 @@
using Infrastructure;
using Infrastructure.Extensions;
using Infrastructure.Extensions;
using System.Security.Claims;
using System.Text;
using System.Text.RegularExpressions;
@@ -202,7 +201,7 @@ namespace ZR.Admin.WebApi.Extensions
public static void GetRequestValue(this HttpContext context, SysOperLog operLog)
{
string reqMethod = operLog.RequestMethod;
string param= string.Empty;
string param = string.Empty;
if (HttpMethods.IsPost(reqMethod) || HttpMethods.IsPut(reqMethod) || HttpMethods.IsDelete(reqMethod))
{

View File

@@ -68,7 +68,7 @@ namespace ZR.Admin.WebApi.Extensions
db.CodeFirst.InitTables(typeof(OpStatistics));
db.CodeFirst.InitTables(typeof(ProWorkorder));
db.CodeFirst.InitTables(typeof(ProWorkplan));

View File

@@ -1,6 +1,5 @@
using JinianNet.JNTemplate;
using System.Net.NetworkInformation;
using ZR.Common;
namespace ZR.Admin.WebApi.Extensions
{
@@ -11,7 +10,7 @@ namespace ZR.Admin.WebApi.Extensions
Console.ForegroundColor = ConsoleColor.Blue;
var contentTpl = JnHelper.ReadTemplate("", "logo.txt");
var content = contentTpl?.Render();
Console.WriteLine(content);
Console.ForegroundColor = ConsoleColor.Blue;
@@ -32,7 +31,7 @@ namespace ZR.Admin.WebApi.Extensions
// 输出IPv4地址
if (ipAddress.Address.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork)
{
Console.WriteLine("本机ip: "+ipAddress.Address.ToString());
Console.WriteLine("本机ip: " + ipAddress.Address.ToString());
}
}
}

View File

@@ -1,6 +1,4 @@
using ZR.Common;
namespace ZR.Admin.WebApi.Extensions
namespace ZR.Admin.WebApi.Extensions
{
public class SqlSugarCache : SqlSugar.ICacheService
{

View File

@@ -1,5 +1,4 @@
using Infrastructure;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.Filters;
using System.Reflection;