mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
remove all no need using
去掉不必要的引用
This commit is contained in:
parent
a924b227d2
commit
6819c3a899
4
.editorconfig
Normal file
4
.editorconfig
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[*.cs]
|
||||||
|
|
||||||
|
# IDE0005: Using 指令是不需要的。
|
||||||
|
dotnet_diagnostic.IDE0005.severity = warning
|
|
@ -1,6 +1,4 @@
|
||||||
using Newtonsoft.Json;
|
using System;
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using System;
|
namespace Blog.Core.Common.DB
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.DB
|
|
||||||
{
|
{
|
||||||
public static class MainDb
|
public static class MainDb
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
using Microsoft.AspNetCore.Hosting;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.Configuration;
|
|
||||||
using Microsoft.Extensions.Configuration.Json;
|
using Microsoft.Extensions.Configuration.Json;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common
|
namespace Blog.Core.Common
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.Helper
|
namespace Blog.Core.Common.Helper
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.Helper
|
namespace Blog.Core.Common.Helper
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Blog.Core.Common.Helper
|
namespace Blog.Core.Common.Helper
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
using Newtonsoft.Json.Linq;
|
using System.IO;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using System;
|
namespace Blog.Core.Common.Helper
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.Helper
|
|
||||||
{
|
{
|
||||||
public static class HtmlHelper
|
public static class HtmlHelper
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.Helper
|
namespace Blog.Core.Common.Helper
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.Helper
|
namespace Blog.Core.Common.Helper
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common
|
namespace Blog.Core.Common
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.Helper
|
namespace Blog.Core.Common.Helper
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
namespace Blog.Core
|
namespace Blog.Core
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IdentityModel.Tokens.Jwt;
|
using System.IdentityModel.Tokens.Jwt;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.HttpRestSharp
|
namespace Blog.Core.Common.HttpRestSharp
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.HttpRestSharp
|
namespace Blog.Core.Common.HttpRestSharp
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
using RestSharp;
|
using RestSharp;
|
||||||
using RestSharp.Authenticators;
|
using RestSharp.Authenticators;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.HttpRestSharp
|
namespace Blog.Core.Common.HttpRestSharp
|
||||||
{
|
{
|
||||||
|
@ -101,6 +99,7 @@ namespace Blog.Core.Common.HttpRestSharp
|
||||||
/// });
|
/// });
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
[Obsolete]
|
||||||
public RestRequestAsyncHandle ExecuteAsync(IRestRequest request, Action<IRestResponse> callback)
|
public RestRequestAsyncHandle ExecuteAsync(IRestRequest request, Action<IRestResponse> callback)
|
||||||
{
|
{
|
||||||
request.DateFormat = string.IsNullOrEmpty(request.DateFormat) ? DefaultDateParameterFormat : request.DateFormat;
|
request.DateFormat = string.IsNullOrEmpty(request.DateFormat) ? DefaultDateParameterFormat : request.DateFormat;
|
||||||
|
@ -126,6 +125,7 @@ namespace Blog.Core.Common.HttpRestSharp
|
||||||
/// });
|
/// });
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
[Obsolete]
|
||||||
public RestRequestAsyncHandle ExecuteAsync<T>(IRestRequest request, Action<IRestResponse<T>> callback) where T : new()
|
public RestRequestAsyncHandle ExecuteAsync<T>(IRestRequest request, Action<IRestResponse<T>> callback) where T : new()
|
||||||
{
|
{
|
||||||
request.DateFormat = string.IsNullOrEmpty(request.DateFormat) ? DefaultDateParameterFormat : request.DateFormat;
|
request.DateFormat = string.IsNullOrEmpty(request.DateFormat) ? DefaultDateParameterFormat : request.DateFormat;
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using Blog.Core.Common.LogHelper;
|
using System.Threading.Tasks;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Hubs
|
namespace Blog.Core.Hubs
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using Blog.Core.Common.Helper;
|
using Newtonsoft.Json;
|
||||||
using Blog.Core.Hubs;
|
|
||||||
using Microsoft.AspNetCore.Hosting;
|
|
||||||
using Microsoft.AspNetCore.SignalR;
|
|
||||||
using Newtonsoft.Json;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.LogHelper
|
namespace Blog.Core.Common.LogHelper
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using Microsoft.Extensions.Logging;
|
using Serilog;
|
||||||
using Serilog;
|
|
||||||
using Serilog.Events;
|
using Serilog.Events;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
|
@ -3,9 +3,7 @@ using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Blog.Core.IRepository.Base
|
namespace Blog.Core.IRepository.Base
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
using Blog.Core.IRepository.Base;
|
using Blog.Core.IRepository.Base;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Linq.Expressions;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.IRepository
|
namespace Blog.Core.IRepository
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
using Blog.Core.IRepository.Base;
|
using Blog.Core.IRepository.Base;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.IRepository
|
namespace Blog.Core.IRepository
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
using Blog.Core.IRepository.Base;
|
using Blog.Core.IRepository.Base;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.IRepository
|
namespace Blog.Core.IRepository
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
using Blog.Core.IRepository.Base;
|
using Blog.Core.IRepository.Base;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.IRepository
|
namespace Blog.Core.IRepository
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
using Blog.Core.IRepository.Base;
|
using Blog.Core.IRepository.Base;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.IRepository
|
namespace Blog.Core.IRepository
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
using Blog.Core.IRepository.Base;
|
using Blog.Core.IRepository.Base;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.IRepository
|
namespace Blog.Core.IRepository
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
using System;
|
|
||||||
using Blog.Core.IRepository.Base;
|
using Blog.Core.IRepository.Base;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
|
|
||||||
namespace Blog.Core.FrameWork.IRepository
|
namespace Blog.Core.FrameWork.IRepository
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// IUserRoleRepository
|
/// IUserRoleRepository
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IUserRoleRepository : IBaseRepository<UserRole>//类名
|
public interface IUserRoleRepository : IBaseRepository<UserRole>//类名
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Blog.Core.IServices.BASE
|
namespace Blog.Core.IServices.BASE
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
using Blog.Core.IServices.BASE;
|
using Blog.Core.IServices.BASE;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Linq.Expressions;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.IServices
|
namespace Blog.Core.IServices
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
using Blog.Core.IServices.BASE;
|
using Blog.Core.IServices.BASE;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using Blog.Core.Model.ViewModels;
|
using Blog.Core.Model.ViewModels;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Blog.Core.IServices
|
namespace Blog.Core.IServices
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
using Blog.Core.IServices.BASE;
|
using Blog.Core.IServices.BASE;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.IServices
|
namespace Blog.Core.IServices
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
using Blog.Core.IServices.BASE;
|
using Blog.Core.IServices.BASE;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Blog.Core.IServices
|
namespace Blog.Core.IServices
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
using Blog.Core.IServices.BASE;
|
using Blog.Core.IServices.BASE;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Blog.Core.IServices
|
namespace Blog.Core.IServices
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using System;
|
namespace Blog.Core.Common.WebApiClients.HttpApis
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Common.WebApiClients.HttpApis
|
|
||||||
{
|
{
|
||||||
public class Data
|
public class Data
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using Blog.Core.Model;
|
using WebApiClient;
|
||||||
using Blog.Core.Model.Models;
|
|
||||||
using Blog.Core.Model.ViewModels;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using WebApiClient;
|
|
||||||
using WebApiClient.Attributes;
|
using WebApiClient.Attributes;
|
||||||
|
|
||||||
namespace Blog.Core.Common.WebApiClients.HttpApis
|
namespace Blog.Core.Common.WebApiClients.HttpApis
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
namespace Blog.Core.Model
|
||||||
|
|
||||||
namespace Blog.Core.Model
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 这是爱
|
/// 这是爱
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using System;
|
namespace Blog.Core.Model
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 通用返回信息类
|
/// 通用返回信息类
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
using SqlSugar;
|
namespace Blog.Core.Model.Models
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
|
||||||
{
|
{
|
||||||
|
|
||||||
public class TestMuchTableResult
|
public class TestMuchTableResult
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model
|
namespace Blog.Core.Model
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
using System;
|
using System.ComponentModel;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model
|
namespace Blog.Core.Model
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
using Blog.Core.Common;
|
|
||||||
using Blog.Core.Common.Helper;
|
|
||||||
using Blog.Core.Model.Models;
|
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
using Blog.Core.Common;
|
using Blog.Core.Common.DB;
|
||||||
using Blog.Core.Common.DB;
|
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.Models
|
namespace Blog.Core.Model.Models
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model
|
namespace Blog.Core.Model
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
namespace Blog.Core.Model.ViewModels
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
namespace Blog.Core.Model.ViewModels
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
namespace Blog.Core.Model.ViewModels
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
using System;
|
namespace Blog.Core.Model.ViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
|
||||||
{
|
{
|
||||||
public class LoginInfoViewModels
|
public class LoginInfoViewModels
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
using System;
|
namespace Blog.Core.Model.ViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
|
||||||
{
|
{
|
||||||
public class ModuleViewModels
|
public class ModuleViewModels
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
using System;
|
namespace Blog.Core.Model.ViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 服务器VM
|
/// 服务器VM
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
namespace Blog.Core.Model.ViewModels
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
namespace Blog.Core.Model.ViewModels
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using System;
|
namespace Blog.Core.Model.ViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用来测试 RestSharp Post 请求
|
/// 用来测试 RestSharp Post 请求
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
using System;
|
namespace Blog.Core.Model.ViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
|
||||||
{
|
{
|
||||||
public class TokenInfoViewModel
|
public class TokenInfoViewModel
|
||||||
{
|
{
|
||||||
public bool success { get; set; }
|
public bool success { get; set; }
|
||||||
public string token { get; set; }
|
public string token { get; set; }
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
using System;
|
namespace Blog.Core.Model.ViewModels
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Model.ViewModels
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 留言排名展示类
|
/// 留言排名展示类
|
||||||
|
|
|
@ -1,18 +1,14 @@
|
||||||
using Blog.Core.Common;
|
using Blog.Core.Common;
|
||||||
using Blog.Core.Common.DB;
|
using Blog.Core.Common.DB;
|
||||||
using Blog.Core.Common.LogHelper;
|
|
||||||
using Blog.Core.IRepository.Base;
|
using Blog.Core.IRepository.Base;
|
||||||
using Blog.Core.IRepository.UnitOfWork;
|
using Blog.Core.IRepository.UnitOfWork;
|
||||||
using Blog.Core.Model;
|
using Blog.Core.Model;
|
||||||
using Blog.Core.Model.Models;
|
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using StackExchange.Profiling;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Blog.Core.Repository.Base
|
namespace Blog.Core.Repository.Base
|
||||||
|
|
|
@ -5,8 +5,6 @@ using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using Blog.Core.IRepository.UnitOfWork;
|
using Blog.Core.IRepository.UnitOfWork;
|
||||||
using System.Linq.Expressions;
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace Blog.Core.Repository
|
namespace Blog.Core.Repository
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,13 +1,6 @@
|
||||||
using Blog.Core.Common;
|
using Blog.Core.IRepository.UnitOfWork;
|
||||||
using Blog.Core.Common.DB;
|
|
||||||
using Blog.Core.Common.LogHelper;
|
|
||||||
using Blog.Core.IRepository.UnitOfWork;
|
|
||||||
using SqlSugar;
|
using SqlSugar;
|
||||||
using StackExchange.Profiling;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.Repository.UnitOfWork
|
namespace Blog.Core.Repository.UnitOfWork
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,10 +1,4 @@
|
||||||
using System;
|
using Blog.Core.IRepository;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Linq.Expressions;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Blog.Core.IRepository;
|
|
||||||
using Blog.Core.IServices;
|
using Blog.Core.IServices;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using Blog.Core.Services.BASE;
|
using Blog.Core.Services.BASE;
|
||||||
|
|
|
@ -6,7 +6,6 @@ using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Blog.Core.Services.BASE
|
namespace Blog.Core.Services.BASE
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using AutoMapper;
|
using AutoMapper;
|
||||||
using Blog.Core.Common;
|
using Blog.Core.Common;
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
using System;
|
using Blog.Core.IRepository;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using Blog.Core.IRepository;
|
|
||||||
using Blog.Core.IServices;
|
using Blog.Core.IServices;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using Blog.Core.Services.BASE;
|
using Blog.Core.Services.BASE;
|
||||||
|
|
|
@ -6,8 +6,6 @@ using System.Threading.Tasks;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Blog.Core.Common;
|
using Blog.Core.Common;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Linq.Expressions;
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace Blog.Core.Services
|
namespace Blog.Core.Services
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Blog.Core.Common;
|
using Blog.Core.Common;
|
||||||
using Blog.Core.IRepository;
|
using Blog.Core.IRepository;
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
using System;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Blog.Core.Common;
|
using Blog.Core.Common;
|
||||||
using Blog.Core.IRepository;
|
using Blog.Core.IRepository;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
using Blog.Core.Common.Helper;
|
using Blog.Core.Common.Helper;
|
||||||
using Blog.Core.IServices;
|
using Blog.Core.IServices;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
using Blog.Core.Common.Helper;
|
using Blog.Core.Common.Helper;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
using Blog.Core.Common.LogHelper;
|
using Quartz;
|
||||||
using Quartz;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
using Blog.Core.Common;
|
using Blog.Core.Common;
|
||||||
using Blog.Core.Controllers;
|
using Blog.Core.Controllers;
|
||||||
using Blog.Core.IRepository;
|
|
||||||
using Blog.Core.IServices;
|
using Blog.Core.IServices;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using Moq;
|
using Moq;
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
using Blog.Core.Common;
|
|
||||||
using Blog.Core.Controllers;
|
using Blog.Core.Controllers;
|
||||||
using Blog.Core.IRepository;
|
|
||||||
using Blog.Core.IServices;
|
using Blog.Core.IServices;
|
||||||
using Blog.Core.Model.Models;
|
|
||||||
using Moq;
|
|
||||||
using Xunit;
|
using Xunit;
|
||||||
using System;
|
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
using Autofac;
|
using Autofac;
|
||||||
using Blog.Core.AuthHelper;
|
using Blog.Core.AuthHelper;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@ using Blog.Core.Common;
|
||||||
using Blog.Core.Common.DB;
|
using Blog.Core.Common.DB;
|
||||||
using Blog.Core.Common.LogHelper;
|
using Blog.Core.Common.LogHelper;
|
||||||
using Blog.Core.IServices;
|
using Blog.Core.IServices;
|
||||||
using Blog.Core.Model.Models;
|
|
||||||
using Blog.Core.Services;
|
using Blog.Core.Services;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
@ -16,7 +15,6 @@ using System.Reflection;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
using System;
|
using System;
|
||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using System.Configuration;
|
|
||||||
using Blog.Core.Common.AppConfig;
|
using Blog.Core.Common.AppConfig;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using Microsoft.IdentityModel.Tokens;
|
using Microsoft.IdentityModel.Tokens;
|
||||||
|
|
|
@ -1,12 +1,4 @@
|
||||||
using Blog.Core.Common;
|
|
||||||
using Blog.Core.Controllers;
|
|
||||||
using Blog.Core.IRepository;
|
|
||||||
using Blog.Core.IServices;
|
|
||||||
using Blog.Core.Model.Models;
|
|
||||||
using Moq;
|
|
||||||
using Xunit;
|
using Xunit;
|
||||||
using System;
|
|
||||||
using Autofac;
|
|
||||||
|
|
||||||
namespace Blog.Core.Tests
|
namespace Blog.Core.Tests
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,15 +1,8 @@
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
using System;
|
using System;
|
||||||
using Blog.Core.Repository.Base;
|
|
||||||
using Blog.Core.Repository;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Blog.Core.Common.DB;
|
|
||||||
using SqlSugar;
|
|
||||||
using Microsoft.AspNetCore.Hosting;
|
|
||||||
using Autofac;
|
using Autofac;
|
||||||
using Blog.Core.Common;
|
|
||||||
using Blog.Core.IServices;
|
|
||||||
using Blog.Core.IRepository;
|
using Blog.Core.IRepository;
|
||||||
|
|
||||||
namespace Blog.Core.Tests
|
namespace Blog.Core.Tests
|
||||||
|
|
|
@ -1,15 +1,8 @@
|
||||||
using Blog.Core.Common;
|
|
||||||
using Blog.Core.Controllers;
|
|
||||||
using Blog.Core.IRepository;
|
|
||||||
using Blog.Core.IServices;
|
using Blog.Core.IServices;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using Moq;
|
|
||||||
using Xunit;
|
using Xunit;
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Blog.Core.Services;
|
|
||||||
using AutoMapper;
|
|
||||||
using Blog.Core.Repository;
|
|
||||||
using Autofac;
|
using Autofac;
|
||||||
|
|
||||||
namespace Blog.Core.Tests
|
namespace Blog.Core.Tests
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
using Blog.Core.Common;
|
using Blog.Core.Common;
|
||||||
using Blog.Core.Common.MemoryCache;
|
using Blog.Core.Common.MemoryCache;
|
||||||
using Castle.DynamicProxy;
|
using Castle.DynamicProxy;
|
||||||
using System;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace Blog.Core.AOP
|
namespace Blog.Core.AOP
|
||||||
|
|
|
@ -1,17 +1,13 @@
|
||||||
using Blog.Core.Common.LogHelper;
|
using Blog.Core.Common.LogHelper;
|
||||||
using Blog.Core.Hubs;
|
using Blog.Core.Hubs;
|
||||||
using Blog.Core.Model.Models;
|
|
||||||
using Castle.DynamicProxy;
|
using Castle.DynamicProxy;
|
||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.SignalR;
|
using Microsoft.AspNetCore.SignalR;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using StackExchange.Profiling;
|
using StackExchange.Profiling;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Blog.Core.AOP
|
namespace Blog.Core.AOP
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
using Blog.Core.Common;
|
using Blog.Core.Common;
|
||||||
using Blog.Core.Common.LogHelper;
|
|
||||||
using Blog.Core.IRepository.UnitOfWork;
|
using Blog.Core.IRepository.UnitOfWork;
|
||||||
using Castle.DynamicProxy;
|
using Castle.DynamicProxy;
|
||||||
using Microsoft.AspNetCore.SignalR;
|
|
||||||
using StackExchange.Profiling;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
using Blog.Core.Common;
|
using Castle.DynamicProxy;
|
||||||
using Blog.Core.Common.MemoryCache;
|
|
||||||
using Castle.DynamicProxy;
|
|
||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.AOP
|
namespace Blog.Core.AOP
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Security.Claims;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Blog.Core.AuthHelper.OverWrite;
|
using Blog.Core.AuthHelper.OverWrite;
|
||||||
using Microsoft.AspNetCore.Builder;
|
|
||||||
|
|
||||||
namespace Blog.Core.AuthHelper
|
namespace Blog.Core.AuthHelper
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
using Blog.Core.Model;
|
using Blog.Core.Model;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Blog.Core.AuthHelper.Policys
|
namespace Blog.Core.AuthHelper.Policys
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,9 +3,7 @@ using Blog.Core.IServices;
|
||||||
using Microsoft.AspNetCore.Authentication;
|
using Microsoft.AspNetCore.Authentication;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Newtonsoft.Json;
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
|
@ -63,6 +63,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<None Include="..\.editorconfig" Link=".editorconfig" />
|
||||||
<None Include="wwwroot\BlogCore.Data.json\BlogArticle.tsv" />
|
<None Include="wwwroot\BlogCore.Data.json\BlogArticle.tsv" />
|
||||||
<None Include="wwwroot\BlogCore.Data.json\Module.tsv" />
|
<None Include="wwwroot\BlogCore.Data.json\Module.tsv" />
|
||||||
<None Include="wwwroot\BlogCore.Data.json\Permission.tsv" />
|
<None Include="wwwroot\BlogCore.Data.json\Permission.tsv" />
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Linq.Expressions;
|
using System.Linq.Expressions;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Blog.Core.Common;
|
|
||||||
using Blog.Core.Common.Helper;
|
using Blog.Core.Common.Helper;
|
||||||
using Blog.Core.IServices;
|
using Blog.Core.IServices;
|
||||||
using Blog.Core.Model;
|
using Blog.Core.Model;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
using Blog.Core.Common.DB;
|
using Blog.Core.Common.DB;
|
||||||
using Blog.Core.Model;
|
using Blog.Core.Model;
|
||||||
using Blog.Core.Model.Models;
|
using Blog.Core.Model.Models;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
|
||||||
using Microsoft.AspNetCore.Hosting;
|
using Microsoft.AspNetCore.Hosting;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
|
|
|
@ -8,7 +8,6 @@ using Microsoft.Extensions.Hosting;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq.Expressions;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Blog.Core.Controllers
|
namespace Blog.Core.Controllers
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user