项目改名
This commit is contained in:
parent
3dafcc97fc
commit
413bf90e41
@ -1,6 +1,6 @@
|
|||||||
using Furion.HttpRemote;
|
using Furion.HttpRemote;
|
||||||
|
|
||||||
namespace Easy.Admin.Application;
|
namespace YD_Event.Application;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 第三方API调用
|
/// 第三方API调用
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace Easy.Admin.Application;
|
namespace YD_Event.Application;
|
||||||
|
|
||||||
public class BaseResponseDto
|
public class BaseResponseDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace Easy.Admin.Application;
|
namespace YD_Event.Application;
|
||||||
|
|
||||||
public class KeywordsResponseDto : BaseResponseDto
|
public class KeywordsResponseDto : BaseResponseDto
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Auth;
|
namespace YD_Event.Application.Auth;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用户授权信息
|
/// 用户授权信息
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using Easy.Admin.Application.Auth.Dtos;
|
using YD_Event.Application.Auth.Dtos;
|
||||||
using Easy.Admin.Application.Config;
|
using YD_Event.Application.Config;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Auth;
|
namespace YD_Event.Application.Auth;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 用户授权
|
/// 用户授权
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Auth.Dtos;
|
namespace YD_Event.Application.Auth.Dtos;
|
||||||
|
|
||||||
public class AdminLoginInput
|
public class AdminLoginInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application;
|
namespace YD_Event.Application;
|
||||||
|
|
||||||
public abstract class BaseService<TEntity> : IDynamicApiController where TEntity : Entity<long>, ISoftDelete, IAvailability, new()
|
public abstract class BaseService<TEntity> : IDynamicApiController where TEntity : Entity<long>, ISoftDelete, IAvailability, new()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Easy.Admin.Application.Blog.Dtos;
|
using YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Blog;
|
namespace YD_Event.Application.Blog;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 相册管理
|
/// 相册管理
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog;
|
namespace YD_Event.Application.Blog;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文章所属栏目管理
|
/// 文章所属栏目管理
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Easy.Admin.Application.Blog.Dtos;
|
using YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Blog;
|
namespace YD_Event.Application.Blog;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文章管理
|
/// 文章管理
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Easy.Admin.Application.Blog.Dtos;
|
using YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Blog;
|
namespace YD_Event.Application.Blog;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文章栏目管理
|
/// 文章栏目管理
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class AddAlbumsInput
|
public class AddAlbumsInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class AddArticleInput
|
public class AddArticleInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class AddCategoryInput
|
public class AddCategoryInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class AddFriendLinkInput
|
public class AddFriendLinkInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class AddPictureInput
|
public class AddPictureInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class AddTagInput
|
public class AddTagInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class AddTalksInput
|
public class AddTalksInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class AlbumsPageOutput
|
public class AlbumsPageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class AlbumsPageQueryInput : Pagination
|
public class AlbumsPageQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class ArticleDetailOutput
|
public class ArticleDetailOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class ArticlePageOutput
|
public class ArticlePageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class ArticlePageQueryInput : Pagination
|
public class ArticlePageQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class BatchAddPictureInput
|
public class BatchAddPictureInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class CategoryPageOutput
|
public class CategoryPageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class FriendLinkPageOutput
|
public class FriendLinkPageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class FriendLinkPageQueryInput : Pagination
|
public class FriendLinkPageQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class Mapper : IRegister
|
public class Mapper : IRegister
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class PicturesPageOutput
|
public class PicturesPageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class PicturesPageQueryInput : Pagination
|
public class PicturesPageQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class TagsPageOutput
|
public class TagsPageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class TagsPageQueryInput : Pagination
|
public class TagsPageQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class TalksPageOutput
|
public class TalksPageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class TalksPageQueryInput : Pagination
|
public class TalksPageQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class UpdateAlbumsInput : AddAlbumsInput
|
public class UpdateAlbumsInput : AddAlbumsInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class UpdateArticleInput : AddArticleInput
|
public class UpdateArticleInput : AddArticleInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class UpdateCategoryInput : AddCategoryInput
|
public class UpdateCategoryInput : AddCategoryInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class UpdateFriendLinkInput : AddFriendLinkInput
|
public class UpdateFriendLinkInput : AddFriendLinkInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class UpdateTagInput : AddTagInput
|
public class UpdateTagInput : AddTagInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Blog.Dtos;
|
namespace YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
public class UpdateTalksInput : AddTalksInput
|
public class UpdateTalksInput : AddTalksInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Easy.Admin.Application.Blog.Dtos;
|
using YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Blog;
|
namespace YD_Event.Application.Blog;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 友情链接
|
/// 友情链接
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using Easy.Admin.Application.Auth;
|
using YD_Event.Application.Auth;
|
||||||
using Easy.Admin.Application.Blog.Dtos;
|
using YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Blog;
|
namespace YD_Event.Application.Blog;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 相册图片管理
|
/// 相册图片管理
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Easy.Admin.Application.Blog.Dtos;
|
using YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Blog;
|
namespace YD_Event.Application.Blog;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 文章标签管理
|
/// 文章标签管理
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using Easy.Admin.Application.Auth;
|
using YD_Event.Application.Auth;
|
||||||
using Easy.Admin.Application.Blog.Dtos;
|
using YD_Event.Application.Blog.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Blog;
|
namespace YD_Event.Application.Blog;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 说说管理
|
/// 说说管理
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using Easy.Admin.Application.Client.Dtos;
|
using YD_Event.Application.Client.Dtos;
|
||||||
using Furion.UnifyResult;
|
using Furion.UnifyResult;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Client;
|
namespace YD_Event.Application.Client;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 相册
|
/// 相册
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
using Easy.Admin.Application.Auth;
|
using YD_Event.Application.Auth;
|
||||||
using Easy.Admin.Application.Client.Dtos;
|
using YD_Event.Application.Client.Dtos;
|
||||||
using Easy.Admin.Application.Config;
|
using YD_Event.Application.Config;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Client;
|
namespace YD_Event.Application.Client;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 博客基本信息
|
/// 博客基本信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
using Easy.Admin.Application.Auth;
|
using YD_Event.Application.Auth;
|
||||||
using Easy.Admin.Application.Client.Dtos;
|
using YD_Event.Application.Client.Dtos;
|
||||||
using Furion.UnifyResult;
|
using Furion.UnifyResult;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Client;
|
namespace YD_Event.Application.Client;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 博客文章
|
/// 博客文章
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using Easy.Admin.Application.Auth;
|
using YD_Event.Application.Auth;
|
||||||
using Easy.Admin.Application.Client.Dtos;
|
using YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Client;
|
namespace YD_Event.Application.Client;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 评论
|
/// 评论
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class AddCommentInput
|
public class AddCommentInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class AddLinkOutput
|
public class AddLinkOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class AlbumsOutput
|
public class AlbumsOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class ArticleBasicsOutput
|
public class ArticleBasicsOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class ArticleInfoOutput
|
public class ArticleInfoOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class ArticleListQueryInput : Pagination
|
public class ArticleListQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class ArticleOutput
|
public class ArticleOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class ArticleReportOutput
|
public class ArticleReportOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class BlogOutput
|
public class BlogOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class CategoryOutput
|
public class CategoryOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class CommentOutput
|
public class CommentOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class CommentPageQueryInput : Pagination
|
public class CommentPageQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class FriendLinkOutput
|
public class FriendLinkOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class OAuthAccountDetailOutput
|
public class OAuthAccountDetailOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class PictureOutput
|
public class PictureOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class PicturesQueryInput : Pagination
|
public class PicturesQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class ReplyOutput
|
public class ReplyOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class TagsOutput
|
public class TagsOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class TalkDetailOutput : TalksOutput
|
public class TalkDetailOutput : TalksOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Client.Dtos;
|
namespace YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
public class TalksOutput
|
public class TalksOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
using Easy.Admin.Application.Auth;
|
using YD_Event.Application.Auth;
|
||||||
using Easy.Admin.Application.Client.Dtos;
|
using YD_Event.Application.Client.Dtos;
|
||||||
using MrHuo.OAuth.QQ;
|
using MrHuo.OAuth.QQ;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Client;
|
namespace YD_Event.Application.Client;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 第三方授权登录
|
/// 第三方授权登录
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
using Easy.Admin.Application.Auth;
|
using YD_Event.Application.Auth;
|
||||||
using Easy.Admin.Application.Client.Dtos;
|
using YD_Event.Application.Client.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Client;
|
namespace YD_Event.Application.Client;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 博客说说
|
/// 博客说说
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Easy.Admin.Application.Config.Dtos;
|
using YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Config;
|
namespace YD_Event.Application.Config;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 自定义配置项
|
/// 自定义配置项
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
using Easy.Admin.Application.Config.Dtos;
|
using YD_Event.Application.Config.Dtos;
|
||||||
using Furion.ViewEngine;
|
using Furion.ViewEngine;
|
||||||
using Microsoft.AspNetCore.Hosting;
|
using Microsoft.AspNetCore.Hosting;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Config;
|
namespace YD_Event.Application.Config;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 自定义配置业务
|
/// 自定义配置业务
|
||||||
@ -252,7 +252,7 @@ public class CustomConfigService : BaseService<CustomConfig>, ITransient
|
|||||||
|
|
||||||
string className = await _customConfigRepository.AsQueryable().Where(x => x.Id == dto.Id).Select(x => x.Code).FirstAsync();
|
string className = await _customConfigRepository.AsQueryable().Where(x => x.Id == dto.Id).Select(x => x.Code).FirstAsync();
|
||||||
if (className == null) throw Oops.Oh("无效参数");
|
if (className == null) throw Oops.Oh("无效参数");
|
||||||
string path = Path.Combine(_environment.ContentRootPath.Replace(_environment.ApplicationName, ""), "Easy.Admin.Core/Config", $"{className}.cs");
|
string path = Path.Combine(_environment.ContentRootPath.Replace(_environment.ApplicationName, ""), "YD_Event.Core/Config", $"{className}.cs");
|
||||||
if (System.IO.File.Exists(path))
|
if (System.IO.File.Exists(path))
|
||||||
{
|
{
|
||||||
System.IO.File.Delete(path);
|
System.IO.File.Delete(path);
|
||||||
@ -349,7 +349,7 @@ public class CustomConfigService : BaseService<CustomConfig>, ITransient
|
|||||||
string template = @"
|
string template = @"
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
namespace Easy.Admin.Core.Config;
|
namespace YD_Event.Core.Config;
|
||||||
public class @Model.ClassName
|
public class @Model.ClassName
|
||||||
{@foreach(var item in Model.Items)
|
{@foreach(var item in Model.Items)
|
||||||
{
|
{
|
||||||
@ -359,7 +359,7 @@ public class @Model.ClassName
|
|||||||
}
|
}
|
||||||
";
|
";
|
||||||
string content = await _viewEngine.RunCompileFromCachedAsync(template, new { ClassName = className, Items = fields });
|
string content = await _viewEngine.RunCompileFromCachedAsync(template, new { ClassName = className, Items = fields });
|
||||||
string path = Path.Combine(_environment.ContentRootPath.Replace(_environment.ApplicationName, ""), "Easy.Admin.Core/Config");
|
string path = Path.Combine(_environment.ContentRootPath.Replace(_environment.ApplicationName, ""), "YD_Event.Core/Config");
|
||||||
if (!Directory.Exists(path))
|
if (!Directory.Exists(path))
|
||||||
{
|
{
|
||||||
Directory.CreateDirectory(path);
|
Directory.CreateDirectory(path);
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Config.Dtos;
|
namespace YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
public class AddCustomConfigInput
|
public class AddCustomConfigInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Config.Dtos;
|
namespace YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
public class AddCustomConfigItemInput
|
public class AddCustomConfigItemInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Config.Dtos;
|
namespace YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
public class CustomConfigDetailOutput
|
public class CustomConfigDetailOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Config.Dtos;
|
namespace YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
public class CustomConfigItemQueryInput : Pagination
|
public class CustomConfigItemQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Config.Dtos;
|
namespace YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
public class CustomConfigPageOutput
|
public class CustomConfigPageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Config.Dtos;
|
namespace YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
public class CustomConfigQueryInput : Pagination
|
public class CustomConfigQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Config.Dtos;
|
namespace YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
public class CustomConfigSetJsonInput
|
public class CustomConfigSetJsonInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Config.Dtos;
|
namespace YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
public class CustomControl
|
public class CustomControl
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Config.Dtos;
|
namespace YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
public class UpdateCustomConfigInput : AddCustomConfigInput
|
public class UpdateCustomConfigInput : AddCustomConfigInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Config.Dtos;
|
namespace YD_Event.Application.Config.Dtos;
|
||||||
|
|
||||||
public class UpdateCustomConfigItemInput : AddCustomConfigItemInput
|
public class UpdateCustomConfigItemInput : AddCustomConfigItemInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.File.Dtos;
|
namespace YD_Event.Application.File.Dtos;
|
||||||
|
|
||||||
public class UploadFileOutput
|
public class UploadFileOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
using Easy.Admin.Application.File.Dtos;
|
using YD_Event.Application.File.Dtos;
|
||||||
using Easy.Admin.Core.Options;
|
using YD_Event.Core.Options;
|
||||||
using Microsoft.AspNetCore.Hosting;
|
using Microsoft.AspNetCore.Hosting;
|
||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
using OnceMi.AspNetCore.OSS;
|
using OnceMi.AspNetCore.OSS;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.File;
|
namespace YD_Event.Application.File;
|
||||||
|
|
||||||
public class FileService : IDynamicApiController, ITransient
|
public class FileService : IDynamicApiController, ITransient
|
||||||
{
|
{
|
||||||
|
|||||||
@ -13,19 +13,19 @@ global using Microsoft.AspNetCore.Mvc;
|
|||||||
global using Microsoft.CodeAnalysis;
|
global using Microsoft.CodeAnalysis;
|
||||||
global using System.ComponentModel.DataAnnotations;
|
global using System.ComponentModel.DataAnnotations;
|
||||||
global using SqlSugar;
|
global using SqlSugar;
|
||||||
global using Easy.Admin.Core.Entities;
|
global using YD_Event.Core.Entities;
|
||||||
global using Yitter.IdGenerator;
|
global using Yitter.IdGenerator;
|
||||||
global using Easy.Admin.Core.Enum;
|
global using YD_Event.Core.Enum;
|
||||||
global using Easy.Core;
|
global using Easy.Core;
|
||||||
global using System.Linq;
|
global using System.Linq;
|
||||||
global using Furion.DatabaseAccessor;
|
global using Furion.DatabaseAccessor;
|
||||||
global using System.ComponentModel;
|
global using System.ComponentModel;
|
||||||
global using Easy.Admin.Core.Shared;
|
global using YD_Event.Core.Shared;
|
||||||
global using EasyCaching.Core;
|
global using EasyCaching.Core;
|
||||||
global using Easy.Admin.Core.Const;
|
global using YD_Event.Core.Const;
|
||||||
global using Lazy.Captcha.Core;
|
global using Lazy.Captcha.Core;
|
||||||
global using System.Collections;
|
global using System.Collections;
|
||||||
global using Newtonsoft.Json;
|
global using Newtonsoft.Json;
|
||||||
global using Newtonsoft.Json.Linq;
|
global using Newtonsoft.Json.Linq;
|
||||||
global using System.Text.RegularExpressions;
|
global using System.Text.RegularExpressions;
|
||||||
global using Easy.Admin.Core.Config;
|
global using YD_Event.Core.Config;
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Logging.Dtos;
|
namespace YD_Event.Application.Logging.Dtos;
|
||||||
|
|
||||||
public class LogPageQueryInput : Pagination
|
public class LogPageQueryInput : Pagination
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Logging.Dtos;
|
namespace YD_Event.Application.Logging.Dtos;
|
||||||
|
|
||||||
public class OperationLogPageOutput
|
public class OperationLogPageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Logging.Dtos;
|
namespace YD_Event.Application.Logging.Dtos;
|
||||||
|
|
||||||
public class SigninLogPageOutput
|
public class SigninLogPageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Easy.Admin.Application.Logging.Dtos;
|
using YD_Event.Application.Logging.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Logging;
|
namespace YD_Event.Application.Logging;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 操作日志
|
/// 操作日志
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
using Easy.Admin.Application.Logging.Dtos;
|
using YD_Event.Application.Logging.Dtos;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Logging;
|
namespace YD_Event.Application.Logging;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 登录日志
|
/// 登录日志
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Menu.Dtos;
|
namespace YD_Event.Application.Menu.Dtos;
|
||||||
|
|
||||||
public class AddSysMenuInput
|
public class AddSysMenuInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Menu.Dtos;
|
namespace YD_Event.Application.Menu.Dtos;
|
||||||
|
|
||||||
public class CheckPermissionOutput
|
public class CheckPermissionOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Menu.Dtos;
|
namespace YD_Event.Application.Menu.Dtos;
|
||||||
|
|
||||||
public class Mapper : IRegister
|
public class Mapper : IRegister
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Menu.Dtos;
|
namespace YD_Event.Application.Menu.Dtos;
|
||||||
|
|
||||||
public class RouterMetaOutput
|
public class RouterMetaOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Menu.Dtos;
|
namespace YD_Event.Application.Menu.Dtos;
|
||||||
|
|
||||||
public class RouterOutput
|
public class RouterOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Menu.Dtos;
|
namespace YD_Event.Application.Menu.Dtos;
|
||||||
|
|
||||||
public class SysMenuDetailOutput
|
public class SysMenuDetailOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Menu.Dtos;
|
namespace YD_Event.Application.Menu.Dtos;
|
||||||
|
|
||||||
public class SysMenuPageOutput
|
public class SysMenuPageOutput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Menu.Dtos;
|
namespace YD_Event.Application.Menu.Dtos;
|
||||||
|
|
||||||
public class UpdateSysMenuInput : AddSysMenuInput
|
public class UpdateSysMenuInput : AddSysMenuInput
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
using Easy.Admin.Application.Auth;
|
using YD_Event.Application.Auth;
|
||||||
using Easy.Admin.Application.Menu.Dtos;
|
using YD_Event.Application.Menu.Dtos;
|
||||||
using Microsoft.OpenApi;
|
using Microsoft.OpenApi;
|
||||||
|
|
||||||
namespace Easy.Admin.Application.Menu;
|
namespace YD_Event.Application.Menu;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 系统菜单管理
|
/// 系统菜单管理
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
namespace Easy.Admin.Application.Organization.Dtos;
|
namespace YD_Event.Application.Organization.Dtos;
|
||||||
|
|
||||||
public class AddOrgInput
|
public class AddOrgInput
|
||||||
{
|
{
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user