首检添加数据看板
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using Infrastructure;
|
||||
using Infrastructure.Attribute;
|
||||
using System.Reflection;
|
||||
using System.Reflection;
|
||||
|
||||
namespace ZR.Admin.WebApi.Extensions
|
||||
{
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using Infrastructure;
|
||||
using SqlSugar;
|
||||
using SqlSugar.IOC;
|
||||
using SqlSugar;
|
||||
using ZR.Admin.WebApi.Framework;
|
||||
using ZR.Model.System;
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
using Infrastructure;
|
||||
using Infrastructure.Extensions;
|
||||
using SqlSugar;
|
||||
using SqlSugar.IOC;
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace ZR.Admin.WebApi.Extensions
|
||||
db.CodeFirst.InitTables(typeof(OpStatistics));
|
||||
db.CodeFirst.InitTables(typeof(ProWorkorder));
|
||||
db.CodeFirst.InitTables(typeof(ProWorkplan));
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using ZR.Common;
|
||||
|
||||
namespace ZR.Admin.WebApi.Extensions
|
||||
namespace ZR.Admin.WebApi.Extensions
|
||||
{
|
||||
public class SqlSugarCache : SqlSugar.ICacheService
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user