|
@@ -291,7 +291,7 @@ public abstract class SnapshotApplicationBase
|
|
|
/// 获取随手拍小程序公告
|
|
|
/// </summary>
|
|
|
/// <returns></returns>
|
|
|
- public async Task<IReadOnlyList<BulletinOutDto>> GetBulletinsAsync(BulletinInDto dto, CancellationToken cancellationToken)
|
|
|
+ public async Task<IReadOnlyList<BulletinListOutDto>> GetBulletinsAsync(BulletinInDto dto, CancellationToken cancellationToken)
|
|
|
{
|
|
|
var items = await _bulletinRepository.Queryable()
|
|
|
.Where(m => m.BulletinState == EBulletinState.ReviewPass && m.IsArrive == true)
|
|
@@ -299,7 +299,7 @@ public abstract class SnapshotApplicationBase
|
|
|
.Where((bulletin, industry) => industry.Id == dto.IndustryId)
|
|
|
.ToFixedListAsync(dto, cancellationToken);
|
|
|
|
|
|
- return items.Adapt<IReadOnlyList<BulletinOutDto>>();
|
|
|
+ return items.Adapt<IReadOnlyList<BulletinListOutDto>>();
|
|
|
}
|
|
|
|
|
|
/// <summary>
|