Merge branch 'abp' of https://gitee.com/ccnetcore/Yi into abp
This commit is contained in:
@@ -56,11 +56,10 @@ App移动端系统:已上线,暂不提供演示地址,可本地部署访
|
||||
****
|
||||
### 详细到爆炸的Yi框架教程导航:
|
||||
|
||||
1. [框架快速开始](https://ccnetcore.com/article/1641733850189139969)(已完成)
|
||||
2. [框架模块教程](https://ccnetcore.com/article/1641733991574933505)(已完成)
|
||||
3. [应用模块教程](https://ccnetcore.com/article/1641734073091231745)
|
||||
4. [Yi.RBAC后台系统](https://ccnetcore.com/article/1641734171128893441)
|
||||
5. [Yi.BBS社区系统](https://ccnetcore.com/article/1641734308475572225)
|
||||
1. [框架快速开始教程](https://ccnetcore.com/article/aaa00329-7f35-d3fe-d258-3a0f8380b742)(已完成)
|
||||
2. [框架功能模块教程](https://ccnetcore.com/article/8c464ab3-8ba5-2761-a4b0-3a0f83a9f312)(已完成)
|
||||
3. [实战演练开发教程](https://ccnetcore.com/article/e89c9593-f337-ada7-d108-3a0f83ae48e6)
|
||||
|
||||
|
||||
****
|
||||
### 它的理念:
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace Yi.Framework.Bbs.Application.Services
|
||||
var items = await _forumManager._discussRepository._DbQueryable
|
||||
.WhereIF(!string.IsNullOrEmpty(input.Title), x => x.Title.Contains(input.Title))
|
||||
.WhereIF(input.PlateId is not null, x => x.PlateId == input.PlateId)
|
||||
.Where(x => x.IsTop == input.IsTop)
|
||||
.WhereIF(input.IsTop==true, x => x.IsTop == input.IsTop)
|
||||
|
||||
.LeftJoin<UserEntity>((discuss, user) => discuss.CreatorId == user.Id)
|
||||
.OrderByIF(input.Type == QueryDiscussTypeEnum.New, discuss => discuss.CreationTime, OrderByType.Desc)
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="logs\" />
|
||||
<Folder Include="wwwroot\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -15,10 +15,10 @@ export function add(data) {
|
||||
});
|
||||
}
|
||||
|
||||
export function del(code) {
|
||||
export function del(id) {
|
||||
return request({
|
||||
url: `/comment`,
|
||||
method: "delete",
|
||||
data: "string" == typeof code ? [code] : code,
|
||||
params: {id:id},
|
||||
});
|
||||
}
|
||||
|
||||
@@ -12,5 +12,3 @@
|
||||
在具备get与set方法的属性上,打上Autowired特性即可,在该类被注入时候,该属性会在容器中寻找并且赋值
|
||||
|
||||
我们的实现方式,是通过AutoFac的模块,你需要在启动的Host中添加autofac的属性注入模块:
|
||||
``` cs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user