chore: 构建稳定版本
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Bbs.Domain.Shared.Consts
|
||||
{
|
||||
/// <summary>
|
||||
/// 常量定义
|
||||
/// </summary>
|
||||
|
||||
public class ArticleConst
|
||||
{
|
||||
public const string No_Exist = "传入的文章id不存在";
|
||||
|
||||
public const string No_Permission = "该文章无权限";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Bbs.Domain.Shared.Consts
|
||||
{
|
||||
/// <summary>
|
||||
/// 常量定义
|
||||
/// </summary>
|
||||
|
||||
public class CommentConst
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Bbs.Domain.Shared.Consts
|
||||
{
|
||||
/// <summary>
|
||||
/// 常量定义
|
||||
/// </summary>
|
||||
|
||||
public class DiscussConst
|
||||
{
|
||||
public const string No_Exist = "传入的主题id不存在";
|
||||
|
||||
public const string Privacy = "【私密】您无该主题权限,可联系作者申请开放";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Bbs.Domain.Shared.Consts
|
||||
{
|
||||
/// <summary>
|
||||
/// 常量定义
|
||||
/// </summary>
|
||||
|
||||
public class LabelConst
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Bbs.Domain.Shared.Consts
|
||||
{
|
||||
/// <summary>
|
||||
/// 常量定义
|
||||
/// </summary>
|
||||
|
||||
public class PlateConst
|
||||
{
|
||||
public const string No_Exist = "传入的板块id不存在";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Bbs.Domain.Shared.Enums
|
||||
{
|
||||
public enum DiscussPermissionTypeEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 默认:公开
|
||||
/// </summary>
|
||||
Public = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 仅自己可见
|
||||
/// </summary>
|
||||
Oneself,
|
||||
|
||||
/// <summary>
|
||||
/// 部分用户可见
|
||||
/// </summary>
|
||||
User
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Yi.Framework.Bbs.Domain.Shared.Enums
|
||||
{
|
||||
public enum QueryDiscussTypeEnum
|
||||
{
|
||||
New,
|
||||
Suggest,
|
||||
Host
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Import Project="..\..\..\common.props" />
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\rbac\Yi.Framework.Rbac.Domain.Shared\Yi.Framework.Rbac.Domain.Shared.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Yi.Framework.Bbs.Domain.Shared</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Yi.Framework.Bbs.Domain.Shared.Consts.ArticleConst">
|
||||
<summary>
|
||||
常量定义
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Yi.Framework.Bbs.Domain.Shared.Consts.CommentConst">
|
||||
<summary>
|
||||
常量定义
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Yi.Framework.Bbs.Domain.Shared.Consts.DiscussConst">
|
||||
<summary>
|
||||
常量定义
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Yi.Framework.Bbs.Domain.Shared.Consts.LabelConst">
|
||||
<summary>
|
||||
常量定义
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Yi.Framework.Bbs.Domain.Shared.Consts.PlateConst">
|
||||
<summary>
|
||||
常量定义
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Yi.Framework.Bbs.Domain.Shared.Enums.DiscussPermissionTypeEnum.Public">
|
||||
<summary>
|
||||
默认:公开
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Yi.Framework.Bbs.Domain.Shared.Enums.DiscussPermissionTypeEnum.Oneself">
|
||||
<summary>
|
||||
仅自己可见
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Yi.Framework.Bbs.Domain.Shared.Enums.DiscussPermissionTypeEnum.User">
|
||||
<summary>
|
||||
部分用户可见
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
@@ -0,0 +1,12 @@
|
||||
using Volo.Abp.Modularity;
|
||||
using Yi.Framework.Rbac.Domain.Shared;
|
||||
|
||||
namespace Yi.Framework.Bbs.Domain.Shared
|
||||
{
|
||||
[DependsOn(
|
||||
typeof(YiFrameworkRbacDomainSharedModule))]
|
||||
public class YiFrameworkBbsDomainSharedModule : AbpModule
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user